It seems I have found the issue. I have tried to pack the EAR with only the ejb module and it was working. Then I noticed I had a (empty) ejb-jar.xml within a WAR application and it seems that it was causing some conflicts with the ejb module. Once I removed the ejb-jar.xml file from the WAR it started to work.
I still get some minor warnings on deployment but after these warnings the tasks bean are firing correctly. I suspect it is due to deployment order, it seems that quartz tasks wants to start when the EJBs are not yet deployed. Here is the output: http://pastebin.com/qXh9Mbqj I remember once, in JBoss there was an annotation @Depends to ensure that a Bean is not deployed before another. If I'm not wrong, it has been removed or deprecated in JBoss. Do you know if there is a JEE standard way to achieve that behaviour? Thanks, Luca On Thu, Nov 15, 2012 at 9:39 AM, Romain Manni-Bucau <rmannibu...@gmail.com>wrote: > Hi, > > can you give us some more details please? > > i tried an ear with only this ejb (+ the loggymanager) and it worked for me > (ear = only one ejbmodule) > > if you can share any project reproducing the error it can help a lot (would > be nice to get it fixed for next release and it seems JL started the > process this morning so i guess we have 1 or 2 days) > > *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*< > http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > > > > > 2012/11/15 Luca Merolla <luca.mero...@gmail.com> > > > I don't get the NPE anymore but it seems that something else got broken. > > > > Now I get some NPE in a different part of the application where I have > some > > Task beans that are running every X seconds. These tasks uses @EJB, which > > since the last version seems to not work. > > > > Here is the output: http://pastebin.com/K2cQ2L7n > > > > Here is the very simple code of one TaskBean > > > > @Stateless > > public class LobbyTaskBean implements TaskScheduler { > > private final Logger LOGGER = > > LoggerFactory.getLogger(getClass().getName()); > > > > @EJB > > private LobbyPublisherManagerLocal lobbyPublisherManager; > > > > @Override > > @Schedule(second = "*/5", minute = "*", hour = "*", persistent = false) > > public void performTask() { > > if (lobbyPublisherManager != null) { > > LOGGER.debug("Performing new task: lobby update"); > > > > lobbyPublisherManager.updateLobby(); > > } else { > > LOGGER.warn("{} not available yet.", getClass().getSimpleName()); > > } > > } > > } > > > > > > On Wed, Nov 14, 2012 at 6:21 PM, Romain Manni-Bucau > > <rmannibu...@gmail.com>wrote: > > > > > mea culpa, > > > > > > reupdated trunk (deployment will be done in the night), > > > > > > got some sucessfull results with my tests but they are very simple (i'm > > not > > > a big ear user) so if you still encounter some issues please shout ;) > > > > > > *Romain Manni-Bucau* > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > http://rmannibucau.wordpress.com/> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > *Github: https://github.com/rmannibucau* > > > > > > > > > > > > > > > 2012/11/14 Luca Merolla <luca.mero...@gmail.com> > > > > > > > Now I'm getting a NPE in all the WAR application (I have 3 of them). > > This > > > > is the output, which is the same for all the WARs > > > > > > > > Nov 14, 2012 3:21:16 PM org.apache.openejb.cdi.OpenEJBLifecycle > > > > startApplication > > > > SEVERE: CDI Beans module deployment failed > > > > java.lang.NullPointerException > > > > at org.apache.webbeans.util.Asserts.assertNotNull(Asserts.java:63) > > > > at > > > > > > > > > > > > > > org.apache.webbeans.intercept.ejb.EJBInterceptorConfig.configure(EJBInterceptorConfig.java:63) > > > > at > > > > > > > > > > > > > > org.apache.webbeans.config.DefinitionUtil.defineBeanInterceptorStack(DefinitionUtil.java:1141) > > > > at > > org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:255) > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:222) > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:280) > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:150) > > > > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:61) > > > > at > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1020) > > > > at > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:869) > > > > at > > > > > > > > > > > > > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:121) > > > > at > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > > > at > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > > > > at > > > > > > > > > > > > > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) > > > > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > > > at > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > > > > at > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > > > at > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > > > at > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > > > > at java.lang.Thread.run(Thread.java:679) > > > > Nov 14, 2012 3:21:16 PM org.apache.tomee.catalina.TomcatWebAppBuilder > > > > startInternal > > > > SEVERE: Error merging Java EE JNDI entries in to war /pn-galaxy: > > > Exception: > > > > couldn't start owb context > > > > org.apache.openejb.OpenEJBRuntimeException: couldn't start owb > context > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:152) > > > > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:61) > > > > at > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1020) > > > > at > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:869) > > > > at > > > > > > > > > > > > > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:121) > > > > at > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > > > at > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > > > > at > > > > > > > > > > > > > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) > > > > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > > > at > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > > > > at > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > > > at > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > > > at > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > > > > at java.lang.Thread.run(Thread.java:679) > > > > Caused by: org.apache.openejb.OpenEJBRuntimeException: > > > > java.lang.NullPointerException > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:323) > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:150) > > > > ... 15 more > > > > Caused by: java.lang.NullPointerException > > > > at org.apache.webbeans.util.Asserts.assertNotNull(Asserts.java:63) > > > > at > > > > > > > > > > > > > > org.apache.webbeans.intercept.ejb.EJBInterceptorConfig.configure(EJBInterceptorConfig.java:63) > > > > at > > > > > > > > > > > > > > org.apache.webbeans.config.DefinitionUtil.defineBeanInterceptorStack(DefinitionUtil.java:1141) > > > > at > > org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:255) > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:222) > > > > at > > > > > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:280) > > > > ... 16 more > > > > > > > > > > > > On Wed, Nov 14, 2012 at 2:50 PM, Romain Manni-Bucau > > > > <rmannibu...@gmail.com>wrote: > > > > > > > > > I'm redeploying a snapshot, maybe try (in 15mn or when > > > > > http://ci.apache.org/builders/openejb-trunk-deploy/builds/606 is > > green > > > > ;)) > > > > > > > > > > *Romain Manni-Bucau* > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > > http://rmannibucau.wordpress.com/> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > > *Github: https://github.com/rmannibucau* > > > > > > > > > > > > > > > > > > > > > > > > > 2012/11/14 Luca Merolla <luca.mero...@gmail.com> > > > > > > > > > > > I can confirm that it has nothing to do with ObjectMapper. I have > > > tried > > > > > to > > > > > > inject a simple StringUtil class (it has no external > dependencies) > > > that > > > > > is > > > > > > in a jar library (remote.jar). > > > > > > > > > > > > During deployment, the WAR application (galaxy) fails with the > > > > following > > > > > > exception: > > > > > > Nov 14, 2012 2:41:48 PM org.apache.openejb.cdi.OpenEJBLifecycle > > > > > > startApplication > > > > > > SEVERE: CDI Beans module deployment failed > > > > > > javax.enterprise.inject.UnsatisfiedResolutionException: Api type > > > > > > [org.test.remote.tools.StringUtils] is not found with the > > qualifiers > > > > > > Qualifiers: [@javax.enterprise.inject.Default()] > > > > > > for injection into Field Injection Point, field name : utils, > Bean > > > > > Owner : > > > > > > [JsonProcessor, Name:null, WebBeans Type:MANAGED, API > > > > > > Types:[org.test.galaxy.JsonProcessor,java.lang.Object], > > > > > > > > > > > > Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:77) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:193) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1025) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.WebappBeanManager.validate(WebappBeanManager.java:200) > > > > > > at > > > > org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:269) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:222) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:280) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:150) > > > > > > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:61) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1004) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:853) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:121) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) > > > > > > at > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > > > > > > at > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > > > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > > > > > > at java.lang.Thread.run(Thread.java:679) > > > > > > Nov 14, 2012 2:41:48 PM > > org.apache.tomee.catalina.TomcatWebAppBuilder > > > > > > startInternal > > > > > > SEVERE: Error merging Java EE JNDI entries in to war /pn-galaxy: > > > > > Exception: > > > > > > couldn't start owb context > > > > > > org.apache.openejb.OpenEJBRuntimeException: couldn't start owb > > > context > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:152) > > > > > > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:61) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1004) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:853) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:121) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) > > > > > > at > > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > > > > > > at > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > > > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > > > > > > at java.lang.Thread.run(Thread.java:679) > > > > > > Caused by: org.apache.openejb.OpenEJBRuntimeException: > > > > > > javax.enterprise.inject.UnsatisfiedResolutionException: Api type > > > > > > [org.test.remote.tools.StringUtils] is not found with the > > qualifiers > > > > > > Qualifiers: [@javax.enterprise.inject.Default()] > > > > > > for injection into Field Injection Point, field name : utils, > Bean > > > > > Owner : > > > > > > [JsonProcessor, Name:null, WebBeans Type:MANAGED, API > > > > > > Types:[org.test.galaxy.JsonProcessor,java.lang.Object], > > > > > > > > > > > > Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:323) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:150) > > > > > > ... 15 more > > > > > > Caused by: > javax.enterprise.inject.UnsatisfiedResolutionException: > > > Api > > > > > type > > > > > > [org.test.remote.tools.StringUtils] is not found with the > > qualifiers > > > > > > Qualifiers: [@javax.enterprise.inject.Default()] > > > > > > for injection into Field Injection Point, field name : utils, > Bean > > > > > Owner : > > > > > > [JsonProcessor, Name:null, WebBeans Type:MANAGED, API > > > > > > Types:[org.test.galaxy.JsonProcessor,java.lang.Object], > > > > > > > > > > > > Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]] > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:77) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.webbeans.container.InjectionResolver.checkInjectionPoints(InjectionResolver.java:193) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:1025) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.WebappBeanManager.validate(WebappBeanManager.java:200) > > > > > > at > > > > org.apache.openejb.cdi.BeansDeployer.validate(BeansDeployer.java:269) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.BeansDeployer.validateInjectionPoints(BeansDeployer.java:222) > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:280) > > > > > > ... 16 more > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Nov 14, 2012 at 2:38 PM, Romain Manni-Bucau > > > > > > <rmannibu...@gmail.com>wrote: > > > > > > > > > > > > > wonder if https://issues.apache.org/jira/browse/TOMEE-569helps > > > > > > > > > > > > > > *Romain Manni-Bucau* > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > > > > http://rmannibucau.wordpress.com/> > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > > > > *Github: https://github.com/rmannibucau* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2012/11/14 Romain Manni-Bucau <rmannibu...@gmail.com> > > > > > > > > > > > > > > > hmm, > > > > > > > > > > > > > > > > can you give a simple try with the bean manager please? using > > > > > > deltaspike > > > > > > > > with BeanProvider can be enough for such a test > > > > > > > > > > > > > > > > *Romain Manni-Bucau* > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > > > > http://rmannibucau.wordpress.com/> > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > > > > > *Github: https://github.com/rmannibucau* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2012/11/14 Luca Merolla <luca.mero...@gmail.com> > > > > > > > > > > > > > > > >> Hi Romain, > > > > > > > >> > > > > > > > >> I'm trying to understand what is the problem, at first it > > seems > > > > > > related > > > > > > > to > > > > > > > >> jackson ObjectMapper injection... > > > > > > > >> However even creating a dummy class like > > > > > > > >> > > > > > > > >> public class Dummy{ > > > > > > > >> private ObjectMapper mapper = new ObjectMapper(); > > > > > > > >> } > > > > > > > >> > > > > > > > >> Then I place the Dummy class in a jar library and from the > > WAR I > > > > try > > > > > > to > > > > > > > >> inject Dummy, it fails. > > > > > > > >> > > > > > > > >> @Inject > > > > > > > >> private Dummy dummy; > > > > > > > >> > > > > > > > >> I need to understand if it's due to Jackson or something > else. > > > If > > > > I > > > > > > can > > > > > > > >> I'll try to share an example to replicate the issue. > > > > > > > >> > > > > > > > >> Luca > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> On Wed, Nov 14, 2012 at 2:07 PM, Romain Manni-Bucau > > > > > > > >> <rmannibu...@gmail.com>wrote: > > > > > > > >> > > > > > > > >> > Hi, > > > > > > > >> > > > > > > > > >> > if you have specific issues please share them, > > > > > > > >> > > > > > > > > >> > if you think of the objectmapper of jackson it is maybe > > > jackson > > > > is > > > > > > > >> excluded > > > > > > > >> > (in scanning) > > > > > > > >> > > > > > > > > >> > *Romain Manni-Bucau* > > > > > > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > > > > >> > *Blog: **http://rmannibucau.wordpress.com/*< > > > > > > > >> > http://rmannibucau.wordpress.com/> > > > > > > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > > > > >> > *Github: https://github.com/rmannibucau* > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > 2012/11/14 Luca Merolla <luca.mero...@gmail.com> > > > > > > > >> > > > > > > > > >> > > Hi everyone, > > > > > > > >> > > > > > > > > > >> > > recently I have been busy with other stuff but I have > > > started > > > > to > > > > > > use > > > > > > > >> > > 1.5.1-SNAPSHOTS and with it the CDI seems to work within > > the > > > > > EAR. > > > > > > > >> > > > > > > > > > >> > > My question is, what is the current status? Is there > still > > > > > > something > > > > > > > >> > > missing in the implementation or it has been fixed? > > > > > > > >> > > > > > > > > > >> > > I'm asking because I'm having some minor problems to > > Inject > > > > some > > > > > > > >> classes > > > > > > > >> > > from 3rd party libraries in a WAR application (deployed > > in a > > > > EAR > > > > > > > >> folder) > > > > > > > >> > > > > > > > > > >> > > For example, > > > > > > > >> > > @Inject > > > > > > > >> > > private ObjectMapper mapper; > > > > > > > >> > > > > > > > > > >> > > Doesn't work, while the following is working > > > > > > > >> > > private ObjectMapper mapper = new ObjectMapper(); > > > > > > > >> > > > > > > > > > >> > > For example with 1.5.0, the following was not working > with > > > the > > > > > > EAR: > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/2012/05/15/tomee-or-how-to-use-websocket-with-cdi/ > > > > > > > >> > > > > > > > > > >> > > While now with the 1.5.1-SNAPSHOT works. It seems to me > > that > > > > > there > > > > > > > >> might > > > > > > > >> > be > > > > > > > >> > > still some small issues when Injecting classes from > other > > > jar > > > > > > > >> libraries. > > > > > > > >> > > > > > > > > > >> > > Luca > > > > > > > >> > > > > > > > > > >> > > -- > > > > > > > >> > > *Luca Merolla* > > > > > > > >> > > Management, Business & Technology Consultant > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* > > > > > +393774569974 > > > > > > > >> > > *Email:* l...@merollaconsulting.com > > > > > > > >> > > *www.linkedin.com/in/lucamerolla* > > > > > > > >> > > *Website <http://www.merollaconsulting.com>* > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > Merolla Consulting Limited > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> -- > > > > > > > >> *Luca Merolla* > > > > > > > >> Management, Business & Technology Consultant > > > > > > > >> > > > > > > > >> > > > > > > > >> <http://maps.google.com/maps?q=&hl=en> *Mobile:* > > > +393774569974 > > > > > > > >> *Email:* l...@merollaconsulting.com > > > > > > > >> *www.linkedin.com/in/lucamerolla* > > > > > > > >> *Website <http://www.merollaconsulting.com>* > > > > > > > >> > > > > > > > >> > > > > > > > >> Merolla Consulting Limited > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > *Luca Merolla* > > > > > > Management, Business & Technology Consultant > > > > > > > > > > > > > > > > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > > > > > > *Email:* l...@merollaconsulting.com > > > > > > *www.linkedin.com/in/lucamerolla* > > > > > > *Website <http://www.merollaconsulting.com>* > > > > > > > > > > > > > > > > > > Merolla Consulting Limited > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > *Luca Merolla* > > > > Management, Business & Technology Consultant > > > > > > > > > > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > > > > *Email:* l...@merollaconsulting.com > > > > *www.linkedin.com/in/lucamerolla* > > > > *Website <http://www.merollaconsulting.com>* > > > > > > > > > > > > Merolla Consulting Limited > > > > > > > > > > > > > > > -- > > *Luca Merolla* > > Management, Business & Technology Consultant > > > > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > > *Email:* l...@merollaconsulting.com > > *www.linkedin.com/in/lucamerolla* > > *Website <http://www.merollaconsulting.com>* > > > > > > Merolla Consulting Limited > > > -- *Luca Merolla* Management, Business & Technology Consultant <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 *Email:* l...@merollaconsulting.com *www.linkedin.com/in/lucamerolla* *Website <http://www.merollaconsulting.com>* Merolla Consulting Limited