Server User Manual

Table Of Contents
Chapter 10: Using JBuilder with Tomcat 95
Selecting Tomcat as your projects web server
If youd like more information about Tomcat or would like to run it standalone, refer to
the documentation WAR file in the following folder:
Tomcat 4.1 <jbuilder>/thirdparty/jakarta-tomcat-4.1.30/webapps
Tomcat 5.0 <jbuilder>/thirdparty/jakarta-tomcat-5.0.27/webapps
Tomcat 4.1 does not support JSP debugging. You can remedy this problem with the
following steps:
1 Download the Tomcat 4.0 binary from http://jakarta.apache.org/.
2 Browse to the Tomcat 4.0 installation directory. Open the lib folder.
3 Copy jasper-compiler.jar and jasper-runtime.jar to the <jbuilder>/thirdparty/
jakarta-tomcat-4.1.30/common/lib
directory. You will overwrite the two existing files.
Note The Borland Enterprise Server AppServer uses Tomcat internally for the production
web server. If youre using the Borland Enterprise Server, you do not need to configure
Tomcat separately.
Selecting Tomcat as your projects web server
Before you begin web development, you should select Tomcat as the web server for
your project.
To select the Tomcat web server for your project,
1 Choose Project|Project Properties.
2 Click the Server page. The Server page is displayed.
3 Select the Single Server For All Services In Project option and select the version of
Tomcat you want from the drop-down list.
4 If you want to avoid having libraries added to your project that you wont use,
uncheck the check box in front of the service(s) you dont need in the Services list. If
you disable services, the corresponding JBuilder features will be disabled.
Important Tomcat 4.1 and 5.0 support the JSP/Servlet and Naming/Directory services.
5 If you want to make changes to the configuration settings for the selected version of
Tomcat, click the ellipsis () button to the right of the server name and edit the
settings you want on the General page. Click OK when youre finished.