What the Automatic Applcation Deployment doc says is that if you have a WAR file, it won't be expanded if you have a <context> element in the server.xml document. It will only be run from that war file in an unexpanded format.
correct? Eric -----Original Message----- From: John Turner To: Tomcat Users List Sent: 7/23/03 3:18 PM Subject: Re: War files don't work Check out the rules for Auto deployment: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automat ic%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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]