Log in / create account Article Discussion Edit History Go to the site toolbox

Setup Eclipse 3.2, MyEclipse 5.1 and JBoss 4.0.5

From BluWiki

1. Set up Eclipse Integrated Development Environment (IDE) with JBOSS as our application server
http://www.eclipse.org/downloads/index.php and download the binary for the Eclipse editor, download the appropriate binary for your platform. Using Linux (Red Hat 8.0) as the operating system, ours is Microsoft Windows. Unzip to home directory, which is called "Eclipse".

Note : Eclipse does not include a Java runtime environment (JRE). You will need at least a 1.3 level Java runtime or Java development kit (JDK) installed on your machine in order to run Eclipse.

2. Install JBOSS.
Now Eclipse is installed and is running on your workstation, let's install JBOSS. Using JBOSS-3.2.1 with the built-in 'Jetty' JBOSSWeb HTTP sever. Zip file includes JBossWeb HTTP server and JSP/Servlet engine, EJB, CMP2.0, JCA, IIOP, Clustering, JTS, JMX.

Note : JBOSS does not include a Java runtime environment (JRE).

Before you run JBOSS, in order to check your installation of JBOSS, make sure have you have following environment variables set.

    JBOSS_HOME: /opt/jboss/jboss-3.2.1 
    JAVA_HOME: /usr/java/j2sdk1.4.1_02
    CLASSPATH: /usr/java/j2sdk1.4.1_02/lib/tools.jar

3. Configure JBOSS from within the eclipse IDE.

In order to test JBOSS is running correctly, go to your web browser and access this url 'http://localhost:8080/jmx-console/index.jsp'.









  • Download JBoss 4.0.5 GA from www.jboss.com
  • Install/unzip to chosen directory (JBOSS_HOME)
  • Duplicate server/default as server/matrix
  • Remove server/matrix/deploy/jms/hsqldb-jdbc2-service.xml
  • Install Eclipse-SDK-3.2.1-win32 and MyEclipse 5.1 (MyEclipseEnterpriseWorkbenchInstaller_5.1.0GA_E3.2.1)
    • Add an archived update site to Eclipse in order to install MyEclipse from the zip file
  • Make sure your JRE is pointing to a full JDK
  • Add JBOSS_HOME classpath variable. Open Eclipse, Window, References, then Java->build Path.
  • Update MyEclipse JBoss Home Directory (Window -> Reference ->MyEclipse -> Application Servers -> JBoss 4)
  • Add CVS Repository at snoopy:/source/cvsrep
  • Checkout fusion, FusionApp, NotificationDirectorBean and reactor from CVS
  • Add General -> Workspace -> Linked Resources: WORKSPACE_DIR
  • For Fusion
    • Copy the following to $JBOSS_HOME/server/matrix/lib:
      • ojdbc14.jar
    • Copy the following from $JBOSS_HOME/server/all/lib to $JBOSS_HOME/server/matrix/lib:
      • jboss-cache.jar
      • jgroups.jar
    • In fusion/config/base:
      • Edit config.properties
      • Run ant config-dev -Djboss.server.dir=c:/jboss-4.0.5.GA/server/matrix
  • For Reactor
    • In reactor/properties/reactor.xml
      • Update Workspace
      • DBReverseFactory parameters
  • Create a Run profile for com.momentx.reactor.gen.Reactor with the argument '-xml reactor.xml' and a working directory of ${workspace_loc}/reactor/properties


[edit]Installing Lambda Probe All of the configuration files needed by Lambda Probe are already setup for you. You only need to download the binary zip and extract the war file to $JBOSS_HOME/server/matrix/deploy. Then in Eclipse open Preferences -> MyEclipse -> Application Servers -> JBoss 4 -> JDK and add -Dcom.sun.management.jmxremote as a JVM parameter. Restart JBoss and direct your browser to http://localhost:8080/probe/. The default login is admin/secret.

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2
This page was last modified 17:13, 5 February 2007. - This page has been accessed 412 times. - Disclaimers - About BluWiki
honeypot