You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by hwaastad <he...@waastad.org> on 2015/02/22 19:28:11 UTC

jcs jcache tomee changes?

Hi,
this is actually @romain and (probably not) a TomEE issue:

There are some recent changes to commons-jcache which breaks my current
implementation with tomee:

javax.enterprise.inject.spi.Extension: Provider
org.apache.commons.jcs.jcache.cdi.MakeJCacheCDIInterceptorFriendly could not
be instantiated
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:896)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:623)
	at
org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:514)
	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:420)
	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150)
	at org.apache.openejb.OpenEJB.init(OpenEJB.java:298)
	at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:253)
	at
org.apache.tomee.catalina.ServerListener.install(ServerListener.java:168)
	at
org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:55)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:638)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:663)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)

I do not know what happened, but I noticed you were the one behind the last
commits :-)

br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
OK, and thanks for helping out.

I'm initializing caches/manager in a weblistener and producing a custom
cachemanager.
I was closing in a dispose method but that obviously did'nt work.

I'll figure something out.

br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673881.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
exception comes from the fact caching provider was not closed before
the app is destroyed.

if you want to digg into the code it should be done
org.apache.commons.jcs.jcache.cdi.CacheResolverFactoryImpl#CacheResolverFactoryImpl

issue is if you use the provider with other than cdi usages then cdi
could break the app

Caching.getCachingProvider().close() should fix it (in any @PreDestroy)



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


2015-02-24 10:18 GMT+01:00 hwaastad <he...@waastad.org>:
> Hi,
> side notes are usually important :-)
> I'm on 1.7.1.
> Did another try on 1.7.2-SNAPSHOT and its working (didænt actually verify
> interceptor, but that's not an issue right now).
>
> So I take it that from current implementation, the 2.0 will work on 1.7.2,
> but I'll have to stick to the beta-1 if I want to use current release?
> If so, it feels quite natural to ask (as many others) if the vote for 1.7.2
> soon will be back on. (I noticed there was some issues last time).
>
> BTW, terminating my app gives:
>
> INFO: Shutting down TCP Lateral receiver.
> Exception in thread "Thread-62" java.lang.NoClassDefFoundError:
> org/apache/commons/jcs/engine/behavior/ICacheType$CacheType
>         at
> org.apache.commons.jcs.auxiliary.disk.AbstractDiskCache.getCacheType(AbstractDiskCache.java:577)
>         at
> org.apache.commons.jcs.engine.control.CompositeCache.dispose(CompositeCache.java:1345)
>         at
> org.apache.commons.jcs.engine.control.CompositeCacheManager.freeCache(CompositeCacheManager.java:637)
>         at
> org.apache.commons.jcs.engine.control.CompositeCacheManager.freeCache(CompositeCacheManager.java:624)
>         at
> org.apache.commons.jcs.engine.control.CompositeCacheManager.shutDown(CompositeCacheManager.java:686)
>         at
> org.apache.commons.jcs.engine.control.CompositeCacheManager$ShutdownHook.run(CompositeCacheManager.java:974)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.jcs.engine.behavior.ICacheType$CacheType
>         at
> org.apache.openejb.util.classloader.URLClassLoaderFirst.loadClass(URLClassLoaderFirst.java:146)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         ... 6 more
>
>
> br hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673879.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Hi,
side notes are usually important :-)
I'm on 1.7.1.
Did another try on 1.7.2-SNAPSHOT and its working (didænt actually verify
interceptor, but that's not an issue right now).

So I take it that from current implementation, the 2.0 will work on 1.7.2,
but I'll have to stick to the beta-1 if I want to use current release?
If so, it feels quite natural to ask (as many others) if the vote for 1.7.2
soon will be back on. (I noticed there was some issues last time).

BTW, terminating my app gives:

INFO: Shutting down TCP Lateral receiver.
Exception in thread "Thread-62" java.lang.NoClassDefFoundError:
org/apache/commons/jcs/engine/behavior/ICacheType$CacheType
	at
org.apache.commons.jcs.auxiliary.disk.AbstractDiskCache.getCacheType(AbstractDiskCache.java:577)
	at
org.apache.commons.jcs.engine.control.CompositeCache.dispose(CompositeCache.java:1345)
	at
org.apache.commons.jcs.engine.control.CompositeCacheManager.freeCache(CompositeCacheManager.java:637)
	at
org.apache.commons.jcs.engine.control.CompositeCacheManager.freeCache(CompositeCacheManager.java:624)
	at
org.apache.commons.jcs.engine.control.CompositeCacheManager.shutDown(CompositeCacheManager.java:686)
	at
org.apache.commons.jcs.engine.control.CompositeCacheManager$ShutdownHook.run(CompositeCacheManager.java:974)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.jcs.engine.behavior.ICacheType$CacheType
	at
org.apache.openejb.util.classloader.URLClassLoaderFirst.loadClass(URLClassLoaderFirst.java:146)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 6 more


br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673879.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
no shouldnt change anything

side note: only tested on 1.7.2-SNAPSHOT and 2.0-SNAPSHOT, not on
released versions


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


2015-02-24 9:54 GMT+01:00 hwaastad <he...@waastad.org>:
> Hi again,
> If I skip the interceptor entries in beans.xml it works......strange.
>
> I'll see if I can make an github example, if you don'nt get any sense from
> my last finding :-)
>
> br hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673876.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Hi again,
If I skip the interceptor entries in beans.xml it works......strange.

