Ok, I have a strange problem. This may need to be moved to the Web Start forum, however, I feel this has more to do with Jar Signing and less to do with Web Start. Plus. that forum is always dead and poorly moderated. I have an application that uses activation.jar and mail.jar from the JavaMail API for E-mailing. For some reason, these jar files come pre-signed with a certificate. So when Web Start tries to load them, it tells me that the cert. I signed my jar file with does not match the cert that those jar files are signed with and will not let the program execute. I tried signing them myself, but then I get a message that says they are signed by 2 different certs. So lastly I tried unjaring the jar files, jaring them back up, and signing them myself, but that didn't work either. Anyone have any ideas as to what I can do? BTW - I also un-jar'd them and then jar'd them back into my 1 JAR file, but I get several errors when trying to send an E-mail and I don't know what they mean. I may look more into that if no one else has any better alternative. I would rather keep these 2 jar files seperate from my main jar file. Thanks.
So now that I have proved that this forum is barely moderated also . . . Wouldn't this be a security issue? That is a much more FUN forum that we could move this too .
"JavaRanch, where the deer and the Certified play" - David O'Meara
Originally posted by Dianna McDonald: Gregg, Did you ever find a solution to this problem? I am having the exact problem and can't seem to find any answers.
Yes, when you unjar the activation.jar and the mail.jar you will notice that there is a META folder created. Delete this META Folder and rejar the class files. The meta folder contains the certificate so when you jar up the info, the cert is already there.