users@jersey.java.net

[Jersey] Re: Problems with Jersey/OpenWebBeans

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Thu, 04 Aug 2011 17:32:26 +0200

Big hello to you too :)

interesting exception. I briefly checked and couldn't find why it should
be thrown.. can you please share your testcase?

> So at this point I couldn't say if I'm looking at a Jersey problem, an OWB
> problem or a bit
> of both. Maybe it's just not a supported configuration, I don't know. One
> possibility could
> be that OWB doesn't sit well alongside Weld, or that Jersey is getting
> confused by having
> multiple CDI implementations on the classpath. I just wondered what you
> would expect to
> happen in this scenario, are there any configuration options I could use to
> alleviate the
> problem etc...
to be honest, I'm not sure about that. It shouldn't be a problem since
AFAIK Jersey uses public API thus is not tightly bound to weld, but we
haven't tried to replace it with any other CDI implementation. To be
honest, I can see lots of other issues, especially with osgi container
(glassfish) since weld seem to be core part of it.

On the other side, it is interesting experiment and it would be nice to
have something like it.

Regards,
Pavel


On 8/4/11 1:21 PM, healeyb wrote:
> Firstly a big hello to everyone on this mailing list, as far as I can
> remember this
> is my first post.
>
> I'm testing OpenWebBeans (OWB) as an alternative CDI implementation to Weld
> on glassfish 3.1.1 but I seem to be encountering some interoperability
> issues with
> Jersey. In a very simple test application I just add the OWB jars to
> WEB-INF/lib, add
> a listener to web.xml and I can deploy the application to the server. But
> this only
> works immediately following a server restart. Subsequent attempts to deploy
> result
> in this stack trace:
>
> SEVERE: java.lang.NullPointerException
> at
> com.sun.jersey.server.impl.cdi.CDIExtension.processAnnotatedField(CDIExtension.java:612)
> at
> com.sun.jersey.server.impl.cdi.CDIExtension.processAnnotatedType(CDIExtension.java:382)
> at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:281)
> at
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:461)
> at
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:473)
> at
> org.apache.webbeans.util.WebBeansUtil.fireProcessAnnotatedTypeEvent(WebBeansUtil.java:2153)
> at
> org.apache.webbeans.config.BeansDeployer.deploySingleAnnotatedType(BeansDeployer.java:528)
> at
> org.apache.webbeans.config.BeansDeployer.deployFromClassPath(BeansDeployer.java:483)
> at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:164)
> at
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:124)
> at
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:77)
> at
> org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:81)
> at
> org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
> at
> com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:662)
>
> SEVERE: An error occured while starting application context path :
> [/SportQuest]
> SEVERE: PWC1306: Startup of context /SportQuest failed due to previous
> errors
> SEVERE: PWC1305: Exception during cleanup after start failed
> org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been
> started
> at
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:874)
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5571)
> at com.sun.enterprise.web.WebModule.stop(WebModule.java:527)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5384)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:662)
>
> I've also seen this exception getting thrown although I've not been able to
> pinpoint
> the precise circumstances that will reproduce it, although it only seems to
> happen
> when the test application has the library Jersey 1.3 (JAX-RS RI) (as shipped
> with
> NetBeans 7.0.1) added to the application classpath:
>
> SEVERE: error calling ClassLoader.defineClass
> java.lang.reflect.InvocationTargetException
> 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:597)
> at
> com.sun.jersey.server.impl.cdi.BeanGenerator.createBeanClass(BeanGenerator.java:107)
> at
> com.sun.jersey.server.impl.cdi.CDIExtension.afterBeanDiscovery(CDIExtension.java:800)
> 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:597)
> at
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:281)
> at
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:461)
> at
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:473)
> at
> org.apache.webbeans.config.BeansDeployer.fireAfterBeanDiscoveryEvent(BeansDeployer.java:268)
> at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:173)
> at
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:124)
> at
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:77)
> at
> org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:81)
> at
> org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
> at
> com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.LinkageError: loader (instance of
> org/glassfish/web/loader/WebappClassLoader): attempted duplicate class
> definition for name: "com/sun/jersey/server/impl/cdi/generated/Bean0"
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
> ... 59 more
>
> SEVERE: java.lang.NullPointerException: annotatedClass is null
> at org.apache.webbeans.util.Asserts.assertNotNull(Asserts.java:51)
> at
> org.apache.webbeans.portable.AnnotatedElementFactory.newAnnotatedType(AnnotatedElementFactory.java:90)
> at
> org.apache.webbeans.portable.events.discovery.AfterBeanDiscoveryImpl.addBean(AfterBeanDiscoveryImpl.java:69)
> at
> com.sun.jersey.server.impl.cdi.CDIExtension.afterBeanDiscovery(CDIExtension.java:803)
> 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:597)
> at
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:281)
> at
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:461)
> at
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:473)
> at
> org.apache.webbeans.config.BeansDeployer.fireAfterBeanDiscoveryEvent(BeansDeployer.java:268)
> at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:173)
> at
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:124)
> at
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:77)
> at
> org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:81)
> at
> org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
> at
> com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)
> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:662)
>
> So at this point I couldn't say if I'm looking at a Jersey problem, an OWB
> problem or a bit
> of both. Maybe it's just not a supported configuration, I don't know. One
> possibility could
> be that OWB doesn't sit well alongside Weld, or that Jersey is getting
> confused by having
> multiple CDI implementations on the classpath. I just wondered what you
> would expect to
> happen in this scenario, are there any configuration options I could use to
> alleviate the
> problem etc...
>
> Thanks,
> Brendan.
>
> p.s. I think it could appropriate to cross post this on the OpenWebBeans
> list to get input
> from both camps.
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Problems-with-Jersey-OpenWebBeans-tp6652305p6652305.html
> Sent from the Jersey mailing list archive at Nabble.com.
>