Marketplace for Content, Tests and Assessment
 
 
Home > Programming / tutorials > java.lang.SecurityException – igner information does not match signer information of other classes in the same package

java.lang.SecurityException – igner information does not match signer information of other classes in the same package

If you encounter this exception

Caused by: java.lang.SecurityException: class “com.sun.faces.util.FacesLogger”’s signer information does not match signer information of other classes in the same package

at java.lang.ClassLoader.checkCerts(ClassLoader.java:775
then it caused by by 2 jars in your lib path with different versions. For eg for above exception , there were two versions of jsf jars in our lib folder.

Categories: Programming / tutorials Tags:
  1. July 7th, 2010 at 14:29 | #1

    Will this issue arise even if the jars loaded in 2 different class loaders in the same JVM? I have a requirement where i need to make use of different version of the jars.

  2. July 7th, 2010 at 15:32 | #2

    Subbu, what do you mean by 2 different class loaders in same jvm ?
    When server starts , there is a hierarchy in which jars/class files are loaded.
    If you keep jars at 2 different locations, that would still cause the same problem

  3. July 8th, 2010 at 13:57 | #3

    We have a scenario where 2 applications are deployed on a single application server and the applications are use different versions of the same jar and run in the same JVM but their class loaders are different..Did i make sense?

  4. July 8th, 2010 at 22:46 | #4

    @Subbu Yes you made sense. I do not see this as problem because the lib’s for each application is inside the respective WEB-INF/lib. We have multiple applications in tomcat but jars do not conflict

  1. No trackbacks yet.
Get Adobe Flash playerPlugin by wpburn.com wordpress themes