Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

webutil configuration jacobs.jar signing problem [SOLVED]

jCareyJul 25 2007
Hi,
after MUCH aggravation I found a solution to the notorious "access denied (java.lang.RuntimePermission loadLibrary.jacob)" problem.

This problem was related to correctly signing the jacob.jar file as pointed out in many of the threads in the forms forum.

Some history...

First of all, I followed the steps layed out in the WebUtli User's Guide release 1.0.6

I signed the frnmwebutil.jar file using sign_webutil...all went well.

After that I immediately signed the jacobs.jar file using the same .bat file.

I received these warning/errors at this point

Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
.
There were warnings or errors while generating a self signing certificate. Please review them.
.
Backing up d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar as d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.old...
1 file(s) copied.
Signing d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar using key=webutil2...
jarsigner: attempt to rename d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar to d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.orig failed

I did not receive the message "successfully done"

When I ran the OLE portion of the demo form it crapped out, that’s when I first received the above exception in the java console.

I then tried signing the jacob.jar file using the manual steps laid out in metalink document 202768.1 All went well until exiting the Policy tool window, I received the warning "A public key for Alias 'myKey' does not exist. I received this warning twice while exiting the dialog windows. I don't know why this occurred but it did not leave me with a warm fuzzy feeling.

I still received the above exception message after manually signing the jar file

*****
The solution...

I found some thread(s) that recommended deleting the files .keystore file & jacob.jar.old, then rerunning the sign_webutil.bat file.

I followed these steps and it worked. I received a successful signing with the “sucessfully done" message after running the .bat file.

The webutil demo works fine now.

My guess is the .keystore file needs to be deleted after signing the webutil.jar file and before signing the jacobs.jar file.

I hope this solution helps others

Jim
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2007
Added on Jul 25 2007
0 comments
1,077 views