Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HELP: signer info doesn't match info of other classes in the same package

843811Mar 4 2002 — edited Sep 19 2002
I have several jars which need to be signed. They contain several applications and packages which
are split up based on which parts are needed by server vs client code. How do I get rid of this error?
I'm signing all the jars using the keytool and jar signer in java 1.3.1. I generate a certificate file.
My assumption is that each time I sign a different jar, the info is updated in the keystore and
certificate file. What might I be doing wrong when signing multiple jars?
(Yes, code from the same package may be in different jars. I don't have any controll of this,
I'm not in charge of the build and distribution of the various packages).

Exception in thread "main" java.lang.SecurityException: class
"com.ibm.ucm.bootup.UCMSysMgtConstants"'s signer information does not match signer
information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.ibm.ucm.bootup.UCMServerUpdater.<init>(Unknown Source)
at com.ibm.ucm.bootup.UCMServerUpdater.<init>(Unknown Source)
at com.ibm.ucm.bootup.UCMAdminServerUpdater.<init>(Unknown Source)
at com.ibm.ucm.bootup.UCMAdminServerUpdater.main(Unknown Source)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2002
Added on Mar 4 2002
1 comment
228 views