Is this error actually stopping something from working? When I experienced this in the past JAXB would fall back to reflection.
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.
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
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.
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.
Add the following system property to disable the JAXB optimizations that are not compatible with signed jars: