Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

Running the Web Application Manager

The manager is itself a Web application that is preinstalled into Tomcat, so Tomcat must be running in order to use it. You invoke a manager command via one of the URLs listed in Table B-1.

Table B-1 Tomcat Web Application Manager Commands
Function
Command
list
http://<host>:8080/manager/list
install
http://<host>:8080/manager/install?
  path=/
mywebapp&
  war=file:
/path/to/mywebapp
 
http://<host>:8080/manager/install?
  path=/
mywebapp&
  war=jar:file:
/path/to/mywebapp.war!/
reload
http://<host>:8080/manager/reload?path=/mywebapp
remove
http://<host>:8080/manager/remove?path=/mywebapp

Since the manager pages are protected Web resources, the first time you invoke a manager command, an authentication dialog will appear. You must log in to the manager with the user name and password you provided when you installed the Java WSDP.

The document Manager App HOW-TO, at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html, contains reference information about the manager application.

There is also a GUI for the manager application. It is accessed via the URL http://<host>:8080/manager/html. As shown in Figure B-1, when you first start Tomcat, the manager application displays all the Web applications distributed with the Java WSDP.

Tomcat Manager Application

Figure B-1 Tomcat Manager Application

Divider
Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.