tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: jcs jcache tomee changes?
Date Sun, 22 Feb 2015 19:03:16 GMT
the beta didnt change this code at all, the new snapshot did and rely on CDI 1.1


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2015-02-22 19:50 GMT+01:00 hwaastad <helge@waastad.org>:
> I know there are ear cdi issues :-)
>
>
> More info:
>
> feb 22, 2015 7:44:04 PM org.apache.catalina.core.ContainerBase startInternal
> SEVERE: A child container failed during start
> java.util.concurrent.ExecutionException:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Admin]]
>         at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>         at
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
>         at
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>         at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Admin]]
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>         ... 6 more
> Caused by: java.util.ServiceConfigurationError:
> javax.enterprise.inject.spi.Extension: Provider
> org.apache.commons.jcs.jcache.cdi.MakeJCacheCDIInterceptorFriendly could not
> be instantiated
>         at java.util.ServiceLoader.fail(ServiceLoader.java:224)
>         at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
>         at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
>         at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
>         at
> org.apache.webbeans.service.DefaultLoaderService.load(DefaultLoaderService.java:54)
>         at
> org.apache.openejb.cdi.OptimizedLoaderService.loadExtensions(OptimizedLoaderService.java:72)
>         at
> org.apache.openejb.cdi.OptimizedLoaderService.load(OptimizedLoaderService.java:66)
>         at
> org.apache.webbeans.portable.events.ExtensionLoader.loadExtensionServices(ExtensionLoader.java:77)
>         at
> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:172)
>         at
> org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:160)
>         at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:60)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1361)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1087)
>         at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5378)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         ... 6 more
> Caused by: java.lang.NoClassDefFoundError:
> javax/enterprise/inject/spi/InjectionTargetFactory
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
>         at java.lang.Class.getConstructor0(Class.java:2885)
>         at java.lang.Class.newInstance(Class.java:350)
>         at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
>         ... 21 more
> Caused by: java.lang.ClassNotFoundException:
> javax.enterprise.inject.spi.InjectionTargetFactory
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
>         at
> org.apache.tomee.catalina.LazyStopWebappClassLoader.loadClass(LazyStopWebappClassLoader.java:129)
>         ... 26 more
>
>
> I'm just wondering what happened since it was already working.
>
> br hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673851.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message