signature check failed

 

Cause

The “archive” parameter was pointing to a jar file that was not signed with a valid certificate.

OR

The .jar file contained more than one signature. This could be seen by unzipping the .jar file. Within the META-INF folder, there were two sets of .DSA and .SF files, where there only should have been one.

Solution

If the unsigned .jar file is available, proceed to Step 4.  Otherwise, follow the steps below:

1. Unzip the jar file

2. Delete the folder META-INF

3. Re-jar the classes again, for example, on Unix:

export PATH=$ORACLE_HOME/dk/bin:$PATH
jar -cvf host.jar *.*

4. Sign the jar file using a valid certificate (in the example below, sign_webutil.sh is used, instead you can use your own signer)

cd $ORACLE_HOME/forms/java
export PATH=$ORACLE_HOME/jdk/bin:$PATH
$ORACLE_HOME/forms/webutil/sign_webutil.sh $ORACLE_HOME/forms/java/host.jar
References  ID 1141836.1
Advertisements

About Sher khan

Senior Oracle DBA, Oracle 10g , Oracle 11g OCE ,Oracle 12C and Oracle 11g OPN certified Specialist, OCP Certified in Oracle 9i,10g , 11g and 12C. I am working in Oracle technology since 2004. Currently working in U.A.E Email: sher487@hotmail.com
This entry was posted in Oracle Application server. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s