I'll see if I can make an github example, if you don'nt get any sense from
my last finding :-)

br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673876.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm, My trivial ear test works -> so time to share something on github ;).


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


2015-02-24 9:43 GMT+01:00 hwaastad <he...@waastad.org>:
> Hi,
> I still get the same ambigous resolution.
>
> I've both compiled from source and using maven snapshot.
>
> br hw
>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673874.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Hi,
I still get the same ambigous resolution.

I've both compiled from source and using maven snapshot.

br hw





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673874.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Hi,
I built snapshot from source, but I'll test maven snapshot (if that's what
you meant).

Yeah, I've added incterceptor to all wars beans.xml.

I'll give it another shot and bring you an update.

br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673873.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm, redeployed a snapshot in case I missed something (and simplified
a bit the code) but shouldn't occur

do you care testing again please with a fresh snapshot?

PS: the beans.xml you need to add is in your app not jcs jar if it was not clear


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


2015-02-23 23:36 GMT+01:00 hwaastad <he...@waastad.org>:
> This time I actually noticed by the svn log :-)
>
> And I really appreciate your efforts!
>
> It's coming one step further,
> Now there is ambigous resolution:
>
> SEVERE: CDI Beans module deployment failed
> org.apache.webbeans.exception.inject.DeploymentException:
> javax.enterprise.inject.AmbiguousResolutionException: Ambiguous resolution
> found beans:
> CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
> Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
> from
> jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
> CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
> Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
> from
> jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
>         at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:219)
>         at
> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:194)
>         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)
>         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: javax.enterprise.inject.AmbiguousResolutionException: Ambiguous
> resolution
> found beans:
> CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
> Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
> from
> jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
> CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
> Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
> from
> jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
>         at
> org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionExceptionForBeans(InjectionExceptionUtil.java:104)
>         at
> org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionException(InjectionExceptionUtil.java:94)
>         at
> org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionException(InjectionExceptionUtil.java:71)
>         at
> org.apache.webbeans.container.InjectionResolver.resolve(InjectionResolver.java:699)
>         at
> org.apache.webbeans.container.InjectionResolver.checkInjectionPoint(InjectionResolver.java:191)
>         at
> org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:955)
>         at
> org.apache.webbeans.config.BeansDeployer.validate(BeansDeployer.java:491)
>         at
> org.apache.webbeans.config.BeansDeployer.validateInjectionPoints(BeansDeployer.java:415)
>         at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:202)
>         ... 16 more
>
> feb 23, 2015 11:38:36 PM org.apache.tomee.catalina.TomcatWebAppBuilder
> startInternal
> SEVERE: Error merging Java EE JNDI entries in to war /Admin: Exception:
> couldn't start owb context
> org.apache.openejb.OpenEJBRuntimeException: couldn't start owb context
>         at
> org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:162)
>         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)
>         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)
>
>
> br hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673871.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
This time I actually noticed by the svn log :-)

And I really appreciate your efforts!

It's coming one step further,
Now there is ambigous resolution:

SEVERE: CDI Beans module deployment failed
org.apache.webbeans.exception.inject.DeploymentException:
javax.enterprise.inject.AmbiguousResolutionException: Ambiguous resolution
found beans: 
CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
from
jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
from
jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
	at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:219)
	at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:194)
	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)
	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: javax.enterprise.inject.AmbiguousResolutionException: Ambiguous
