tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Pabst <simon.pa...@web.de>
Subject Re: Apache + Tomcat+4.0.6 (unpackWARs not decompress)
Date Tue, 15 Jul 2003 22:19:23 GMT
you need to use autoDeploy,
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment


At 21:52 15.07.2003 +0200, you wrote:

>Hello,
>
>I work with Apache + Tomcat 4.0.6 and I want deploy war file.
>
>The problem is that  when I start Tomcat  not decompress File.war and
>therefore Apache cannot respond static files (*.gif,*.jpg... static
>files)
>
>The option unpackWARs="true" is not working???
>
>As it is  the problem? Why  it does not  decompress? Is possible  to do
>this  in Tomcat 4.0.x?
>
>I have not found  any information about this.It  is not left but  remedy
>that to decompress by hand?
>
>
>This is part of the configuration in my server.xml:
>
><Host name="localhost" debug="0"  appBase="/opt/app1" unpackWARs="true">
><Valve className="org.apache.catalina.valves.AccessLogValve"
>prefix="access_log." suffix=".txt" pattern="common"/>
><Logger className="org.apache.catalina.logger.FileLogger"
>     prefix="tomcat_log." suffix=".txt" timestamp="true"/>
>          <Context path="/hs" docBase="FILE.war" debug="0"  privileged="true">
>             <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>                 jkConfig="/var/opt/app1/conf/mod_jk.conf"
>                 workersConfig="/var/opt/app1/conf/workers.properties"
>                 modJk="/usr/local/lib/apache/mod_jk.so"
>                 jkLog="/var/opt/app1/logs/mod_jk.log"
>                 jkDebug="error"
>                 jkWorker="ajp13"
>                 forwardAll="false"
>                 noRoot="false"
>                 append="true" />
>
>
>
>         <Resource name="jdbc/HTT" auth="Container"
>         type="javax.sql.DataSource" />
>               <ResourceParams name="jdbc/HTT">
>               <parameter>
>               <name>factory</name>
>               <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
>               </parameter>
>
>              "AND MORE PARAMETERS OF DATASOURCE"
>              "AND CLOSED TAGS"
>
>Thanks in advance.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message