RE: [shale] starting server errors
Here's what they say on their website: Macromedia JRun supports the latest J2EE 1.3 APIs: JSP 1.2 JDBC 2.0 JNDI 1.2 JAAS 1.0 JAXP 1.1 Servlet 2.3 JTA 1.0.1 Java RMI 1.0 JavaMail 1.1 EJB 2.0 JMS 1.0.2 RMI/IIOP 1.0 JMX 1.0 Shawn -Original Message- From: Martin Gainty To: Struts Users Mailing List Sent: 1/14/2006 8:13 AM Subject: Re: [shale] starting server errors sorry for hiking mid-conversation but I assume you are supporting servlet 2.3 and you are running JRun4? thanks, Martin- - Original Message - From: "Craig McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, January 13, 2006 1:38 AM Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Googled and couldn't find anything and not sure what to try and still have > this error: > > 01/12 16:16:18 error Error loading class for Filter shale: Filter is > disabled. > java.lang.IllegalStateException: No Factories configured for this > Application - typically this is because a context listener is not setup in > your web.xml. > A typical config looks like this; > > > org.apache.myfaces.webapp.StartupServletContextListener > tener-class> > > > at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) > > Any help? Sounds like JRun is not obeying the spec requirements about recognizing a element inside a TLD that is inside a JAR file. Both the JSF RI and MyFaces implementations rely on this to implicitly register their servlet context listener implementations that do the configuration step. Temporary workaround is to declare the appropriate listener class in your web.xml. Permanent solution is to bug the JRun guys to obey the specs. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] starting server errors
sorry for hiking mid-conversation but I assume you are supporting servlet 2.3 and you are running JRun4? thanks, Martin- - Original Message - From: "Craig McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, January 13, 2006 1:38 AM Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: Googled and couldn't find anything and not sure what to try and still have this error: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. A typical config looks like this; org.apache.myfaces.webapp.StartupServletContextListener at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) Any help? Sounds like JRun is not obeying the spec requirements about recognizing a element inside a TLD that is inside a JAR file. Both the JSF RI and MyFaces implementations rely on this to implicitly register their servlet context listener implementations that do the configuration step. Temporary workaround is to declare the appropriate listener class in your web.xml. Permanent solution is to bug the JRun guys to obey the specs. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] starting server errors
On 1/13/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Which TLD inside with JAR? Sometimes JRun can be quirky with jars being in > which lib directory, especially when I deploy directory for development > instead of a war. > > I'd be inclined to bug them if I know which J2EE 1.3 functionality to tell > them directly isn't working? If you're using MyFaces 1.1.1, for example, you can do a "jar tvf" on the myfaces-all.jar file and see the four TLD files in the META-INF directory. One of those has a element to registers the listener that configures MyFaces. Craig Maybe I'll try to run an updater on JRun. They might have added that > support after the original version was released. > > > Shawn > > -Original Message- > From: [EMAIL PROTECTED] > To: Struts Users Mailing List > Sent: 1/13/2006 12:38 AM > Subject: Re: [shale] starting server errors > > On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > > > Googled and couldn't find anything and not sure what to try and still > have > > this error: > > > > 01/12 16:16:18 error Error loading class for Filter shale: Filter is > > disabled. > > java.lang.IllegalStateException: No Factories configured for this > > Application - typically this is because a context listener is not > setup in > > your web.xml. > > A typical config looks like this; > > > > > > > org.apache.myfaces.webapp.StartupServletContextListener > > > tener-class> > > > > > > at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) > > > > Any help? > > > Sounds like JRun is not obeying the spec requirements about recognizing > a > element inside a TLD that is inside a JAR file. Both the JSF > RI > and MyFaces implementations rely on this to implicitly register their > servlet context listener implementations that do the configuration step. > > Temporary workaround is to declare the appropriate listener class in > your > web.xml. > > Permanent solution is to bug the JRun guys to obey the specs. > > Craig > > > > This email may contain confidential material. > If you were not an intended recipient, > Please notify the sender and delete all copies. > We may monitor email to and from our network. > > >
RE: [shale] starting server errors
I tried this and it doesn't work: Temporary workaround is to declare the appropriate listener class in your web.xml. Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Friday, January 13, 2006 12:39 AM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Googled and couldn't find anything and not sure what to try and still have > this error: > > 01/12 16:16:18 error Error loading class for Filter shale: Filter is > disabled. > java.lang.IllegalStateException: No Factories configured for this > Application - typically this is because a context listener is not setup in > your web.xml. > A typical config looks like this; > > > org.apache.myfaces.webapp.StartupServletContextListener > tener-class> > > > at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) > > Any help? Sounds like JRun is not obeying the spec requirements about recognizing a element inside a TLD that is inside a JAR file. Both the JSF RI and MyFaces implementations rely on this to implicitly register their servlet context listener implementations that do the configuration step. Temporary workaround is to declare the appropriate listener class in your web.xml. Permanent solution is to bug the JRun guys to obey the specs. Craig This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [shale] starting server errors
Which TLD inside with JAR? Sometimes JRun can be quirky with jars being in which lib directory, especially when I deploy directory for development instead of a war. I'd be inclined to bug them if I know which J2EE 1.3 functionality to tell them directly isn't working? Maybe I'll try to run an updater on JRun. They might have added that support after the original version was released. Shawn -Original Message- From: [EMAIL PROTECTED] To: Struts Users Mailing List Sent: 1/13/2006 12:38 AM Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Googled and couldn't find anything and not sure what to try and still have > this error: > > 01/12 16:16:18 error Error loading class for Filter shale: Filter is > disabled. > java.lang.IllegalStateException: No Factories configured for this > Application - typically this is because a context listener is not setup in > your web.xml. > A typical config looks like this; > > > org.apache.myfaces.webapp.StartupServletContextListener > tener-class> > > > at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) > > Any help? Sounds like JRun is not obeying the spec requirements about recognizing a element inside a TLD that is inside a JAR file. Both the JSF RI and MyFaces implementations rely on this to implicitly register their servlet context listener implementations that do the configuration step. Temporary workaround is to declare the appropriate listener class in your web.xml. Permanent solution is to bug the JRun guys to obey the specs. Craig This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] starting server errors
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Googled and couldn't find anything and not sure what to try and still have > this error: > > 01/12 16:16:18 error Error loading class for Filter shale: Filter is > disabled. > java.lang.IllegalStateException: No Factories configured for this > Application - typically this is because a context listener is not setup in > your web.xml. > A typical config looks like this; > > > org.apache.myfaces.webapp.StartupServletContextListener > tener-class> > > > at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) > > Any help? Sounds like JRun is not obeying the spec requirements about recognizing a element inside a TLD that is inside a JAR file. Both the JSF RI and MyFaces implementations rely on this to implicitly register their servlet context listener implementations that do the configuration step. Temporary workaround is to declare the appropriate listener class in your web.xml. Permanent solution is to bug the JRun guys to obey the specs. Craig
RE: [shale] starting server errors
Googled and couldn't find anything and not sure what to try and still have this error: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. A typical config looks like this; org.apache.myfaces.webapp.StartupServletContextListener at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) Any help? -Original Message- From: Garner, Shawn Sent: Thursday, January 12, 2006 4:18 PM To: 'Struts Users Mailing List' Subject: RE: [shale] starting server errors Alright I fixed the dtd problem. Stupid Jrun had a bad one in their online examples. This is my only error left: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. A typical config looks like this; org.apache.myfaces.webapp.StartupServletContextListener at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) Shawn -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 4:07 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I'm not getting the el error anymore but still getting the following: I'm afraid I'm out of ideas. At this point I'd want Craig to confirm that it _is_ still possible to use Shale in a Servlet 2.3 environment. (The website says that it's not a committed feature...) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [shale] starting server errors
Alright I fixed the dtd problem. Stupid Jrun had a bad one in their online examples. This is my only error left: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. A typical config looks like this; org.apache.myfaces.webapp.StartupServletContextListener at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) Shawn -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 4:07 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I'm not getting the el error anymore but still getting the following: I'm afraid I'm out of ideas. At this point I'd want Craig to confirm that it _is_ still possible to use Shale in a Servlet 2.3 environment. (The website says that it's not a committed feature...) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] starting server errors
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I'm not getting the el error anymore but still getting the following: I'm afraid I'm out of ideas. At this point I'd want Craig to confirm that it _is_ still possible to use Shale in a Servlet 2.3 environment. (The website says that it's not a committed feature...) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [shale] starting server errors
I'm not getting the el error anymore but still getting the following: 01/12 15:44:23 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. A typical config looks like this; org.apache.myfaces.webapp.StartupServletContextListener at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) at org.apache.shale.faces.ShaleApplicationFilter.getLifecycle(ShaleApplicationF ilter.java:404) and 01/12 15:44:23 info [axis] Initializing Shale Application Filter javax.faces.FacesException: java.io.FileNotFoundException: http://java.sun.com/j2ee/dtds/web-app_2.3.dtd at org.apache.myfaces.webapp.webxml.WebXmlParser.parse(WebXmlParser.java:105) at org.apache.myfaces.webapp.webxml.WebXml.init(WebXml.java:135) at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupSer vletContextListener.java:66) -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 3:40 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > It says: > > If you are using a JSP 1.2 container like Tomcat 4 you must also copy the > file jsp-2.0.jar to your WEB-INF/lib dir > > I'm not using Tomcat 4 but am using a 1.2 container. > Where do I get the jsp-2.0.jar file? I assume it means the jsp-api jar (but I haven't tried what you're attempting.) Try here: http://www.ibiblio.org/maven2/javax/servlet/jsp-api/2.0/ Where did you see that message, in case it needs to be corrected? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] starting server errors
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > It says: > > If you are using a JSP 1.2 container like Tomcat 4 you must also copy the > file jsp-2.0.jar to your WEB-INF/lib dir > > I'm not using Tomcat 4 but am using a 1.2 container. > Where do I get the jsp-2.0.jar file? I assume it means the jsp-api jar (but I haven't tried what you're attempting.) Try here: http://www.ibiblio.org/maven2/javax/servlet/jsp-api/2.0/ Where did you see that message, in case it needs to be corrected? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [shale] starting server errors
It says: If you are using a JSP 1.2 container like Tomcat 4 you must also copy the file jsp-2.0.jar to your WEB-INF/lib dir I'm not using Tomcat 4 but am using a 1.2 container. Where do I get the jsp-2.0.jar file? Shawn -Original Message- From: Garner, Shawn Sent: Thursday, January 12, 2006 3:18 PM To: 'Struts Users Mailing List' Subject: RE: [shale] starting server errors I think I might be missing some myfaces dependency jars. -Original Message- From: Garner, Shawn Sent: Thursday, January 12, 2006 3:03 PM To: 'Struts Users Mailing List' Subject: RE: [shale] starting server errors Yes, I did. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 2:55 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I found one reason it wasn't working. > I had to go back to this version of web-app. > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/j2ee/dtds/web-app_2.3.dtd";> > > After that though I'm getting some errors upon startup: > Also getting this: > 01/12 14:29:29 error Deployer Service failed to deploy > file:/D:/dev/totw07shale/changeform/ > * javax/servlet/jsp/el/ELException > * null > [1]java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException When you dropped back to Servlet 2.3, did you also switch to JSTL 1.0? There is some information on running Shale on a Servlet 2.3 platform here: http://struts.apache.org/struts-shale/index.html#Foundations -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [shale] starting server errors
I think I might be missing some myfaces dependency jars. -Original Message- From: Garner, Shawn Sent: Thursday, January 12, 2006 3:03 PM To: 'Struts Users Mailing List' Subject: RE: [shale] starting server errors Yes, I did. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 2:55 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I found one reason it wasn't working. > I had to go back to this version of web-app. > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/j2ee/dtds/web-app_2.3.dtd";> > > After that though I'm getting some errors upon startup: > Also getting this: > 01/12 14:29:29 error Deployer Service failed to deploy > file:/D:/dev/totw07shale/changeform/ > * javax/servlet/jsp/el/ELException > * null > [1]java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException When you dropped back to Servlet 2.3, did you also switch to JSTL 1.0? There is some information on running Shale on a Servlet 2.3 platform here: http://struts.apache.org/struts-shale/index.html#Foundations -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [shale] starting server errors
Yes, I did. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 2:55 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I found one reason it wasn't working. > I had to go back to this version of web-app. > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/j2ee/dtds/web-app_2.3.dtd";> > > After that though I'm getting some errors upon startup: > Also getting this: > 01/12 14:29:29 error Deployer Service failed to deploy > file:/D:/dev/totw07shale/changeform/ > * javax/servlet/jsp/el/ELException > * null > [1]java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException When you dropped back to Servlet 2.3, did you also switch to JSTL 1.0? There is some information on running Shale on a Servlet 2.3 platform here: http://struts.apache.org/struts-shale/index.html#Foundations -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] starting server errors
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I found one reason it wasn't working. > I had to go back to this version of web-app. > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/j2ee/dtds/web-app_2.3.dtd";> > > After that though I'm getting some errors upon startup: > Also getting this: > 01/12 14:29:29 error Deployer Service failed to deploy > file:/D:/dev/totw07shale/changeform/ > * javax/servlet/jsp/el/ELException > * null > [1]java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException When you dropped back to Servlet 2.3, did you also switch to JSTL 1.0? There is some information on running Shale on a Servlet 2.3 platform here: http://struts.apache.org/struts-shale/index.html#Foundations -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]