• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Tomcat deployment with WAR

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic