I am using 4.1.30

Thanks,
Dinesh Ram

-----Original Message-----
From: Dineshram Villuri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 1:41 PM
To: [EMAIL PROTECTED]
Subject: Please suggest us a solution

Hello,

We do war deployment for our web application.

We have a webdesigner who makes regular updates to the site, by updating the
unpacked war file to reflect the changes immediately and to avoid restarting
in the middle of the day. Also, she has to update the war file, every time
she makes any change to the application. If she forgets to update the war
file, next day old files will override the new files.
Is there a way in tomcat, to check whether the war file is modified or not
and tell tomcat to unpack it only when the war file is modified. That way,
even she forgets to change the war file, unpacked files will not be
overridden.

May I know what parameters to set, without sacrificing the performance in
the production?

I have some more problems with the following configuration in server.xml

<Host className="org.apache.catalina.core.StandardHost"
                        appBase="webapps" autoDeploy="false"

configClass="org.apache.catalina.startup.ContextConfig"

contextClass="org.apache.catalina.core.StandardContext" debug="9"
                        deployXML="false"

errorReportValveClass="org.apache.catalina.valves.ErrorReportValve"
liveDeploy="false" mapperClass="org.apache.catalina.core.StandardHostMapper"
                        name="localhost" unpackWARs="true">


            <Context className="org.apache.catalina.core.StandardContext"
                        cachingAllowed="true"
charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true"
crossContext="false" debug="0" displayName="My Application" docBase="myapp"

mapperClass="org.apache.catalina.core.StandardContextMapper" path=""
                        privileged="false" reloadable="false"
swallowOutput="false"
useNaming="false" wrapperClass="org.apache.catalina.core.StandardWrapper">
            </Context>
</Host>

If I say autoDeploy=false, and have unpacked myapp application in the
appBase directory (webapps), Everything is working fine

If I say autoDeploy=true, and have only myapp.war file in the appBase
directory (webapps). It is failing to set the root context path to myapp,
since there is no directory myapp in the appBase directory.

If I say autoDeploy=true, and have both myapp.war and unpacked mywpp in the
appBase directory. It is loading myapp application twice.

Am I missing anything here?

How do I make my application to load once on startup and set that to root
context using war file?

Please give your valuable suggestions.

Thanks,
Dinesh Ram






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to