aspose file tools*
The moose likes Tomcat and the fly likes Tomcat deployment with WAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat deployment with WAR" Watch "Tomcat deployment with WAR" New topic
Author

Tomcat deployment with WAR

Joseph Smithern
Ranch Hand

Joined: Feb 11, 2006
Posts: 89
I have Tomcat 4.1 on my local Windows workstation and on the Windows Web Server. Now I am going to deploy my application onto the Web Server.

Just want to make sure I have my steps correct:
I created a war file in my webapps directory which is called projects:
\Local_Tomcat_Home\webapps\projects\projects.war

Now I send the projects.war to the Server Admin where he will put it in the Server Tomcat Home webapps directory:
\Server_Tomcat_Home\webapps\projects.war

Then, since this is Tomcat 4.1.3 he will have to go into the
Server_Tomcat_Home\bin\ directory and hit the shutdown.bat and startup.bat commands.

The result should show my deployed projects folder in the server webapps directory and my web application should be ready to work on the Tomcat container as this:

\Server_Tomcat_Home\webapps\projects

[ February 24, 2007: Message edited by: Joseph Smithern ]
Kaustabh Singha Roy
Ranch Hand

Joined: Oct 04, 2005
Posts: 43
I can't see any problem except the first step. It will be better if you not create the projects directory in the webapps. Create it outside the tomcat installation. When you put the war file in the webapps directory it will be automatically extracted to a forder with name <war_name_without_ext>. I hope unpackWars attribute for the <Host> tag is true in your server.xml.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat deployment with WAR