Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Could any one help me with this : Extracting ROOT.war

Sarika Inamdar

2003-09-16

Replies:

Hi,

When we run tomcat, the ROOT.war should be extracted
automatically. With tomcat 4.1.24, when I run tomcat, its
unable to extract ROOT.war

We have set the unpackWARs="true" in server.xml.

Am I missing any other configuration ?

Please help me on this.

Thanks,
Sarika


The server.xml looks like :

<!-- DAS_WEB_INTERNAL_PORT --><Server port="8007"
shutdown="SHUTDOWN" debug="0">

 <Service name="Tomcat-Standalone">
<!-- DAS_WEB_PORT --><Connector
className="org.apache.catalina.connector.http.Ht
tpConnector" port="8080" minProcessors="5" maxProcessors="75"
enableLookups="tru e" redirectPort="8443" acceptCount="10"
debug="0" connectionTimeout="60000"/>

<!-- DAS_WEB_SECURE_PORT --><Connector
className="org.apache.catalina.connector.
http.HttpConnector" port="8443" minProcessors="5"
maxProcessors="75" enableLooku ps="true" acceptCount="10"
debug="0" scheme="https" secure="true">
 <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
       clientAuth="false" protocol="TLS"
       keystoreFile="conf/keystore"/>
</Connector>

  <Engine name="Standalone" defaultHost="localhost" debug="0">

    <Logger className="org.apache.catalina.logger.FileLogger"
         prefix="catalina_log." suffix=".txt"
         timestamp="true"/>

    <Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true">
     <Valve className="org.apache.catalina.valves.AccessLogValve"
           directory="logs"
prefix="localhost_access_log." suffix=".txt"
           pattern="common"/>

     <Logger className="org.apache.catalina.logger.FileLogger"
           directory="logs" prefix="localhost_log."
suffix=".txt"
          timestamp="true"/>

     <Context path="" docBase="ROOT" debug="0">
      <Manager
className="org.apache.catalina.session.PersistentManager"
         debug="0"
         saveOnRestart="false"
         maxActiveSessions="-1"
         minIdleSwap="-1"
         maxIdleSwap="-1"
         maxIdleBackup="-1">
         <Store
className="org.apache.catalina.session.FileStore"/>
      </Manager>
     </Context>
    </Host>
  </Engine>
 </Service>
</Server>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.