-
Bug
-
Resolution: Won't Do
-
Major
-
EAP 5.0.0.CR5, EAP 5.0.0, EAP 5.0.1.CR1
-
None
-
Release Notes
-
Workaround Exists
-
Applications that use Hibernate mapped to use cglib as its byte code provider will fail to deploy due to java.lang.SecurityException,
An example of the error message is:
Deployment "persistence.unit:unitName=lobtest.ear/lobtest-ejb-1.0-SNAPSHOT.jar#lobtest-jpa-jndi" is in error due to the following reason(s): java.lang.SecurityException: class "com.redhat.gss.lobtest.jpa.Item$$EnhancerByCGLIB$$defd1a7f"'s signer information does not match signer information of other classes in the same package
This happens because cglib.jar in EAP 5 is signed and the cglib-instrumented proxy uses the same signer information as cglib.jar, instead of the signer information for the applications target class.
- blocks
-
JBPAPP-4330 deprecate cglib as hibernate byte code provider
- Closed