Hi,
Does anyone have a working application with Glassfish V3 and web beans. I am trying to get a new app working but I get the following error when I deploy it:-
[#|2009-10-05T10:40:30.700+0100|WARNING|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=39;_ThreadName=http-listener-1-(8);|StandardContextValve[]: PWC1321: Error invoking requestInitialized method on ServletRequestListener org.jboss.webbeans.servlet.WebBeansListener
java.lang.IllegalStateException: Singleton not set for WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
at org.jboss.webbeans.bootstrap.api.helpers.TCCLSingletonProvider$TCCLSingleton.get(TCCLSingletonProvider.java:60)
at org.jboss.webbeans.Container.instance(Container.java:52)
at org.jboss.webbeans.servlet.WebBeansListener.requestInitialized(WebBeansListener.java:118)
at org.apache.catalina.core.StandardContextValve.preInvoke(StandardContextValve.java:423)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:333)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:234)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:146)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379)
at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360)
at java.lang.Thread.run(Thread.java:619)
Any help much appreciated.
[Message sent by forum member 'arshadm' (arshadm_at_compuvision.co.uk)]
http://forums.java.net/jive/thread.jspa?messageID=366802