Server User Manual

Table Of Contents
Chapter 4: Configuring the target server settings 21
Setting up servers within JBuilder
dialog box when not all required values are set or selecting another server while the
current one is enabled displays a message dialog box that informs you about the
missing settings and usually selects the control representing the missing setting.
4 If you want to change any of the settings, click the ellipsis () button next to the field
and make your changes.
You can add any necessary application dependencies to the servers classpath by
clicking the Required Libraries tab and using the Add button to add the libraries the
server needs.
5 Click the Custom tab to view settings unique to the server. Most application servers
allow you to specify the location of the JDK the server uses; some require you to
specify the JDK location for successful configuration completion. Updates you make
on the Custom page can update settings on the General page. (Note that Tomcat
configurations do not have a Custom tab.)
Following are the JDKs and their installed locations for the application servers
supported by JBuilder:
Borland Enterprise Server AppServer Edition 5.2.1: <bes home>/jdk/jdk1.3.1 or
<bes home>/jdk/jdk1.4.1 (the default value)
Borland Enterprise Server AppServer Edition 6.0: <bes home>/jdk/jdk1.4.2
WebLogic Server 7.x: <bea home>/jdk131_10
WebLogic Platform Server 8.1: <bea home>/jdk141_04. WebLogic 8.1 also
supports JRockit (a JDK optimized for server applications), so the JDK directory
could be <bea home>/jrockit81sp3_142_04
WebSphere 4.x (either Advanced Edition or Single Server): <websphere home>/
java
WebSphere 5.x: <websphere home>/java
As you make your edits, JBuilder attempts to validate your settings. Once youve
made your edits, click the OK button to accept your changes and close the dialog
box. If you prefer that JBuilder not try to validate your changes, uncheck the Enable
Server dialog box. Selecting OK saves changes for all servers youve enabled,
disabled, or modified.
6 Click OK when you are through configuring the application server.
When you click OK and the Enable Server check box is checked, JBuilder attempts
to verify your settings. If errors are detected, a message box containing information
about the errors appears and focus is given to the control appropriate for fixing the
error. If the Enable Server option is unchecked, the dialog box simply closes and no
setting validation is performed.
Once a server is properly configured and validated, the server you configured is listed
in black type in the pane on the left. Gray type indicates the server hasnt been
configured yet. Red type indicates an error condition; specifically it means the servers
library containing its settings has been read, but the OpenTool representing the server
cant be found. You can delete a server shown in red by selecting it and clicking the
Delete button.
The Reset To Defaults button sets the settings back to the values they originally had
when JBuilder was first installed and the server is disabled.
If a dialog box appears with a message that you must restart JBuilder, you must close
and then restart JBuilder for changes to become effective; otherwise, restarting
JBuilder is not necessary.