[ Team LiB ] |
![]() ![]() |
Tomcat ManagerThe Tomcat distribution also includes a Manager application that will deploy WAR files from any location. Like the Administration tool, the Manager is available from the default Tomcat home page. Click the link that reads "Tomcat Manager." Figure A.4 shows the initial screen. Figure A.4. The Tomcat Manager helps deploy applications.With the Tomcat Manager, you can deploy, start, stop, and undeploy Web applications. Adding Administrators and Managers
As you already know from working through the examples in the book, Tomcat also recognizes WAR files if you place them in webapps. When you restart Tomcat, it automatically unpacks any new WAR files. If you need to update a WAR file, however, you must delete the directory that Tomcat creates. For example, if you copy a file named tagdemo.war into the webapps directory, Tomcat creates a directory named tagdemo the next time it starts and unpacks the contents of tagdemo.war into the directory. If you want to install a new tagdemo.war, make sure you remove the tagdemo directory. |
[ Team LiB ] |
![]() ![]() |