Tomcat Web Server Tasks: Quick Reference

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.
  1. Choose Tools > Server Manager.
  2. Click Add Server to open the Add Server wizard.
  3. Choose the server type, give the server instance a name, and click Next.
  4. Define the server instance properties and click Finish.
For more information, see Registering an External Tomcat Web Server.
Set a project's target server.
  1. Right-click the project node in the Projects window and choose Properties.
  2. Select Run in the Project Properties dialog box.
  3. Select the target server from the Server drop-down and click OK.
Customize the server.
  1. In the Runtime window, right-click the Tomcat Web Server node and choose Properties.
  2. Change the server's properties.
Set up and test a connection pool.
  1. Access the Tomcat Web Server Administration Tool.
  2. Set up a connection pool.
  3. 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:
  1. In the Runtime window, expand the Servers node.
  2. Right-click the Tomcat Web Server node and choose Start or Restart.
Authenticate the server.
  1. In your system, go to Tomcat's base directory and then to its \conf subfolder.
    tip  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.
  2. Open the tomcat-users.xml file and make a note of the password that is defined for the ide username.
  3. 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.
  1. In the Runtime window, expand the Tomcat Web Server instance and the Web Applications node in the Runtime window.
  2. Expand the node which contains the type of application to undeploy.
  3. Right-click the application and choose Undeploy from the contextual menu.
For more information, see Removing an Application from a Server.

Legal Notices