TitleBad code signer error for WeblogCategoryPlugin under 2.3.95
Date07-Apr-2006 17:15:24 EEST
SubmitterMike Morris
Bug criticalityMediumBug
Browser versionFirefox 1.5
Bug statusClosedBug
PageProvider usedVersioningFileProvider
Servlet ContainerTomcat 5.5
Operating SystemLinux
Java version1.5.0.1

WeblogCategoryPlugin fails, with the following message displayed on the containing page:

Plugin insertion failed: class "com.ecyrd.jspwiki.plugin.WeblogCategoryPlugin"'s signer information does not match signer information of other classes in the same package

Mike --

The problem is that you are using a 3rd-party class and it uses a JSPWiki package name (com.ecyrd.jspwiki...). Because we sign the JSPWiki jar, the JRE will reject any other classes that aren't signed. You have two options:

  • Put the class in a different package (e.g., com.mikemorris.jspwiki)
  • Add the WeblogCategoryPlugin class into a local copy of the JSPWiki source tree, and re-build the JSPWiki jar. This will cause the class to be signed.

See Janne's blog entry about this. See also this thread on the mailing list.

Also, if you know who developed the WeblogCategoryPlugin, you might want to ask them to provide a different package name for it.

--Andrew Jaquith, 12-Apr-2006

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-5) was last changed on 12-Apr-2006 06:51 by