TomcatUISpec

Tomcat UI Specification

Contents


Overview

This document describes the Tomcat specific parts of the Server Manager and the Add Server Instance wizard UI. See the J2EE Server Management UI Spec for the general parts of the UI, the Tomcat specific parts mentioned in this general spec are obsolete.

Wizard: Add Server Instance

The first step of this wizard is common for all servers and is described in the J2EE Server Management UI Spec.

Step 2: Connection

Figure: Connection wizard panel

+----------------------------------------------------------------------------+
| Add Tomcat 5 Server                                                        |
+----------------------------------------------------------------------------+
| Installation and Login Details                                             |
| -------------------------------------------------------------------------- |
|                                                                            |
| Specify the installation folder (Catalina Home) and login details.         |
|                                                                            |
| Catalina Home:   |'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''_| [Browse... ] |
|                                                                            |
| [ ] Use Private Configuration Folder (Catalina Base)                       |
|   Catalina Base: |'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''_| [Browse... ] |
|                                                                            |
| Enter the credentials of an existing user in the "manager" role            |
|                                                                            |
| Username:        |'''_''''''_''''''_''''''_''''''_'''___|                            |
| Password:        |'''_''''''_''''''_''''''_''''''_'''___|                            |
|                  [X] Create user if it does not exist                      |
|                                                                            |
|                                                                            |
|                                                                            |
+----------------------------------------------------------------------------+

Components of this wizard panel are following:

  • Catalina Home editable text field - specifies location of the server installation.
  • Browse (Catalina Home) button - opens a file chooser titled Browse Catalina Home Folder with OK and Cancel buttons. The Files of Type combo box shows one value - Folder. The initial browse location is the user home.
  • Use Base Folder for Configuration and Deployment editable check box - specifies whether the Catalina Base directory should be used. Unchecked by default.
  • Catalina Base editable text field - specifies the folder used for server configuration and deployment.
  • Browse (Catalina Base) button - opens a file chooser titled Browse Catalina Base Folder with OK and Cancel buttons. The Files of Type combo box shows one value - Folder. The initial browse location is the user home.
  • Username editable text field - specifies the manager role user name.
  • Password editable password field - specifies the password.
  • Create user if it does not exist editable check box - if enabled the username and password will be stored in the CATALINA_BASE/conf/tomcat-users.xml file. If the check box is enabled the username and password must be specified, otherwise the Finish button is disabled. Enabled by default.

Wizard buttons' behavior:

  • Back button - always enabled.
  • Next button - always disabled.
  • Finish button - enabled only if all values are valid and catalina home and username fields are not empty.

Server Manager

UI for Classes, Sources and Javadoc tabs is common for all servers and is described in the J2EE Server Management UI Spec

Connection Tab

Figure: Server Manager dialog showing Tomcat 5 Connection Tab

