Skip to Content
author's profile photo Former Member
Former Member

Security Exception on Custom Code

Hello,

I am having a problem with regards to printing in Document Maintenance

when it comes to Formatting with custom code on the Production Server.

The Log from Netweaver states:

java.lang.SecurityException: class "com.endicott.FormatLoftware"'s

signer information does not match signer information of other classes in

the same package

However it worked fine on the Development computer.

Any thoughts on how to fix?

Thank you,

Mike

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2011 at 03:13 AM

    This might happen because there are classes in other jars but they belong to the same package name and those jars are signed with different certificate.

    Thanks,

    Bakhtiyar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2011 at 05:41 PM

    Hi Michael,

    The SDK development environment is using development certificate to sign your jars.

    This development certificate does not work on production environment. You need to use SDK Build Tool with the certificate that was provided to you by SAP to build the SUA for production.

    For more information please see the SDK Build Tool Installation Guide *IG_SAPME_Build_Tool_21.pdf *.

    Thanks

    Ivan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2011 at 08:49 PM

    Hello,

    I was actually able to fix it on my own.

    Turns out that you cannot have any code located in the com.<vendorID> directory.

    I simply created an additional subdirectory underneath com.<vendorID>.<module> and all worked fine.

    Thank you all for your suggestions anyway.

    Mike

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.