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 a Tomcat Web Server with the IDE. |
- Choose Tools > Servers from the main menu.
- Click Add Server to open the Add Server Instance 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 a 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 Services window, right-click the Tomcat Web Server node and choose Properties.
- Change the server's properties.
|
Open the Tomcat Web Application Manager. |
- In the Services window, right-click the Tomcat Web Server node and choose Start.
- Expand the Web Applications node and
right-click the node for the /manager context and choose Open in Browser.
- Log in using a valid username and password.
|
Start the server. |
The server starts automatically when you deploy a web application. Do the
following to start the server manually:
- In the Services 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 Services 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 Services 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 Services window, expand the Tomcat Web Server instance and the Web Applications node in the Services 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.
|