Professional Documents
Culture Documents
EASIE Weblogic Plugin Installation: Weblogic Server Development With Eclipse: Part 1
EASIE Weblogic Plugin Installation: Weblogic Server Development With Eclipse: Part 1
Genuitec, L.L.C.
March 2002
This article introduces practical J2EE server-side development techniques using Eclipse
with Weblogic Server 6.X and 7.0. In part one of this two part article, we demonstrate
how to install, configure, and run the EASIE Weblogic Plugin for Eclipse in preparation to
perform J2EE server-side development. In part two we will demonstrate how to execute
and debug an example EJB within an Eclipse-Weblogic local debug context.
Introduction
Genuitec recently released the EASIE Weblogic Plugin. It was the first in a series of application
and web server plugins for the Eclipse 2.0 IDE. This product extends the Eclipse IDE to include
user controls for managing a Weblogic Server 6.X or 7.0 instance from within Eclipse runtime and
debug contexts. The plugin is built on top of Genuitec’s Eclipse Application Server Integration
Environment, (EASIE™), a framework for interfacing Eclipse with Java/J2EE application servers.
In this article, we demonstrate how to install, configure, and run the EASIE Weblogic Plugin for
Eclipse.
Software Version
Java JDK Sun JDK 1.4 rc0 or greater
BEA Weblogic Server Version 6.0 or greater
Version 7.0beta
Eclipse IDE Version 2.0 (pre-release) Build 20020125 or
later
Figure 1
Select ‘OK’ to activate enable the plugin. When activated the plugin installs a Weblogic menu
to the Eclipse menubar and start and stop icons to the Eclipse toolbar.
Figure 2
Figure 3
Please consult the resources at the end of this article for references to a comprehensive
description of each configuration property.
When WLS starts correctly, you should observe console output with a log entry stating “Started
Weblogic Admin Server …”. You will also notice a number of new threads have been created
as children under for the weblogic.Server program. weblogic.Server is the Java startup
class for running Weblogic.
Pay close attention to the console output when Weblogic fails to startup. Two of the most
common reasons for startup failures are: 1) no login configuration available to JDK 1.4 and 2) the
port is already bound to another process. If you experience a security exception with an error
message stating that the JVM is unable to locate a login configuration refer to the resource,
“Weblogic 6.1 – JDK 1.4 Login Configuration” for the resolution. If the port is already bound,
either reconfigure your Weblogic Plugin to launch Weblogic on a different port or terminate the
process using the port.
Figure 4
Conclusion
If you followed these EASIE Weblogic Plugin installation and configuration steps you should have
no problems starting and stopping Weblogic Server from within Eclipse. If problems still persist
visit the Genuitec website and subscribe to the EASIE Plugins mail-list and consult the resources
section of this article. In part two we will demonstrate how to deploy an EJB to a Weblogic Server
instance managed by the EASIE Weblogic Plugin and how to debug an EJB from within Eclipse.
Until next time happy programming.
Resources
• The Eclipse.org website to learn more about the Eclipse IDE.
• See the BEA website for information on downloading an evaluation version of Weblogic
Server.
• The EASIE Weblogic Plugin may be downloaded from the Genuitec website.
• The technical note Weblogic 6.1 - JDK 1.4 Login Configuration describes the Sun JDK
1.4 JVM requirement for, and configuration of, a JAAS login configuration in order to run
Weblogic Server 6.1.
• The Weblogic Administration Guide defines the Weblogic Server architecture and
configuration details.
• The EASIE Overview introduces the Genuitec EASIE framework for Eclipse application
Server plugins.