Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Context path

Status
Not open for further replies.

pen81

Programmer
Oct 27, 2004
62
GB
I have deployed an application with Tomcat5 called "MyFirst" by creating a directory MyFirst under webapps, and adding a file MyFirst.xml in conf/Catalina/localhost and all is fine.

I would now like to deploy an application "development/MySecond" but cant seem to get this to work, with the two directories. I can do this with Tomcat 3 on my old machine, where you added contexts to server.xml, but with Tomcat 4 or newer the standalone XML files are required. What would be the name of the XML file, for example?
 
>>>> with Tomcat 4 or newer the standalone XML files are required.

Thats not actually true - you can use Tomcat 4 or 5 in the same way you used Tomcat 3. Personally, I just build a .war file and dump it in webapps - or you can just create directories under webapps as you did before - no need to add any files into conf.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top