This is a feature of JBuilder Professional and Enterprise.
The Global Tomcat Setup dialog box configures Tomcat. The dialog box will display the version of Tomcat you are configuring in the title bar.
To display this dialog box, choose the Setup button on the Servers page of the Project Properties dialog box.
For more information on configuring your web server, see "Configuring your web server" in the Web Application Developer's Guide.
To set Tomcat installation options, choose the Paths page.
Enter the name of the directory where Tomcat is installed in the Tomcat Installation Directory field. To browse to the location, choose the ellipsis button.
In the bottom of the dialog box, choose the location of Tomcat's class files, source files, documentation files and required libraries:
Tomcat setup options
Tab | Description |
---|---|
Class | The location of Tomcat class files. You must include the following jar files, or the Web Run/Web Debug commands will fail: webserver.jar, jasper.jar, parser.jar, and jaxp.jar . In a standard installation, these files are in the /lib directory of JBuilder's Tomcat folder. |
Source | The location of Tomcat source files. In a standard installation, these files are in the /src directory of JBuilder's Tomcat folder. |
Documentation | The location of Tomcat documentation files. In a standard installation, this tab is left blank. |
Required Libraries | The libraries that Tomcat requires. In a standard installation, this is the Servlet library. |
Use the Add, Edit and Remove buttons to update entries in the dialog box.
To set log file options, choose the Logging page on the Global Tomcat Setup dialog box.
For a Tomcat 3.2 setup, this page contains three areas. Each area contains the log file options listed in the following table. To set log file options for the main server engine, use settings in the Tomcat area of the dialog box. To set options for the servlet container, use settings in the Servlet area. For JSP container log file options, go to the Jasper area.
For a Tomcat 4.0 setup, you'll only see the three fields below. All information will be saved to one log file.
Tomcat log file options
Field | Description |
---|---|
Level | The level of informational message the web server will display. Choose from displaying fatal errors, error messages, warning messages, debug messages or informational messages. |
Message View | Displays messages in the message pane. |
File | The name of the log file. Files are written to the the log directory. The path is relative to the project directory. |