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!

Renaming/Redirecting registry.dat

382441Apr 16 2007 — edited Apr 18 2007
I read somewhere that the serverApp parameter in formsweb.cfg allows you to change the name/location of the registry.dat file that is used with a named application. I have tried the following with no luck:

1. Change the value from "default" to a copy of the registry.dat file in the same location as the original(C:\DevSuiteHome_1\forms\java\oracle\forms\registry)
serverApp=my_registry.dat

2. Change the value from "default" to the absolute path
serverApp=C:\DevSuiteHome_1\forms\java\oracle\forms\registry\my_registry.dat

3. Change codebase to a different folder, set imagebase=codebase, and set serverApp to the name of a file in that folder. In this example /myforms/ is a virtual directory that I have double and triple checked to make sure it works.

codebase=/forms/myforms/jars/
imagebase=codebase
serverApp=/forms/myforms/jars/myforms_registry.dat

The strange thing that happens here is that the message stating that registry.dat could not be found has the "old" path at the end of the new codebase path even though a new location for serverApp has been specified.
/forms/myforms/jars/oracle/forms/registry/registry.dat

The only way I can get my registry.dat file move(can't seem to rename it) is by moving the "codebase" and creating the directory structure:/forms/myforms/jars/oracle/forms/registry
and placing a registry.dat file in said folder.

Is this really the only way that a different registry.dat file can be specified for a named application? We are installing our app at a customer's site and we don't want to get in the situation where they have an application that uses .jpgs for icons when we need to use .gifs.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2007
Added on Apr 16 2007
4 comments
908 views