-
1. Re: Java Security Exception : signer information does not match
dlofthouse Jun 4, 2014 9:15 AM (in response to liriarte)Is this error actually stopping something from working? When I experienced this in the past JAXB would fall back to reflection.
-
2. Re: Java Security Exception : signer information does not match
ctomc Jun 4, 2014 10:37 AM (in response to liriarte)Given that you are on EAP 5.2 and this forum mostly meant for devs on EAP 6.x,
I would encourage you to open a ticket in customer portal http://access.redhat.com/ where guys will be able to better help you.
-
3. Re: Java Security Exception : signer information does not match
liriarte Jun 5, 2014 3:31 AM (in response to dlofthouse)Yes, some of the web servicces are not working now. Anyway, according to [JBPAPP-2971] Applications that use Hibernate with cglib proxies fail to deploy due to java.lang.SecurityException - JBo… this should be fixed in 5.2. Not sure what I am doing wrong
-
4. Re: Java Security Exception : signer information does not match
dlofthouse Jun 5, 2014 5:01 AM (in response to liriarte)If you raise a support ticket through the customer portal the support team should be able to work with you, it may be that some fix that was specific to Hibernate needs to be applied elsewhere.
-
5. Re: Java Security Exception : signer information does not match
liriarte Jun 5, 2014 5:07 AM (in response to dlofthouse)Ok, thanks.
-
6. Re: Java Security Exception : signer information does not match
liriarte Jun 11, 2014 3:57 AM (in response to liriarte)Root Cause:
This is a common issue when using the Sun JAXB implementation with signed jars.
Essentially the JAXB implementation is trying to avoid reflection by generating a class to directly access the properties without using reflection. Unfortunately, it generates this new class in the same package as the class being accessed which is where this error comes from.
Resolution:
Add the following system property to disable the JAXB optimizations that are not compatible with signed jars:
-Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true