You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sarika Inamdar <si...@cisco.com> on 2003/09/16 13:35:02 UTC
Extracting ROOT.war
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>
error during make JK2
Posted by Johan Louwers <Su...@dds.nl>.
I am trying to build a JK2 connector on a solaris 9 box.
I do:
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-tomcat41=/usr/local/jakarta-tomcat-4.1.27 \
--with-java-home=/usr/local/j2sdk1.4.1_05 \
--with-jni \
--with-pcre
All is fine, after that i do make and then the problem starts I get the
following:
#make
list=' server/apache2'; \
for i in $list; do \
echo "Making $target in $i"; \
if test "$i !="."; then \
(cd $i && make) || exit 1; \
fi; \
done;
Making in server/apache2
make: Fatal error in eader: Makefile, lin19: Unexpected end of line seen
Current working directory
/export/home/suntac/jakarta-tomcat-connectros-jk2-2.0.2-src/jk/native2/serve
r/apache2
*** error code 1
Make fatak errir: command failed for target 'jk2-build'
#
Anybody any clue what the problem is?
Regards, Johan.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
error during make JK2
Posted by Johan Louwers <Su...@dds.nl>.
I am trying to build a JK2 connector on a solaris 9 box.
I do:
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-tomcat41=/usr/local/jakarta-tomcat-4.1.27 \
--with-java-home=/usr/local/j2sdk1.4.1_05 \
--with-jni \
--with-pcre
All is fine, after that i do make and then the problem starts I get the
following:
#make
list=' server/apache2'; \
for i in $list; do \
echo "Making $target in $i"; \
if test "$i !="."; then \
(cd $i && make) || exit 1; \
fi; \
done;
Making in server/apache2
make: Fatal error in eader: Makefile, lin19: Unexpected end of line seen
Current working directory
/export/home/suntac/jakarta-tomcat-connectros-jk2-2.0.2-src/jk/native2/serve
r/apache2
*** error code 1
Make fatak errir: command failed for target 'jk2-build'
#
Anybody any clue what the problem is?
Regards, Johan.
Could any one help me with this : Extracting ROOT.war
Posted by Sarika Inamdar <si...@cisco.com>.
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@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
Could any one help me with this : Extracting ROOT.war
Posted by Sarika Inamdar <si...@cisco.com>.
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@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org