| Author |
Deploying more than one application in tomcat
|
Priyanka Chopda
Ranch Hand
Joined: Jul 22, 2003
Posts: 112
|
|
Hi all, I want to deploy more than one application in tomcat. What are the correct steps to follow. Can I just copy the .war files (each corresponding to diffrent application) into webapps folder? Please let me know the best way. Many Thanks -PC
|
 |
Wayne L Johnson
Ranch Hand
Joined: Sep 03, 2003
Posts: 399
|
|
|
Assuming that the ".war" files are well-formed, all you need to do is place them in the 'webapps' directory. When you next start Tomcat the war files will be found, extracted, and the applications should be available on the server.
|
 |
Priyanka Chopda
Ranch Hand
Joined: Jul 22, 2003
Posts: 112
|
|
will I have to modify server.xml to tell how many and which applications I'm running? If Yes, what should I modify? Thanks -PC
|
 |
Niral Trivedi
Ranch Hand
Joined: Nov 26, 2001
Posts: 46
|
|
If you are running tomcat version 4.0 or later, You don't have to modify server.xml file if you are deploying a war file. When you restart tomcat it will automatically expand war files. You can check more on 'Application Developer's Guide' section of tomcat documentation. Hope that will help. Niral
|
 |
 |
|
|
subject: Deploying more than one application in tomcat
|
|
|