Yes, that was the problem. Thanks!

Greatings
Martin Haimberger

On 2/26/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
is your app folder containing javx.el ?

-M

On 2/26/07, Martin Haimberger <[EMAIL PROTECTED]> wrote:
> Hy again,
>
> i have run the demoapplication with jetty and now i see an exception.
> I dont know why Tomcat 6.0.9 has not shown this exeption.
>
> Maybe it helps:
>
> DEBUG [main] (DefaultFacesInitializer.java:83) - jspfactory =
> [EMAIL PROTECTED]
> 2007-02-26 16:11:58.556::WARN:  failed
> [EMAIL 
PROTECTED]/test-webapp,jar:file:/Developer/jetty-6.1.2rc0/webapps/test-webapp.war!/}
> java.lang.LinkageError: Class javax/el/ExpressionFactory violates
> loader constraints
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:365)
>         at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:336)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:365)
>         at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:336)
>         at javax.el.FactoryFinder.newInstance(FactoryFinder.java:52)
>         at javax.el.FactoryFinder.find(FactoryFinder.java:162)
>         at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:154)
>         at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:125)
>         at 
org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:65)
>         at 
org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:88)
>         at 
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57)
>         at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:512)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
>         at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1201)
>         at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:482)
>         at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:444)
>         at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:141)
>         at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
>         at org.mortbay.jetty.Server.doStart(Server.java:210)
>         at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.mortbay.start.Main.invokeMain(Main.java:183)
>         at org.mortbay.start.Main.start(Main.java:497)
>         at org.mortbay.start.Main.main(Main.java:115)
>
> Do i have a wrong javax el package ?
>
> Regards and thanks for your help.
> Martin Haimberger
>
> On 2/26/07, Martin Haimberger <[EMAIL PROTECTED]> wrote:
> > Hy,
> >
> > i have found the place in the code where the problem resists:
> >
> > In the Method:
> >
> >     private void configureResolverForJSP(JspApplicationContext appCtx,
> > RuntimeConfig runtimeConfig)
> >     {
> >
> >         FacesCompositeELResolver facesCompositeELResolver = new
> > FacesCompositeELResolver(Scope.JSP);
> >
> > This is the last line which gets executed. But no exception is thrown:
> > ------->>>>        appCtx.addELResolver(facesCompositeELResolver);
> >
> >         PhaseListener resolverForJSPInitializer = new 
ResolverForJSPInitializer(
> >                 createResolverBuilderForJSP(runtimeConfig),
> > facesCompositeELResolver);
> >
> >         LifecycleFactory factory = (LifecycleFactory)
> > FactoryFinder.getFactory(FactoryFinder.LIFECYCLE_FACTORY);
> >         for (Iterator<String> iter = factory.getLifecycleIds(); 
iter.hasNext();)
> >         {
> >             
factory.getLifecycle(iter.next()).addPhaseListener(resolverForJSPInitializer);
> >         }
> >     }
> >
> > Any Idea or is the current code from the svn repos not working ?
> >
> > Regards,
> > Martin
> >
> >
> > On 2/26/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> > > You can run jetty as a m2 plugin. very neat !
> > >
> > > -M
> > >
> > > On 2/26/07, Martin Haimberger <[EMAIL PROTECTED]> wrote:
> > > > Sorry for spamming, but is there another Application Server which will
> > > > work with MyFaces 1.2 and Intellij Idea ?
> > > >
> > > > Regards,
> > > > Martin Haimberger
> > > >
> > > > On 2/26/07, Martin Haimberger <[EMAIL PROTECTED]> wrote:
> > > > > No nothing more. No Exception, nothing. I will try Jetty6.1.x, i hope
> > > > > the myfaces1.2 will start.
> > > > >
> > > > > Regards,
> > > > > Martin Haimberger
> > > > >
> > > > > On 2/26/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> > > > > > does the tomcat log say more?
> > > > > >
> > > > > > I am able to deploy a jsf 1.2 app with Jetty6.1.x
> > > > > >
> > > > > > -M
> > > > > >
> > > > > > On 2/26/07, Martin Haimberger <[EMAIL PROTECTED]> wrote:
> > > > > > > Hy *,
> > > > > > >
> > > > > > > i am going to help to develop myfaces 1.2. I have checked it out,
> > > > > > > compiled it (with some difficulties, because some jars were not
> > > > > > > found). I installed tomcat 6.0.9 alpha and i got this error:
> > > > > > >
> > > > > > > DEBUG [main] (HtmlRenderKitImpl.java:112) - add Renderer family =
> > > > > > > javax.faces.SelectOne rendererType = javax.faces.Radio renderer 
class
> > > > > > > = org.apache.myfaces.renderkit.html.HtmlRadioRenderer
> > > > > > >   INFO [main] (FacesConfigurator.java:972) - Serialization 
provider :
> > > > > > > class 
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
> > > > > > > Feb 26, 2007 2:14:34 PM org.apache.catalina.core.StandardContext 
start
> > > > > > > SEVERE: Error listenerStart
> > > > > > > Feb 26, 2007 2:14:34 PM org.apache.catalina.core.StandardContext 
start
> > > > > > >
> > > > > > > I am running Intellij 6.0.4 and tomcat 6.0.9 on MacOsX.
> > > > > > >
> > > > > > > Has someone any idea what i did wrong?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Martin Haimberger
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Matthias Wessendorf
> > > > > > http://tinyurl.com/fmywh
> > > > > >
> > > > > > further stuff:
> > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
>


--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to