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!

Cannot start my own config section using Java Webstart and self-signed jar files

myluismDec 5 2016 — edited Dec 6 2016

Hi all,

I'm using Forms 12c  lastest version (12.2.1.2.0) on a Oracle Linux box.

I have created this custom config on formsweb.cfg  based on the [webutil_webstart]. I added only what i need or what will be required for the application as far a jar files go:

[ws_webfigo]

# Other Forms runtime arguments: grouped together as one parameter.

# These settings support running and debugging a form from the Builder:

otherparams=term=/u02/app/oracle/product/12.2.1/user_projects/domains/frsdomain/config/fmwconfig/components/FORMS/instances/forms1/admin/resource/E/fmrpcweb.res

# Forms applet parameter

width=100%

# Forms applet parameter

height=95%

# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)

archive=frmall.jar,lablediconbutton.jar,htmlbutton.jar,rolloverbutton.jar

WebUtilLogging=off

WebUtilLoggingDetail=normal

WebUtilErrorMode=Alert

WebUtilDispatchMonitorInterval=5

WebUtilTrustInternal=true

WebUtilMaxTransferSize=16384

basejnlp=webutil.jnlp

webstart=enabled

Also I have modified the extensions.jnlp located in $ORACLE_HOME/forms/java:

<resources>

<!-- <jar href="ADD YOUR JARS HERE - ONLY ONE PER ENTRY"/> -->

<jar href="jacob.jar"/>

<jar href="lablediconbutton.jar"/>

<jar href="rolloverbutton.jar"/>

<jar href="htmlbutton.jar"/>

</resources>

Finally i added in the Java JRE console -> Security and exception for my hosts (I'm using  some jar files with a self signed certificate using webutil.sh).

Valid urlhttp://192.168.16.247:7777

This is the url for my host/form services

Now when i run my app is throwing this error:

JAR resources in JNLP file are not signed by same certificate

ExitException[ 3]JNLPException[category: Launch File Error : Exception: null : LaunchDesc:

<jnlp spec="1.0+" codebase="/forms/java" href="extensions.jnlp">

  <information>

    <title>Oracle Forms Services Extensions</title>

    <vendor>Oracle Corporation</vendor>

  </information>

  <security>

    <all-permissions/>

  </security>

  <resources>

    <jar href="jacob.jar"/>

    <jar href="frmwebutil.jar"/>

    <jar href="lablediconbutton.jar"/>

    <jar href="rolloverbutton.jar"/>

    <jar href="htmlbutton.jar"/>

  </resources>

  <component-desc/>

</jnlp> ]

  at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)

  at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  at java.lang.Thread.run(Unknown Source)

I understand the jar files do not have the same certificate which is obvious. Some jars are already signed by Oracle and the others were self signed by me, or so i believe.

How can i overcome thus issue????

Best regards, Luis!!!!

Now it's even worse, i just clean temp files on my java console and get this error:

Unable to load resource host/forms/java/extensions.jnlp

Why??? I mean why did it get worse????

ExitException[ 3]com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://192.168.16.247:7777/forms/java/extensions.jnlp

  at sun.plugin2.applet.JNLP2Manager.ensureAllJnlpFilesAreAvailable(Unknown Source)

  at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)

  at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)

  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

  at java.lang.Thread.run(Unknown Source)

This post has been answered by Dan Andro-Oracle on Dec 6 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2017
Added on Dec 5 2016
3 comments
807 views