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!

When starting tomcat 2 instances of my application start

Status
Not open for further replies.

sunshinesara1976

Programmer
Nov 11, 2004
1
GB
Hi, I wonder if anyone can help?

Each time I try to startup tomcat using startup.sh I get 2 attempted startups of my application in the log file, however I think I have set it up right according to the docs for Tomcat 4.1

Here is the relevant part of my server.xml
[blue]<Host name="myhostname" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">
<Context path="" docBase="appname" debug="0">[/blue]

In my webapps directory I have the appname.war and the corresponding exploded appname directory.

It is definately loading the application for the named context but it also loads another instance.

Can anyone help me?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top