• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
Something must be done about this. Let's start by reading this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic