Error due to wrong size of jacob.dll and solution to fix it
9189Aug 27 2010 — edited Jan 13 2011Hi
First of all this thread is not a question for you but rather an information I would like to share with you.
We are in the process of upgrading our Forms 6i to Forms 11g. The setup of Forms 11g (11.1.1.3.0) and Webutil is completed. I ran my first form with Webutil PLL attached to it. The form ran fine. I looked at the Java console for messages. Saw the following error message:
System library http://<oracle_home>:8090/forms/webutil/jacob.dll has incorrect size in WebUtil config. Download will be cancelled
After doing googling and a search on Metalink, found the cause of this error.
It was due to the actual file size of jacob.dll file and the one specified in webutil.cfg file was not matching. The entry in my webutil.cfg file reads as follows:
install.syslib.0.7.1=jacob.dll|106496|1.10|true
To find out the exact file size of your jacob.dll file, right click on it and on the 'General' tab you can see the exact size in bytes.
For example, *104 KB (106,496 bytes)*
In my case the file size of Jacob.dll was different due to the wrong version of Jacob I had downloaded. I had downloaded jacob_18.zip file from the following link:
http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
Again, googling through Forms forums and Metalink, found that the version of Jacob.dll we need to have for Forms 11g should be 1.10. So downloaded this version from the following link:
http://sourceforge.net/projects/jacob-project/files/jacob-project/1.10.1/jacob_1.10.1.zip/download
Unzipped it and the checked the size of jacob.dll, it was 106496, matching with the entry in webutil.cfg file !!
The next step was to delete the old jacob.dll file from <oracle_home>\forms\webutil folder and old jacob.jar from <oracle_home>\forms\java folder and copying the new files back the same folders.
The last step was to re-sign the jacob.jar file using sign_webutil.bat (or sign_webutil.sh for unix).
As suggested in Metalink, to be on safe size, also deleted the old jar files downloaded in your temporary folder and deleted the jacob.dll file downloaded in your \Program files\Java\JRE\bin folder.
Thats it ! Re-launched my form and checked the Java console. That incorrect file size message had gone !!
Hope this brief information will help you if you also face the same problem.
Cheers
Mayur