yes that right location in your web.xml can you validate faces-config.xml e.g.? (we should see what is failing and where)
web.xml: <context-param> <description> Set this flag to true if you want the JavaServer Faces Reference Implementation to validate the XML in your faces-config.xml resources against the DTD. Default value is false. </description> <param-name>com.sun.faces.validateXml</param-name> <param-value>true</param-value> </context-param> Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: FW: Tomcat 6 > Date: Sun, 26 Oct 2008 18:49:54 -0500 > > Can someone help please? > > -----Original Message----- > From: Chris Lenart [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 25, 2008 9:05 PM > To: 'Tomcat Users List' > Subject: RE: Tomcat 6 > > > I put it by web.xml Am I right? > Same error occurs. > Wait, I am not using faces just tags from core. > > -----Original Message----- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 25, 2008 8:23 PM > To: Tomcat Users List > Subject: RE: Tomcat 6 > > > > check your faces-config.xml it should something like > > <?xml version="1.0" encoding="UTF-8"?> > <faces-config version="1.2" > xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"> > <!-- Facelets support --> > <application> > <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> > </application> > </faces-config> > > Martin > ______________________________________________ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and > Sender does not endorse distribution to any party other than intended > recipient. Sender does not necessarily endorse content contained within > this transmission. > > > > From: [EMAIL PROTECTED] > > To: users@tomcat.apache.org > > Subject: RE: Tomcat 6 > > Date: Sat, 25 Oct 2008 19:20:57 -0500 > > > > <?xml version="1.0" encoding="UTF-8"?> > > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns="http://java.sun.com/xml/ns/j2ee" > > xmlns:javaee="http://java.sun.com/xml/ns/javaee" > > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"> > > <javaee:display-name>PhotographyShop</javaee:display-name> > > <welcome-file-list> > > <welcome-file>index.html</welcome-file> > > <welcome-file>index.htm</welcome-file> > > <welcome-file>index.jsp</welcome-file> > > <welcome-file>default.html</welcome-file> > > <welcome-file>default.htm</welcome-file> > > <welcome-file>default.jsp</welcome-file> > > </welcome-file-list> > > <servlet> > > <javaee:description>Email code to send an > email</javaee:description> > > <javaee:display-name>EmailServlet</javaee:display-name> > > <servlet-name>EmailServlet</servlet-name> > > <servlet-class> > > com.PhotographyShop.Servlets.EmailServlet > > </servlet-class> > > </servlet> > > <servlet-mapping> > > <servlet-name>EmailServlet</servlet-name> > > <url-pattern>/EmailServlet</url-pattern> > > </servlet-mapping> > > <servlet> > > <javaee:description>Check ID and Password</javaee:description> > > <javaee:display-name>LogonServlet</javaee:display-name> > > <servlet-name>LogonServlet</servlet-name> > > > > > <servlet-class>com.PhotographyShop.Servlets.LogonServlet</servlet-class> > > </servlet> > > <servlet-mapping> > > <servlet-name>LogonServlet</servlet-name> > > <url-pattern>/LogonServlet</url-pattern> > > </servlet-mapping> > > <servlet> > > <javaee:description>To create a new ID</javaee:description> > > <javaee:display-name>NewUserIDServlet</javaee:display-name> > > <servlet-name>NewUserIDServlet</servlet-name> > > > > <servlet-class>com.PhotographyShop.Servlets.NewUserIDServlet</servlet- > > cl > > ass> > > </servlet> > > <servlet-mapping> > > <servlet-name>NewUserIDServlet</servlet-name> > > <url-pattern>/NewUserIDServlet</url-pattern> > > </servlet-mapping> > > <context-param> > > <javaee:param-name>email_address</javaee:param-name> > > <javaee:param-value>[EMAIL PROTECTED]</javaee:param-value> > > </context-param> > > <context-param> > > <javaee:param-name>smtp</javaee:param-name> > > <javaee:param-value>smtp.comcast.net</javaee:param-value> > > </context-param> > > <context-param> > > <javaee:param-name>dbUserID</javaee:param-name> > > <javaee:param-value>SYSTEM</javaee:param-value> > > </context-param> > > <context-param> > > <javaee:param-name>dbPassword</javaee:param-name> > > <javaee:param-value>sql</javaee:param-value> > > </context-param> > > <context-param> > > <javaee:param-name>dbHost</javaee:param-name> > > <javaee:param-value>localhost</javaee:param-value> > > </context-param> > > <context-param> > > <javaee:param-name>dbPort</javaee:param-name> > > <javaee:param-value>1521</javaee:param-value> > > </context-param> > > <context-param> > > <javaee:param-name>database</javaee:param-name> > > <javaee:param-value>XE</javaee:param-value> > > </context-param> > > <servlet> > > <javaee:description>Get user info and state > > picklist</javaee:description> > > > > > <javaee:display-name>/Servlet/UserRetrieveServlet</javaee:display-name> > > <servlet-name>/Servlet/UserRetrieveServlet</servlet-name> > > > > <servlet-class>com.PhotographyShop.Servlets.UserRetrieveServlet</servl > > et > > -class> > > </servlet> > > <servlet-mapping> > > <servlet-name>/Servlet/UserRetrieveServlet</servlet-name> > > <url-pattern>/Servlet/UserRetrieveServlet</url-pattern> > > </servlet-mapping> > > <servlet> > > <javaee:description>To save user info</javaee:description> > > <javaee:display-name>UserSaveServlet</javaee:display-name> > > <servlet-name>UserSaveServlet</servlet-name> > > > > <servlet-class>com.PhotographyShop.Servlets.UserSaveServlet</servlet-c > > la > > ss> > > </servlet> > > <servlet-mapping> > > <servlet-name>UserSaveServlet</servlet-name> > > <url-pattern>/UserSaveServlet</url-pattern> > > </servlet-mapping> > > </web-app> > > > > There is no Context.xml. I deleted it. > > > > -----Original Message----- > > From: Martin Gainty [mailto:[EMAIL PROTECTED] > > Sent: Saturday, October 25, 2008 6:26 PM > > To: Tomcat Users List > > Subject: RE: Tomcat 6 > > > > > > > > Please display contents of > > ./WEB-INF/web.xml > > ./META-INF/<Application>Context.xml > > > > Martin > > ______________________________________________ > > Disclaimer and confidentiality note > > Everything in this e-mail and any attachments relates to the official > > business of Sender. This transmission is of a confidential nature and > > Sender does not endorse distribution to any party other than intended > > recipient. Sender does not necessarily endorse content contained > within > > this transmission. > > > > > > > From: [EMAIL PROTECTED] > > > To: users@tomcat.apache.org > > > Subject: Tomcat 6 > > > Date: Sat, 25 Oct 2008 18:09:35 -0500 > > > > > > Hi > > > > > > I need help with something. I have been doing a web site with > > > JSP's > > > and all of a sudden I am getting 404 with all of JSP's. I don't > know > > > what is causing it. Before I was trying to make a database > connection > > > > > pool with JDNI but it didn't work. So I removed it. I don't know > > > what to do. Can someone please help me? Here is the log. Thanks > > > > > > Oct 25, 2008 6:08:29 PM > > > org.apache.tomcat.util.digester.SetPropertiesRule begin > > > > > > WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} > > > Setting property 'source' to > > > 'org.eclipse.jst.j2ee.server:PhotographyShop' did not find a > matching > > > property. > > > > > > Oct 25, 2008 6:08:29 PM > > > org.apache.catalina.core.AprLifecycleListener > > > init > > > > > > INFO: The APR based Apache Tomcat Native library which allows > > > optimal > > > performance in production environments was not found on the > > > java.library.path: > > > > C:\JAVA\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WIND > > > OW > > > > > S;C:/JAVA/jre6/bin/client;C:/JAVA/jre6/bin;C:\Database\Oracle\app\orac > > le > > > > > \product\10.2.0\server\bin;c:\Oracle\product\11.1.0\db_1\bin;C:\WINDOW > > S\ > > > system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python22;C:\Program > > > Files\PC-Doctor for > > > > > Windows\;C:\JAVA\JAVA\bin;C:\JAVA\SDK\bin;;C:\PROGRA~1\COMMON~1\MUVEET > > ~1 > > > \030625;C:\PROGRA~1\COMMON~1\MUVEET~1\030625 > > > > > > Oct 25, 2008 6:08:29 PM org.apache.coyote.http11.Http11Protocol init > > > > > > INFO: Initializing Coyote HTTP/1.1 on http-8082 > > > > > > Oct 25, 2008 6:08:29 PM org.apache.catalina.startup.Catalina load > > > > > > INFO: Initialization processed in 1234 ms > > > > > > Oct 25, 2008 6:08:29 PM org.apache.catalina.core.StandardService > > > start > > > > > > INFO: Starting service Catalina > > > > > > Oct 25, 2008 6:08:29 PM org.apache.catalina.core.StandardEngine > > > start > > > > > > INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 > > > > > > Oct 25, 2008 6:08:30 PM org.apache.tomcat.util.digester.Digester > > > endElement > > > > > > SEVERE: End event threw exception > > > > > > java.lang.IllegalArgumentException: Can't convert argument: null > > > > > > at > > > org.apache.tomcat.util.IntrospectionUtils.convert(IntrospectionUtils > > > .j > > > av > > > a:999) > > > > > > at > > > org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.ja > > > va > > > :5 > > > 23) > > > > > > at org.apache.tomcat.util.digester.Rule.end(Rule.java:229) > > > > > > at > > > org.apache.tomcat.util.digester.Digester.endElement(Digester.java:11 > > > 40 > > > ) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElem > > > en > > > t( > > > Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm > > > pl > > > .s > > > canEndElement(Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm > > > pl > > > $F > > > ragmentContentDriver.next(Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next( > > > Un > > > kn > > > own Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm > > > pl > > > .s > > > canDocument(Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse( > > > Un > > > kn > > > own Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse( > > > Un > > > kn > > > own Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown > > > Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(U > > > nk > > > no > > > wn Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser. > > > pa > > > rs > > > e(Unknown Source) > > > > > > at > > > org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644) > > > > > > at > > > org.apache.catalina.startup.ContextConfig.applicationWebConfig(Conte > > > xt > > > Co > > > nfig.java:365) > > > > > > at > > > org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1 > > > 06 > > > 6) > > > > > > at > > > org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConf > > > ig > > > .j > > > ava:261) > > > > > > at > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc > > > le > > > Su > > > pport.java:117) > > > > > > at > > > org.apache.catalina.core.StandardContext.start(StandardContext.java: > > > 42 > > > 52 > > > ) > > > > > > at > > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045 > > > ) > > > > > > at > > > org.apache.catalina.core.StandardHost.start(StandardHost.java:719) > > > > > > at > > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045 > > > ) > > > > > > at > > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:44 > > > 3) > > > > > > at > > > org.apache.catalina.core.StandardService.start(StandardService.java: > > > 51 > > > 6) > > > > > > at > > > org.apache.catalina.core.StandardServer.start(StandardServer.java:71 > > > 0) > > > > > > at org.apache.catalina.startup.Catalina.start(Catalina.java:578) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > > > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > > > > > > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > > > > > > Oct 25, 2008 6:08:30 PM org.apache.catalina.startup.ContextConfig > > > applicationWebConfig > > > > > > SEVERE: Parse error in application web.xml file at > > > jndi:/localhost/PhotographyShop/WEB-INF/web.xml > > > > > > java.lang.IllegalArgumentException: Can't convert argument: null > > > > > > at > > > org.apache.tomcat.util.digester.Digester.createSAXException(Digester > > > .j > > > av > > > a:2808) > > > > > > at > > > org.apache.tomcat.util.digester.Digester.createSAXException(Digester > > > .j > > > av > > > a:2834) > > > > > > at > > > org.apache.tomcat.util.digester.Digester.endElement(Digester.java:11 > > > 43 > > > ) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElem > > > en > > > t( > > > Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm > > > pl > > > .s > > > canEndElement(Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm > > > pl > > > $F > > > ragmentContentDriver.next(Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next( > > > Un > > > kn > > > own Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm > > > pl > > > .s > > > canDocument(Unknown Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse( > > > Un > > > kn > > > own Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse( > > > Un > > > kn > > > own Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown > > > Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(U > > > nk > > > no > > > wn Source) > > > > > > at > > > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser. > > > pa > > > rs > > > e(Unknown Source) > > > > > > at > > > org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644) > > > > > > at > > > org.apache.catalina.startup.ContextConfig.applicationWebConfig(Conte > > > xt > > > Co > > > nfig.java:365) > > > > > > at > > > org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1 > > > 06 > > > 6) > > > > > > at > > > org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConf > > > ig > > > .j > > > ava:261) > > > > > > at > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc > > > le > > > Su > > > pport.java:117) > > > > > > at > > > org.apache.catalina.core.StandardContext.start(StandardContext.java: > > > 42 > > > 52 > > > ) > > > > > > at > > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045 > > > ) > > > > > > at > > > org.apache.catalina.core.StandardHost.start(StandardHost.java:719) > > > > > > at > > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045 > > > ) > > > > > > at > > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:44 > > > 3) > > > > > > at > > > org.apache.catalina.core.StandardService.start(StandardService.java: > > > 51 > > > 6) > > > > > > at > > > org.apache.catalina.core.StandardServer.start(StandardServer.java:71 > > > 0) > > > > > > at org.apache.catalina.startup.Catalina.start(Catalina.java:578) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > > > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > > > > > > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > > > > > > Oct 25, 2008 6:08:30 PM org.apache.catalina.startup.ContextConfig > > > applicationWebConfig > > > > > > SEVERE: Occurred at line 47 column 19 > > > > > > Oct 25, 2008 6:08:30 PM org.apache.catalina.startup.ContextConfig > > > start > > > > > > SEVERE: Marking this application unavailable due to previous > > > error(s) > > > > > > Oct 25, 2008 6:08:30 PM org.apache.catalina.core.StandardContext > > > start > > > > > > SEVERE: Error getConfigured > > > > > > Oct 25, 2008 6:08:30 PM org.apache.catalina.core.StandardContext > > > start > > > > > > SEVERE: Context [/PhotographyShop] startup failed due to previous > > > errors > > > > > > Oct 25, 2008 6:08:30 PM org.apache.coyote.http11.Http11Protocol > > > start > > > > > > INFO: Starting Coyote HTTP/1.1 on http-8082 > > > > > > Oct 25, 2008 6:08:30 PM org.apache.jk.common.ChannelSocket init > > > > > > INFO: JK: ajp13 listening on /0.0.0.0:8009 > > > > > > Oct 25, 2008 6:08:30 PM org.apache.jk.server.JkMain start > > > > > > INFO: Jk running ID=0 time=0/47 config=null > > > > > > Oct 25, 2008 6:08:30 PM org.apache.catalina.startup.Catalina start > > > > > > INFO: Server startup in 1506 ms > > > > > > > _________________________________________________________________ > > Want to read Hotmail messages in Outlook? The Wordsmiths show you how. > > http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Bl > > og > > -cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008 > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > _________________________________________________________________ > When your life is on the go-take your life with you. > http://clk.atdmt.com/MRT/go/115298558/direct/01/ > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Stay organized with simple drag and drop from Windows Live Hotmail. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008