Java Mailing List Archive

http://www.junlu.com/

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

War files don't work

Rick Roberts

2003-07-23

Replies:


My server.xml contains this:
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true"
autoDeploy="true">

<!-- NSFS Context -->
<Context path="/nsfs" docBase="nsfs" debug="0" reloadable="true"
crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="nsfs_log."
suffix=".txt" timestamp="true"/>
</Context>


My webapps dir contains my war file (nsfs.war).


The error I get looks like this:

 HTTP Status 404 - /nsfs
 type Status report
 message /nsfs
 description The requested resource (/nsfs) is not available.
 Apache Tomcat/4.1


If I manually expand the nsfs.war file into a webapps/nsfs/ directory then all
works fine.

How do I get Tomcat to use the war file?

--
*******************************************
* Rick Roberts                   *
* Advanced Information Technologies, Inc. *
*******************************************


---------------------------------------------------------------------
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.