resolution
found beans: 
CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
from
jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
CDIJCacheHelper, Name:null, WebBeans Type:THIRDPARTY, API
Types:[java.lang.Object,org.apache.commons.jcs.jcache.cdi.CDIJCacheHelper],
Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
from
jar:file:/home/helge/admin-2-0/Admin/Admin-ear/target/apache-tomee/apps/Admin-ear-2.4-SNAPSHOT/lib/commons-jcs-jcache-2.0-SNAPSHOT.jar!/org/apache/commons/jcs/jcache/cdi/CDIJCacheHelper.class
	at
org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionExceptionForBeans(InjectionExceptionUtil.java:104)
	at
org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionException(InjectionExceptionUtil.java:94)
	at
org.apache.webbeans.util.InjectionExceptionUtil.throwAmbiguousResolutionException(InjectionExceptionUtil.java:71)
	at
org.apache.webbeans.container.InjectionResolver.resolve(InjectionResolver.java:699)
	at
org.apache.webbeans.container.InjectionResolver.checkInjectionPoint(InjectionResolver.java:191)
	at
org.apache.webbeans.container.BeanManagerImpl.validate(BeanManagerImpl.java:955)
	at
org.apache.webbeans.config.BeansDeployer.validate(BeansDeployer.java:491)
	at
org.apache.webbeans.config.BeansDeployer.validateInjectionPoints(BeansDeployer.java:415)
	at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:202)
	... 16 more

feb 23, 2015 11:38:36 PM org.apache.tomee.catalina.TomcatWebAppBuilder
startInternal
SEVERE: Error merging Java EE JNDI entries in to war /Admin: Exception:
couldn't start owb context
org.apache.openejb.OpenEJBRuntimeException: couldn't start owb context
	at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:162)
	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)
	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)


br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673871.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
started to push few changes on it.

If you want to play with the snapshot it is the moment ;)

For memories here is the beans.xml to have:

<beans xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
      http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
  <interceptors>
    <class>org.apache.commons.jcs.jcache.cdi.CacheResultInterceptor</class>
    <class>org.apache.commons.jcs.jcache.cdi.CacheRemoveAllInterceptor</class>
    <class>org.apache.commons.jcs.jcache.cdi.CacheRemoveInterceptor</class>
    <class>org.apache.commons.jcs.jcache.cdi.CachePutInterceptor</class>
  </interceptors>
</beans>



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


2015-02-23 16:41 GMT+01:00 hwaastad <he...@waastad.org>:
> Ok,
> I think I'm a little out of my depth here...
>
> I think I understand what you're going for, but that's no comfort :-)
> I need to get a grasp on how delegation is supposed to work.
>
> br hw
>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673866.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Ok,
I think I'm a little out of my depth here...

I think I understand what you're going for, but that's no comfort :-)
I need to get a grasp on how delegation is supposed to work.

br hw





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673866.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
well patch can be as trivial as having JCacheCDI10Extension and
JCacheCDI11Extension and just make the main extension delegating to
the exepcted one after having checked tccl has or not
InjectionTargetFactory


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


2015-02-23 13:53 GMT+01:00 hwaastad <he...@waastad.org>:
> Well,
> removing addHelper method (and InjectionTargetFactory dep) made it work.
>
> Not sure if that's worth calling "patching" :-)
>
>
> br hw
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673864.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Well,
removing addHelper method (and InjectionTargetFactory dep) made it work.

Not sure if that's worth calling "patching" :-)


br hw




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673864.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
we can surely workaround this one skipping some part of the extension


basically with cdi 1.0 we can skip all but or (final Class<? extends
Annotation> interceptor) loop from
http://svn.apache.org/repos/asf/commons/proper/jcs/trunk/commons-jcs-jcache/src/main/java/org/apache/commons/jcs/jcache/cdi/MakeJCacheCDIInterceptorFriendly.java

Do you want to try it patching jcs?

If it works for you I'll update the extension




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


2015-02-23 11:06 GMT+01:00 hwaastad <he...@waastad.org>:
> OK,
> I did a quick check, and this time I'm using skinny wars, having jcache/jcs
> in ear/lib, but adding interceptors in beans.xml did'nt work.
> Still complains about:
>
> java.lang.ClassNotFoundException:
> javax.enterprise.inject.spi.InjectionTargetFactory
>
> br hw
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673861.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
OK,
I did a quick check, and this time I'm using skinny wars, having jcache/jcs
in ear/lib, but adding interceptors in beans.xml did'nt work.
Still complains about:

java.lang.ClassNotFoundException:
javax.enterprise.inject.spi.InjectionTargetFactory

br hw




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673861.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Hi,
I'll happily use workarounds as long as it's just by adding beans.xml
entries.

