This topic describes common tasks you can perform with the Tomcat Web Server. For
more detailed information, click the links in the right column.
To perform this task |
Follow these steps |
Register an external Tomcat Web Server with the IDE. |
- Choose Tools > Server Manager.
- Click Add Server to open the Add Server wizard.
- Choose the server type, give the server instance a name, and click Next.
- Define the server instance properties and click Finish.
For more information, see Registering an External Tomcat Web Server. |
Set a project's target server. |
- Right-click the project node in the Projects window and choose Properties.
- Select Run in the Project Properties dialog box.
- Select the target server from the Server drop-down
and click OK.
|
Customize the server. |
- In the Runtime window, right-click the Tomcat Web Server node and choose Properties.
- Change the server's properties.
|
Set up and test a connection pool. |
- Access the Tomcat Web Server Administration Tool.
- Set up a connection pool.
- Test a connection pool.
|
Start the server. |
The server starts automatically when you
deploy a web application. Do the
following to start the server manually:
- In the Runtime window, expand the Servers node.
- Right-click the Tomcat Web Server node and choose Start or Restart.
|
Authenticate the server. |
- In your system, go to Tomcat's base directory and then to its
\conf subfolder.
|
If you don't know where Tomcat's base directory is,
right-click
the Tomcat Web Server instance node in the Runtime window and select Properties.
In the Properties
dialog box, the Base Directory property points to the
base directory.
|
- Open the tomcat-users.xml file and make a note of the password
that is defined for the ide username.
- Right-click
the Tomcat Web Server instance node in the Runtime window and select Properties.
In the Properties
dialog box, type the username and password.
For more information, see Authenticating the Tomcat Web Server.
|
Undeploy an application. |
- In the Runtime window, expand the Tomcat Web Server instance and the Web Applications node in the Runtime window.
- Expand the node which contains the type of application to undeploy.
- Right-click the application and choose Undeploy from the contextual menu.
For more information, see Removing an Application from a Server.
|