tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: War files don't work
Date Wed, 23 Jul 2003 19:18:24 GMT

Check out the rules for Auto deployment:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment

John

Rick Roberts wrote:

> This sounds reasonable to me.
> But, if I don't have a <Context/> element in server.xml then how do I 
> provide <Context/> type information to Tomcat?
> 
> 
>   <!-- 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>
> 
> 
> BTW,
> manually creating the nsfs/ directory did not help.
> however; if i manually create the nsfs/ dir and manually unpack the .war 
> file everything works fine.
> 
> another question:
> did I correctly create the nsfs.war file and test it by doing the 
> following?:
> 
> 1. cd to the webapps/nsfs/ directory
> 2. jar -cvf nsfs.war *
> 3. cp nsfs.war ../.  (the webapps dir)
> 4. rm -rf nsfs/
> 5. restart tomcat
> 6. use browser and navigate to http://localhost/nsfs
> 
> 
> Thanks,
> 
> Rick
> 



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