On 8/22/05, Allistair Crossley <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > Just been deploying ROOT.war into webapps and it's failing to explode. The > logs indicate; > > INFO: Deploying web application archive ROOT.war > 22-Aug-2005 09:46:44 org.apache.catalina.startup.ContextConfig > applicationWebConfig > INFO: Missing application web.xml, using defaults only > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Yet, if I rename ROOT.war to ROOT.zip and open it in WinZip, the web.xml has > been correctly packed by the Ant WAR task. Indeed if I unzip the WAR into > webapps manually, the web application works fine and is packaged correctly. > > I use an Ant WAR task > > <war > destFile="${dist.dir}/${app.name}.war" > webxml="${webroot.dir}/WEB-INF/web.xml" > duplicate="preserve"> > > <classes dir="${classes.dir}" /> > <lib dir="${webroot.dir}/WEB-INF/lib" /> > <webinf dir="${webroot.dir}/WEB-INF" /> > <metainf dir="${webroot.dir}/META-INF" /> > > <fileset dir="${webroot.dir}"> > <include name="includes/**" /> > <include name="resources/**" /> > <include name="views/**" /> > </fileset> > > </war> > > Any ideas why Tomcat is exhibiting this behaviour?
I just tried it by zipping and removing the ROOT folder, replacing it with ROOT.war. It gets expanded and deployed correctly. -- xxxxxxxxxxxxxxxxxxxxxxxxx Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL xxxxxxxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]