here is the stack trace at start up with your latest fix
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS)
for context '/iplocks'
log4j:WARN No appenders could be found for logger
(org.springframework.util.ClassUtils).
log4j:WARN Please initialize the log4j system properly.
javax.faces.FacesException:
org.apache.myfaces.orchestra.lib.jsf.OrchestraApplicationFactory
at
javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:574)
at
javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:460)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
at
com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:515)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:563)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:537)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:436)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
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: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:567)
... 21 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)
... 26 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)
... 29 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:263)
at
com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:257)
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:152)
at
com.sun.faces.application.ApplicationImpl.<init>(ApplicationImpl.java:132)
at
com.sun.faces.application.ApplicationImpl$$EnhancerByCGLIB$$c8256300.<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)
... 37 more
Sep 5, 2007 8:01:53 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: 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:574)
at
javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:460)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
at
com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:515)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:563)
at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:537)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:436)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
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: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:567)
... 21 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)
... 26 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)
... 29 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:263)
at
com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:257)
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:152)
at
com.sun.faces.application.ApplicationImpl.<init>(ApplicationImpl.java:132)
at
com.sun.faces.application.ApplicationImpl$$EnhancerByCGLIB$$c8256300.<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)
... 37 more
Let me know if can provide any other info.
-D
Mario Ivankovits wrote:
>
> Hi!
>> However, the proxy solution does not work either, unforturnately my app
>> crashes at startup
>> with no provided stacktrace. :(
>>
> Please try again ... hope it works, else I'll have a look at it tomorrow
> setting up a JSF 1.2 environment.
>
> Thanks!
> Ciao,
> Mario
>
>
>
--
View this message in context:
http://www.nabble.com/-Orchestra--Latest-snapshot-throws-UnsupportedException-tf4382435.html#a12499884
Sent from the My Faces - Dev mailing list archive at Nabble.com.