Servers Dialog Box
See Also
Before you can deploy an enterprise application, web application, JSP file, servlet, or EJB module, an instance of the server
to which you are going to deploy needs to be registered with the IDE.
You open the Servers dialog box by choosing Tools > Servers from the main menu.
You can use the Servers dialog box to do the following:
- Register a new server.
- View registered servers' classpaths.
- Register source code for a server in the Sources tab.
- Register Javadoc documentation for a server in the Javadoc tab.
- Specify deployment options (Sun Java System Application Server/GlassFish v2 only)
Note:
- Any web servers that you chose to install when you installed the IDE
are automatically registered in the IDE. You must register all other servers manually.
After you register a server, you can configure a project to use that server for compilation,
execution, and debugging. To specify the server for your project, right-click the project in the Projects window
and choose Properties. In the Properties window, select the Run node, and
choose the appropriate server in the Server drop-down list.
The Servers dialog box provides additional settings in some tabs for configuring the following servers.
Tomcat Web Server
- Connection The Connection tab enables you to set the server port numbers and the username and password
for the manager role. You can view the server password by clicking Show next to the password field.
You can also enable the HTTP monitor in this tab.
- Startup. The Startup tab enables you to specify a custom Catalina script for startup and
debugger transport options.
For more about the available configuration options, see
Customizing the Tomcat Web Server.
GlassFish v2
GlassFish 3
- Common. The Common tab enables you to enable and disable the following options:
- Enable Comet Support. When selected, Commet support is enabled to allow
a persistent connection between the server and the client and enable the server to push data when available.
This option is disabled by default.
- Enable HTTP Monitor. When selected, HTTP server-side monitoring is started when an application is deployed to the server.
The HTTP Server-Side Monitor gathers data about HTTP requests that are processed by the servlet engine.
For each HTTP request that is processed, the monitor records data about the incoming request
and the data states maintained on the server.
This option is disabled by default.
- Enable JDBC Driver Deployment. When selected, JDBC drivers are deployed to the server if required.
This option is disabled by default.
- Preserve Sessions Across Redeployment. When selected, the server preserves active HTTP sessions
when an application is redeployed. This option is enabled by default.
- Start Registered Derby Server. When selected, the Derby database server is started when the
application server is started. This option is enabled by default.
- Java. The Java tab enables you to specify the following options:
- Java Executable. Enables you to specify the Java Platform the server will use.
If no Java executable is specified, the server will use the same Java Platform as is used by the IDE.
- Debug Settings. Enables you to select either shared memory or socket based transport for debugging.
You can also select Address to use to specify a transport address or JPDA port according to the specified debugging transport.
- See Also
- Registering a Server
- Registering a GlassFish Application Server Instance
- Registering an External Tomcat Web Server
- Registering a JBoss Application Server
- Registering an Oracle WebLogic Server
Legal Notices