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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can't use custom images

Edward lzFeb 4 2025 — edited Feb 4 2025

Hi!

I have a task to transfer a previously created project to a new server. I installed Oraclle java jdk v21.0.6 + Middleware 14.1.2.0.0 + Oracle Forms 14.1.2.0.0

I started a project, but it uses a custom set of images.

Here was the same question:

https://forums.oracle.com/ords/apexds/post/custom-icons-not-getting-displayed-in-forms-12c-8513

I made changes to

C:\Oracle\user_projects\domains\base_domain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_14.1.2\config\formsweb.cfg

I need to use “myico.jar” which contains icons .. but I still don’t see any images in the project..

The custom icons here: C:\Oracle\Middle\Ora_Home\forms\java\myico.jar

I tried to connect via extensions.jnlp but in this case an error will be displayed at the start of the java window:

ExitException: Unsigned application requesting unrestricted access to systemUnsigned resource: http://192.168.0.200:9001/forms/java/myico.jar

and therefore refused to use the connection via extensions.jnlp

In formsweb.cfg I used custom images in four places:

archive=frmall.jar, myico.jar

[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar,myico.jar

[webstart]
basejnlp=base.jnlp
webstart=enabled
deleteJNLP=true
archive=myico.jar

[webutil_webstart]
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=24573
basejnlp=webutil.jnlp
webstart=enabled
deleteJNLP=true
archive=myico.jar

But it still doesn't work. Then I tried to unpack the images from the jar file into the forms/java directory and the icons appeared in the project.

Еhe only thing that worked was that I set the path to my image directory forms/java/dt_icons in Registry.dat

default.icons.iconpath=dt_icons

How can I make it work with a jar file?

Comments
Post Details
Added on Feb 4 2025
4 comments
128 views