6 Replies Latest reply on Jun 11, 2014 3:57 AM by liriarte

    Java Security Exception : signer information does not match

    liriarte

      This is happening in JBoss EAP 5.2:

       

      Caused by: java.lang.SecurityException: class "org.jboss.security.xacml.jaxb.PoliciesType$JaxbAccessorF_policySet"'s signer information does not match signer information of other classes in the same package

              at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)

              at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)

              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)

              at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

              at java.lang.ClassLoader.defineClass(ClassLoader.java:465)

              ... 92 more

      [Injector] Unable to inject org/jboss/security/xacml/jaxb/PolicySetType$JaxbAccessorF_location

       

      I am sure that the class org.jboss.security.xacml.jaxb.PoliciesType is only in one jar (/EnterprisePlatform-5.2.0/jboss-eap-5.2/jboss-as/common/lib/jbossxacml.jar), so it cannot be loaded from different JAR files.

       

      I am also using an "unsigned" version of CGLIB, which is the one that comes with the installer ([JBPAPP-2971] Applications that use Hibernate with cglib proxies fail to deploy due to java.lang.SecurityException - JBo…)

       

      I also tried removing the signature from jbossxacml.jar, but then I have the same problem with another jar, and so on.

       

      What can I do fix this?