cglib « JBoss « JPA Q&A





1. CGLIB exceptions when redeploying EARs in JBoss    forum.hibernate.org

Hello I'm using Hibernate 2 in JBoss. hibernate2.jar and all 3rd party libs are in server/default/lib. when JBoss is started fresh and application is deployed first time, it's OK when I work with app and then redeploy it, I'm getting the following exception net.sf.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.vocognition.project.ige.domain.IgeSessionState.setMission at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:216) at ...

2. Forcing JBoss 4.0.4/5 + Hibernate Service to use CGLIB    forum.hibernate.org

Hello - I have an application that uses a handful of Hibernate MBeans being deployed on JBoss. In JBoss 4.0.3, the Hibernate Service uses CGLIB as the default bytecode provider and my Hibernate MBeans behave fine. In JBoss 4.0.4 and 4.0.5, however, the Hibernate Service uses javassist as the default bytecode provider. Unfortunately, javassist does not seem to be doing a ...