Configuring Application Server Definitions for Lomboz

You must set several Lomboz Java application server parameter values. Lomboz uses these parameters to create scripts for launching the servers and finding the location for deploying Web applications (.war files) and EJB jar files. To handle application server definitions, Lomboz reads files in the C:\eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1\servers folder. Lomboz scans this folder every time it needs a definition. Follow these steps to delete the old definitions and add two new server type definitions (jboss326.server and JBoss326-os2200.server) into this folder.

 

1. Use Windows Explorer to delete all the .server elements from the C:\eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1\servers folder.

 

Or

 

From a Command Prompt window, navigate to the C:\eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1\servers folder and enter the command del *.server, then del *.server.bak.

 

2. Copy the jboss326.server and JBoss326-os2200.server files from the C:\Eclipse2200Temp folder you created earlier (see Before You Begin) to the C:\eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1\servers folder.

    

A copy of the jboss326.server file is located in the JBoss 3.2.6. Server Configuration topic and a copy of the JBoss326-os2200.server file is located in the JBoss 3.2.6 Server for OS 2200 Configuration File topic for you to view, but do not copy/paste from the .CHM version of this document.

 

3. Check that the properties and classpaths are set and defined for JBoss 3.2.6:

 

a. From the Window menu, choose Preferences.

 

b. Expand the Lomboz item in the left pane of the dialog box.

 

c. Click the Server Definitions item.

 

d. From the Properties tab, select JBOSS 3.2.6 from the Server types list. This is for the PC; use it for now.

 

e. Click Apply.

f.  Go to the Server Classpath tab and check to see that the icon in front of each entry is  and not .

 

4. Verify that the Classpath Variables are set:

 

a. Expand the Java item in the left pane.

 

b. Expand the Build Path item.

 

c. Click the Classpath Variables item. You should see a value for JBOSS326 that points to the base application server directory, C:\jboss-3.2.6.

 

d. Click OK. The installation and configuration of Lomboz is now complete.

 

5. Shut down Eclipse.

Test Configuration

To test your configuration, see Module 1 of the "Eclipse 2200 Application Development Guide" set of documents in the EclipseIDEApplicationDevelopmentGuideforOS2200Files.zip file that you have already obtained. For more information, see Before You Begin.

 

Activating Lomboz

Configuring Lomboz and JDT

Installing Lomboz