Portal 2.2.1 fails to deploy on 4.0.4.  Is this a bug in Hibernate?  


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rali Genova
Sent: Friday, May 12, 2006 12:00 PM
To: Ryan Campbell
Subject: jboss-4.0.4 portal-2.2 issue

 

Attached is the server log, but here is the relevant exception. I was using the Hypersonic DB and then MySQL, repeats with both. The AS is built from source, I am working on verifying this with the installer that Scott created as well.

2006-05-12 11:22:16,353 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiating session factory with properties:...(I took those off)
2006-05-12 11:22:16,363 WARN  [org.jboss.system.ServiceController] Problem starting service portal:service=Hibernate
java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.<init>()V from class org.hibernate.cache.EhCacheProvider
    at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:124)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:180)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213)
    at org.jboss.portal.core.hibernate.SessionFactoryBinder$3.run(SessionFactoryBinder.java:509)
    at org.jboss.portal.common.transaction.Transactions.apply(Transactions.java:199)
    at org.jboss.portal.common.transaction.Transactions.notSupported(Transactions.java:245)
    at org.jboss.portal.core.hibernate.SessionFactoryBinder.createSessionFactory(SessionFactoryBinder.java:505)
    at org.jboss.portal.core.hibernate.SessionFactoryBinder.startService(SessionFactoryBinder.java:291)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
    at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86)
    at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    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(ModelMBeanOperationInterceptor.java:142)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
    at $Proxy0.start(Unknown Source)


--
Bug? That's not a bug, that's a feature.

Reply via email to