Hi all,

My question is basically the subject.  I have a war file called fortius.war.
If I drop it in my webapp/ directory it will not unpack using tomcat 4.1.24.
However, if I rename it to anything else, like fortius-new.war, it will!

I attribute this to having a <context> in the server.xml file:
<!-- fortius -->
        <Context className="org.apache.catalina.core.StandardContext"
crossContext="false" reloadable="true"
mapperClass="org.apache.catalina.core.StandardContextMapper"
useNaming="true" debug="0" swallowOutput="false" privileged="false"
wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="fortius"
cookies="true" path="/fortius" cachingAllowed="true"
charsetMapperClass="org.apache.catalina.util.CharsetMapper">
          <ResourceLink name="jdbc/fortius" type="javax.sql.DataSource"
global="jdbc/fortius"/>
        </Context>

However, if I change the docbase to "fortius.war" then it seems to attempt
to try to run the servlet from the war file, versus unpacking it!  This is
causing me to always stop the server, unpack the war manually, and then
restart the server!

Eric

Reply via email to