Hi, The WAR structure looks good. Try unpacking it and copying the directory into Tomcat's webapps directory: that is, try deploying an unpacked webapp as opposed to a packed WAR, and see what happens.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Piotr Galecki [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 05, 2004 6:52 PM >To: Tomcat Users List >Subject: RE: Tomcat does not see web.xml, which is the part of the war file > >Hi Yoav, > >Here is the war file content: > >C:\JavaAdvTopics\edu\brandeis\PiotrGalecki\Homework2\login\dist\lib>\JB uild >erX\j >dk1.4\bin\jar.exe tvf login.war > 0 Thu Aug 05 18:49:28 EDT 2004 META-INF/ > 106 Thu Aug 05 18:49:28 EDT 2004 >META-INF/MANIFEST.MF > 0 Thu Aug 05 00:26:04 EDT 2004 WEB-INF/ > 8481 Tue Jul 02 02:32:24 EDT 2002 >WEB-INF/struts-bean.tld > 3629 Thu Aug 05 00:09:52 EDT 2004 >WEB-INF/struts-config.xml > 59225 Tue Jul 02 02:32:24 EDT 2002 >WEB-INF/struts-html.tld > 13871 Tue Jul 02 02:32:24 EDT 2002 >WEB-INF/struts-logic.tld > 1466 Thu Aug 05 01:17:10 EDT 2004 WEB-INF/web.xml > 663 Wed Aug 04 23:30:26 EDT 2004 login.jsp > 0 Thu Aug 05 18:49:30 EDT 2004 WEB-INF/classes/ > 0 Thu Aug 05 00:21:56 EDT 2004 >WEB-INF/classes/edu/ > 0 Thu Aug 05 00:21:56 EDT 2004 >WEB-INF/classes/edu/brandeis/ > 0 Thu Aug 05 00:21:56 EDT 2004 >WEB-INF/classes/edu/brandeis/PiotrGalecki/ > 0 Thu Aug 05 00:21:56 EDT 2004 >WEB-INF/classes/edu/brandeis/PiotrGalecki/Ho >mework2/ > 0 Thu Aug 05 00:21:56 EDT 2004 >WEB-INF/classes/edu/brandeis/PiotrGalecki/Ho >mework2/login/ > 0 Thu Aug 05 00:21:56 EDT 2004 >WEB-INF/classes/edu/brandeis/PiotrGalecki/Ho >mework2/login/src/ > 1249 Thu Aug 05 18:49:28 EDT 2004 >WEB-INF/classes/edu/brandeis/PiotrGalecki/Ho >mework2/login/src/LoginAction.class > 637 Thu Aug 05 18:49:28 EDT 2004 >WEB-INF/classes/edu/brandeis/PiotrGalecki/Ho >mework2/login/src/LoginForm.class > 0 Thu Aug 05 18:49:30 EDT 2004 WEB-INF/lib/ >485731 Mon Dec 30 22:37:52 EST 2002 >WEB-INF/lib/struts.jar > >C:\JavaAdvTopics\edu\brandeis\PiotrGalecki\Homework2\login\dist\lib> > >- Piotr > >--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> Post your WAR file structure (obtainable from a jar >> tvf command). >> >> Yoav Shapira >> Millennium Research Informatics >> >> >> >-----Original Message----- >> >From: Piotr Galecki [mailto:[EMAIL PROTECTED] >> >Sent: Thursday, August 05, 2004 4:21 PM >> >To: [EMAIL PROTECTED] >> >Subject: Tomcat does not see web.xml, which is the >> part of the war file >> > >> >I'm having a problem with Tomcat, which doesn't see >> >the web.xml file, >> >when processing a war file. >> >I checked many times - the web.xml file is in the >> war >> >file, which is created by ant. >> >However, when the war file is deployed, >> >Tomcat complains that web.xml is not there. >> >Here is the Tomcat log: >> > >> >INFO: Installing web application at context path >> >/login from URL file:D:/Program >> >Files/Apache Software Foundation/Tomcat >> >5.0/webapps/login >> >Aug 5, 2004 1:57:03 AM java.util.jar.Attributes >> read >> >WARNING: Duplicate name in Manifest: Class-Path >> >Aug 5, 2004 1:57:03 AM java.util.jar.Attributes >> read >> >WARNING: Duplicate name in Manifest: Class-Path >> >Aug 5, 2004 1:57:03 AM java.util.jar.Attributes >> read >> >WARNING: Duplicate name in Manifest: Class-Path >> >Aug 5, 2004 1:57:03 AM java.util.jar.Attributes >> read >> >WARNING: Duplicate name in Manifest: Class-Path >> >Aug 5, 2004 1:57:03 AM java.util.jar.Attributes >> read >> >WARNING: Duplicate name in Manifest: Class-Path >> >Aug 5, 2004 1:57:03 AM java.util.jar.Attributes >> read >> >WARNING: Duplicate name in Manifest: Class-Path >> >Aug 5, 2004 1:57:03 AM java.util.jar.Attributes >> read >> >WARNING: Duplicate name in Manifest: Class-Path >> >Aug 5, 2004 1:57:03 AM >> >org.apache.catalina.startup.ContextConfig >> >applicationConfig >> >INFO: Missing application web.xml, using defaults >> only >> >StandardEngine >> >>[Catalina].StandardHost[localhost].StandardContext[/login] >> > >> >What could be the problem here? >> > >> >Any help is appreciated, >> >Piotr >> > >> > >> >>--------------------------------------------------------------------- >> >To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> >For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> >> >> >> This e-mail, including any attachments, is a >> confidential business communication, and may contain >> information that is confidential, proprietary and/or >> privileged. This e-mail is intended only for the >> individual(s) to whom it is addressed, and may not >> be saved, copied, printed, disclosed or used by >> anyone else. If you are not the(an) intended >> recipient, please immediately delete this e-mail >> from your computer system and notify the sender. >> Thank you. >> >> >> >--------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
