tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhino" <rhi...@sympatico.ca>
Subject Re: War files don't work
Date Wed, 23 Jul 2003 17:39:01 GMT
Does the war file contain a web.xml file that contains entries for the /nsfs
servlet? If not, that's likely your problem.

Rhino

----- Original Message ----- 
From: "Rick Roberts" <techinfo@ait-web.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, July 23, 2003 12:11 PM
Subject: War files don't work


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