[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-832) HEM using JBossCache raise a CCE

Emmanuel Bernard (JIRA) jira-events at jboss.com
Tue Jan 9 23:51:26 EST 2007


HEM using JBossCache raise a CCE
--------------------------------

                 Key: EJBTHREE-832
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-832
             Project: EJB 3.0
          Issue Type: Bug
          Components: Clustering
    Affects Versions: EJB 3.0 RC9 - Patch 1
            Reporter: Emmanuel Bernard
            Priority: Blocker
             Fix For: EJB 3.0 RC10 - FD


Acording to Gavin

In persistence.xml:

         <property name="hibernate.cache.provider_class"
value="org.hibernate.cache.OptimisticTreeCacheProvider"/>

And I got:

00:39:56,421 INFO  [SettingsFactory] Cache provider:
org.hibernate.cache.OptimisticTreeCacheProvider
00:39:56,421 WARN  [ServiceController] Problem starting service
persistence.units:ear=jboss-seam-registration.ear,jar=jboss-seam-registr
ation.jar,unitName=userDatabase
java.lang.RuntimeException: java.lang.NoClassDefFoundError:
org/jboss/cache/TransactionManagerLookup
	at
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrappe
r.java:108)
	at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupp
ort.java:289)
	at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBean
Support.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
	at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
.java:978)
	at $Proxy0.start(Unknown Source)
	at
org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
	at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy190.start(Unknown Source)
	at
org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96
)
	at
org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:
467)
	at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:317)
	at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
	at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupp
ort.java:289)
	at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBean
Support.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
	at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
.java:978)
	at $Proxy0.start(Unknown Source)
	at
org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
	at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy36.start(Unknown Source)
	at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea
nOperationInterceptor.java:142)
	at
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.ja
va:97)
	at
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorSe
rviceMBeanSupport.java:238)
	at
org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterce
ptor.java:92)
	at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.sta
rt(SubDeployerInterceptorSupport.java:188)
	at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerIntercepto
r.java:95)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
	at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy37.start(Unknown Source)
	at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
	at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
	at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
	at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea
nOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)
	at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy6.deploy(Unknown Source)
	at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentSc
anner.java:421)
	at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan
ner.java:634)
	at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS
can(AbstractDeploymentScanner.java:263)
	at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loo
p(AbstractDeploymentScanner.java:274)
	at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run
(AbstractDeploymentScanner.java:225)
Caused by: java.lang.NoClassDefFoundError:
org/jboss/cache/TransactionManagerLookup
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown
Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at
org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.ja
va:358)
	at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:232
)
	at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)
	at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1
216)
	at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Config
uration.java:688)
	at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFacto
ry(HibernatePersistence.java:127)
	at
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDep
loyment.java:264)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrappe
r.java:102)
	... 92 more



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list