I'll give it a shot to see if its working.


Thanks.

br hw




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673860.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
well, if you want to use it from your app it should be as easy as
adding a beans.xml with the list of interceptors to enable
(org.apache.commons.jcs.jcache.cdi.CachePutInterceptor,
org.apache.commons.jcs.jcache.cdi.CacheRemoveAllInterceptor,
org.apache.commons.jcs.jcache.cdi.CacheRemoveInterceptor,
org.apache.commons.jcs.jcache.cdi.CacheResultInterceptor)

Issue not relying on CDI 1.1 are:
1) no deterministic ordering for interceptors
2) no way to make it working in containers for free (need container
integration - for tomee it is not a big deal but jcs is not tomee
only)

Does this workaround works for you?



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


2015-02-23 9:42 GMT+01:00 hwaastad <he...@waastad.org>:
> Hmm, okey.
>  I really hope you'll be able to make it 1.0 compliant aswell.
>
> I was actually trying to put the 2.0-snapshot into staging, but I probably
> have to reconsider if 1.1 is scheduled for 2.0 final.
> And then,maybe wait for TomEE 2.0.
>
> br hw
>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673857.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Hmm, okey.
 I really hope you'll be able to make it 1.0 compliant aswell.

I was actually trying to put the 2.0-snapshot into staging, but I probably
have to reconsider if 1.1 is scheduled for 2.0 final.
And then,maybe wait for TomEE 2.0.

br hw





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673857.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
beta-2 (snapshot) will surely be cdi 1.1. If we can make it cdi 1.0
we'll do but i didnt find a correct way to do it


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


2015-02-22 20:46 GMT+01:00 hwaastad <he...@waastad.org>:
> I was hoping this was the case.
>
> So whats the strategy for 2.0?
> I mean, since 2.0-SNAPSHOT suddenly had this constraint?
> will the 2.0 final be cdi 1.0 og cdi 1.1?
> Kind of urgent for me to know since tomee 1.7.1/1.7.2 is my workbench.
>
> anyways,
> I added staging repo and adding 2.0-beta-1 and it's OK.
>
> Thanks for clearifying, and I'm really happy to see betas are coming to life
> :-)
>
> br hw
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673853.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
I was hoping this was the case.

So whats the strategy for 2.0?
I mean, since 2.0-SNAPSHOT suddenly had this constraint?
will the 2.0 final be cdi 1.0 og cdi 1.1?
Kind of urgent for me to know since tomee 1.7.1/1.7.2 is my workbench.

anyways,
I added staging repo and adding 2.0-beta-1 and it's OK.

Thanks for clearifying, and I'm really happy to see betas are coming to life
:-)

br hw




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673853.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <he...@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.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@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.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
you mean you put it in your app? well ear is a long story for CDI and
released version of JCS doesnt work well in ear (a fix for container
oriented apps was done but is not in the release)

Isnt it just a classloader conflict? you dont have more of stack?


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


2015-02-22 19:38 GMT+01:00 hwaastad <he...@waastad.org>:
> Hi,
> ear, actually a skinny one, but when everything went south I went back to a
> plain ear keeping jcache/jcs in web-inf/lib, still not working.
>
> br hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673849.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by hwaastad <he...@waastad.org>.
Hi,
ear, actually a skinny one, but when everything went south I went back to a
plain ear keeping jcache/jcs in web-inf/lib, still not working.

br hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847p4673849.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jcs jcache tomee changes?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
how do you get it?


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


2015-02-22 19:28 GMT+01:00 hwaastad <he...@waastad.org>:
> Hi,
> this is actually @romain and (probably not) a TomEE issue:
>
> There are some recent changes to commons-jcache which breaks my current
> implementation with tomee:
>
> javax.enterprise.inject.spi.Extension: Provider
> org.apache.commons.jcs.jcache.cdi.MakeJCacheCDIInterceptorFriendly could not
> be instantiated
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:896)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:623)
>         at
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:514)
>         at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:420)
>         at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150)
>         at org.apache.openejb.OpenEJB.init(OpenEJB.java:298)
>         at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:253)
>         at
> org.apache.tomee.catalina.ServerListener.install(ServerListener.java:168)
>         at
> org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:55)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
>         at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:638)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:663)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)
>
> I do not know what happened, but I noticed you were the one behind the last
> commits :-)
>
> br hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/jcs-jcache-tomee-changes-tp4673847.html
> Sent from the TomEE Users mailing list archive at Nabble.com.