+---------------------------------------------------------------------------------------------------+
| Server Manager                                                                                    |
+---------------------------------------------------------------------------------------------------+
| Servers:                                                                                          |
| +-------------------------+                                                                       |
| |J2EE Servers             | Server Name: |_Tomcat 5'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''| |
| |  Sun Java System Appli. | Server Type: |_Tomcat 5'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''| |
| |//Tomcat 5////////////// |  '''_''''''_'''  '''_''''''  ''''''_'''_  '''_''''''  ''''''_'''  '''_'''__             |
| |                         | /Connection\/Startup\/Platform\/Classes\/Sources\/Javadoc\            |
| |                         | |           \-------------------------------------------------------+ |
| |                         | |                                                                   | |
| |			    | | Catalina Home: |'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''___| | |
| |                         | | Catalina Base: |'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''___| | |
| |                         | |                                                                   | |
| |                         | | Credentials of an existing user in the "manager" role             | |
| |                         | |                                                                   | |
| |                         | | Username:      |'''_''''''_''''''_''''''_''''''_'''__|                      | |
| |                         | | Password:      |'''_''''''_''''''_''''''_''''''_'''__| [Show ]             | |
| |                         | |                                                                   | |
| |                         | | Server Port:   |'''_'''__|8|                                        | |
| |                         | | Shutdown Port: |'''_'''__|8|                                        | |
| |                         | |                                                                   | |
| |                         | | [X] Enable HTTP Monitor                                           | |
| |                         | |                                                                   | |
| |                         | | Note: Changes will take effect the next time you start the server | |
| +-------------------------+ +-------------------------------------------------------------------+ |
| [[AddServer... |  Add Server...]] [Remove ]                                                                       |
|                                                                                                   |
|                                                                              [[[Close  | [ Close ]]] [Help ] |
+---------------------------------------------------------------------------------------------------+

Components of this dialog are:

  • Catalina Home non-editable text field - specifies location of the server installation.
  • Catalina Base non-editable text field - specifies the folder used for server configuration and deployment.
  • Username editable text field - specifies the username in the manager role.
  • Password editable text field - specifies the password.
  • Show button - shows the password in plain text. When the password is visible the button label is changed to

Hide. The Hide button hides the password again.

  • Server Port editable spinner - specifies the server port number.
  • Shutdown Port editable spinner - specifies the port number on which the server waits for a shutdown command.
  • Enable HTTP Monitor check box - specifies whether to use the HTTP Monitor or not.

Startup Tab

Figure: Server Manager dialog showing Tomcat 5 Startup Tab

+---------------------------------------------------------------------------------------------------+
| Server Manager                                                                                    |
+---------------------------------------------------------------------------------------------------+
| Servers:                                                                                          |
| +-------------------------+                                                                       |
| |J2EE Servers             | Server Name: |_Tomcat 5'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''| |
| |  Sun Java System Appli. | Server Type: |_Tomcat 5'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''| |
| |//Tomcat 5////////////// |  '''_''''''_'''  '''_''''''  ''''''_'''_  '''_''''''  ''''''_'''  '''_'''__             |
| |                         | /Connection\/Startup\/Platform\/Classes\/Sources\/Javadoc\            |
| |                         | +----------/         \----------------------------------------------+ |
| |                         | |                                                                   | |
| |                         | | [X] Use Custom Catalina Script                                    | |
| |                         | |  Catalina Script: |'''_''''''_''''''_''''''_''''''_''''''_'''_| [Browse... ] | |
| |                         | |                                                                   | |
| |                         | | [X] Force Shutdown                                                | |
| |                         | |                                                                   | |
| |                         | | Debugger Transport:                                               | |
| |                         | |  o Shared Memory Name: |'''_''''''_''''''_''''''_''''''_'''_|               | |
| |                         | |  o Socket Port:        |'''_'''__|8|                                | |
| |                         | |                                                                   | |
| |                         | |                                                                   | |
| |                         | |                                                                   | |
| |                         | | Note: Changes will take effect the next time you start the server | |
| +-------------------------+ +-------------------------------------------------------------------+ |
| [[AddServer... |  Add Server...]] [Remove ]                                                                       |
|                                                                                                   |
|                                                                              [[[Close  | [ Close ]]] [Help ] |
+---------------------------------------------------------------------------------------------------+
}

Components of this dialog are:

  • Use custom catalina startup script check box - specifies whether to use custom catalina script or not. Unchecked by default.
  • Catalina Script editable text field - specifies the custom catalina startup script.
  • Force Shutdown check box - specifies whether to use the force shutdown (shutdown is followed by the kill command). Unchecked by default. Disabled on Windows.
  • Debugger Transport radio button - specifies whether to use shared memory or socked based transport for debugging. Shared Memory is default on Windows, socket on other systems. Shared Memory is enabled only on Windows.
  • Shared Memory Name editable text field - specifies the shared memory name. Enabled only on Windows.
  • Socket Port editable spinner - specifies the socket port number.

Platform Tab

Figure: Server Manager dialog showing Tomcat 5 Platform Tab

+---------------------------------------------------------------------------------------------------+
| Server Manager                                                                                    |
+---------------------------------------------------------------------------------------------------+
| Servers:                                                                                          |
| +-------------------------+                                                                       |
| |J2EE Servers             | Server Name: |_Tomcat 5'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''| |
| |  Sun Java System Appli. | Server Type: |_Tomcat 5'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''| |
| |//Tomcat 5////////////// |  '''_''''''_'''  '''_''''''  ''''''_'''_  '''_''''''  ''''''_'''  '''_'''__             |
| |                         | /Connection\/Startup\/Platform\/Classes\/Sources\/Javadoc\            |
| |                         | +-------------------/          \------------------------------------+ |
| |                         | |                                                                   | |
| |			    | | Java Platform: |'''_''''''_''''''_''''''_'''|_v_| [ManagePlatforms... ] | |
| |                         | | VM Options:    |'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''___| | |
| |                         | |                 (e.g. -Xms64m)                                    | |
| |                         | |                                                                   | |
| |                         | |  [X] Use Security Manager                                         | |
| |                         | |                                                                   | |
| |                         | |                                                                   | |
| |                         | |                                                                   | |
| |                         | |                                                                   | |
| |                         | |                                                                   | |
| |                         | | Note: Changes will take effect the next time you start the server | |
| +-------------------------+ +-------------------------------------------------------------------+ |
| [[AddServer... |  Add Server...]] [Remove ]                                                                       |
|                                                                                                   |
|                                                                              [[[Close  | [ Close ]]] [Help ] |
+---------------------------------------------------------------------------------------------------+


Components of this dialog are:

  • Java Platform non-editable combo box - specifies the Java Platform the server will use. The Default Java Platform is the dafault.
  • Manage Platforms button - opens the Java Platform Manager.
  • VM Options editable text field - specifies the Java Virtual Machine options.
  • Use Security Manager check box - specifies whether to use security manager or not. Unchecked by default.
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo