myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto Gori (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (ORCHESTRA-6) Latest Orchestra fails on JSF RI 1.2_04 and JSF RI 1.2_05
Date Wed, 03 Oct 2007 20:39:50 GMT

    [ https://issues.apache.org/jira/browse/ORCHESTRA-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532247
] 

Alberto Gori commented on ORCHESTRA-6:
--------------------------------------

you are right. USing the jar from the maven build it is ok.
Thankyou!

> Latest Orchestra fails on JSF RI 1.2_04 and JSF RI 1.2_05
> ---------------------------------------------------------
>
>                 Key: ORCHESTRA-6
>                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-6
>             Project: MyFaces Orchestra
>          Issue Type: Bug
>    Affects Versions: 1.0-SNAPSHOT
>         Environment: JSF RI 1.2_04 and JSF RI 1.2_05 +   tomcat 6 + facelets 1.1.12
>            Reporter: Alberto Gori
>
> Using the Orchestra bundled with the example (built on august) it works with RI implementation.

> Instead when I tried with latest SNAPSHOT it fails at start up and this is the stack
trace:
> 3-ott-2007 21.44.13 org.apache.catalina.core.StandardContext listenerStart
> GRAVE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
> javax.faces.FacesException: org.apache.myfaces.orchestra.lib.jsf.OrchestraApplicationFactory
> 	at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
> 	at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
> 	at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
> 	at com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:465)
> 	at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:513)
> 	at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487)
> 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
> 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> 	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> 	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:443)
> 	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> 	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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> 	at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
> 	... 30 more
> Caused by: org.springframework.aop.framework.AopConfigException: Couldn't generate CGLIB
subclass of class [class com.sun.faces.application.ApplicationImpl]: Common causes of this
problem include using a final class or a non-visible class; nested exception is net.sf.cglib.core.CodeGenerationException:
java.lang.IllegalStateException-->Application was not properly initialized at startup,
could not find Factory: javax.faces.application.ApplicationFactory
> 	at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:202)
> 	at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:143)
> 	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:97)
> 	at org.apache.myfaces.orchestra.lib.jsf.OrchestraApplicationFactory.<init>(OrchestraApplicationFactory.java:73)
> 	... 35 more
> Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.IllegalStateException-->Application
was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
> 	at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:235)
> 	at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:220)
> 	at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:216)
> 	at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:640)
> 	at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:538)
> 	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:225)
> 	at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
> 	at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285)
> 	at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:196)
> 	... 38 more
> Caused by: java.lang.IllegalStateException: Application was not properly initialized
at startup, could not find Factory: javax.faces.application.ApplicationFactory
> 	at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
> 	at com.sun.faces.config.ConfigureListener$InitFacesContext.getApplication(ConfigureListener.java:1614)
> 	at com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:255)
> 	at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:144)
> 	at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:122)
> 	at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
> 	at com.sun.faces.application.ApplicationAssociate.<init>(ApplicationAssociate.java:151)
> 	at com.sun.faces.application.ApplicationImpl.<init>(ApplicationImpl.java:156)
> 	at com.sun.faces.application.ApplicationImpl$$EnhancerByCGLIB$$65fcdbdf.<init>(<generated>)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> 	at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:228)
> 	... 46 more
> 3-ott-2007 21.44.13 org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring root WebApplicationContext
> 3-ott-2007 21.44.22 org.apache.catalina.core.ApplicationContext log
> INFO: Closing Spring root WebApplicationContext

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message