cancel
Showing results for 
Search instead for 
Did you mean: 

JBoss portal - Alfresco deployment error

deanouk
Champ in-the-making
Champ in-the-making
15:51:26,070 ERROR [BasicLazyInitializer] Javassist Enhancement failed: org.alfr
esco.repo.avm.PlainFileNodeImpl
java.lang.RuntimeException: by java.lang.IllegalAccessError: class org.hibernate
.proxy.HibernateProxy_$$_javassist_155 cannot access its superinterface org.alfr
esco.repo.avm.PlainFileNode
        at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:342)

        at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:312)

        at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:271)
        at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyF
actory(JavassistLazyInitializer.java:138)
        at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstanti
ate(JavassistProxyFactory.java:42)
        at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoE
ntityTuplizer.java:162)
        at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEnti
tyTuplizer.java:135)
        at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTupliz
er.java:55)
        at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(E
ntityEntityModeToTuplizerMapping.java:56)
        at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.jav
a:269)
        at org.hibernate.persister.entity.AbstractEntityPersister.<init>(Abstrac
tEntityPersister.java:425)
        at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(Sing
leTableEntityPersister.java:109)
        at org.hibernate.persister.PersisterFactory.createClassPersister(Persist
erFactory.java:55)
14 REPLIES 14

deas0815
Star Contributor
Star Contributor
Same problem here

http://forums.alfresco.com/viewtopic.php?t=7285

regards
Andreas

chrisky
Champ in-the-making
Champ in-the-making
Same problem here.

I have tried JBOSS 4.2.0/4.2.1

I have tried to build from latest SVN source and build against the "build-jboss" option.

I have also tried to remove the hibernate-3.2.1.jar from the WAR (forcing it to use the JBOSS server's hibernate lib)

Has anyone got it going on the JBOSS 4.2.X?

[ Submitted Issue ]

kevinr
Star Contributor
Star Contributor
I will try deploying Alfresco 2.1 to JBoss4.2.0 today.

Thanks,

Kevin

kevinr
Star Contributor
Star Contributor
I have reproduced the error - we will look into it.

Thanks,

Kevin

kevinr
Star Contributor
Star Contributor
A solution has been posted by a forum user:
http://forums.alfresco.com/viewtopic.php?p=27936#27936