You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pete Guyatt <pg...@telesoft-technologies.com> on 2005/03/24 10:42:39 UTC

mutliple instances of same web app running?

Hi All,

I hope that someone can help as we are pulling our hair out here.

We are running tomcat5.5.7 on solaris.

Basically we only have one web application on each syetm and we are trying
to change the URL so that we can just type in http://127.0.0.1 address
rather than http://127.0.0.1:8080/scs and make this load our web application
automatically.

We have changed the /conf/server.xml and added the Context line shown below
in red after the first line of the host as shown below.

<Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="false" deployOnStartup="false" loadOnStartup="false"
xmlValidation="false" xmlNamespaceAware="false">

<Context path="" docBase="scs/" debug="0" />

When we stop and start tomcat we get exceptions that is caused by two
instances of the same application running.  We have tried a few things and
looked for solutions and none seem to solve the problem.

Any information would be greatly appreciated,

Pete