Thanks Renier, Your advice worked.
Rgds, Enrico -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Renier Rhode Sent: 02 May 2006 03:40 PM To: [email protected] Subject: [CTJUG Forum] Re: Signing JAR files with a test certificate Hi Enrico, Few problems I've encountered with JWS and signing jars : 1) Never sign hibernate???.jar and cglib???.jar. They seem to work just fine as they are. 2) Also check the other jars that you distribute with your application, and make sure they're all signed with your cert only. I had some fun and games with the acegi security jar that was signed with a seperate cert. If they are just open the the jar and delete the relevant files. Hope it helps... Cheers, Renier On 5/2/06, Enrico Goosen <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I have a Swing GUI application, which I've deployed via Java Webstart. > > I've signed all the jar files using a test certificate. > > > > The problem crept in after I made a change to the main jar file and rebuilt > and re-signed it. > > > > Now I get the following Exception: > > Caused by: java.lang.SecurityException: class > "com.incubeta.keywordtool.model.Keywordsearch$$EnhancerByCGLIB$$e2583f80"'s > signer information does not match signer information of other classes in the > same package > > at > java.lang.ClassLoader.checkCerts(ClassLoader.java:775) > > at > java.lang.ClassLoader.preDefineClass(ClassLoader.java:487) > > at > java.lang.ClassLoader.defineClass(ClassLoader.java:614) > > > > PS. That's not the whole exception, but the most relevant part of the > stacktrace. > > > > Any ideas how I can fix this? > > > > Enrico Goosen > > Software Developer > > SAICOM TECHNOLOGY > > TEL: +2721 417 1375 > > FAX: +2721 417 1361 > > CEL: +2783 305 5676 > > EMAIL: [EMAIL PROTECTED] > > > > > -- Regards, Renier Rhode mobile: 083 556 0804 e-mail: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CTJUG Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/CTJUG-Forum -~----------~----~----~----~------~----~------~--~---
