[SOLVED] Missing Permission in Manifest for Oracle Forms 10g

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
tofiquesoormo
Posts: 4
Joined: 02 Sep 2020, 18:01

[SOLVED] Missing Permission in Manifest for Oracle Forms 10g

Post by tofiquesoormo »

Hi

I am able to launch the application but after loading Oracle Forms 10g is crashing using my JNLP file,

I am using Amazon Corretto 8 1.8.0_265 as my default Java JDK

any support will be highly appreciated

Janak Mulani
Posts: 198
Joined: 24 Mar 2020, 13:37

Re: Oracle Forms 10g is crashing while using JNLP

Post by Janak Mulani »

Hi,

Just to confirm : You are able to start your application jnlp with OWS but after starting your application crashes when it tries to load Oracle Forms 10G. Is this correct?

Please check the following:

- the logs in <User Home>/.config/icedtea-web/log directory to see if they indicate anything?
- Are all the necessary jar files for your app with oracle Forms specified in the jnlp file?
- Is the same application jnlp running with JWS?

- Janak

tofiquesoormo
Posts: 4
Joined: 02 Sep 2020, 18:01

Re: Oracle Forms 10g is crashing while using JNLP

Post by tofiquesoormo »

Hi Janak

Thanks for the reply,

actually issue was MD5 Algorithm which was blocking and giving error on one of oracle jar file was not signed and
after removing MD5 algorithm from security settings, it worked.

Now I am still getting another warning message

"Application Webstart Test Oracle Forms 10g from http://myserv:7778/forms/java/ is missing the permissions attribute, Applications without this
attribute should be trusted. "

Please advice how to avoid this warning ?

Below is my JNLP code
=================

<jnlp spec="1.0+" codebase="http://myserv:7778/forms/java/">
<information>
<title>Webstart Test Oracle Forms 10g</title>
<vendor> test vendor </vendor>
<homepage href="null"/>
<description>Webstart Test Oracle Forms 10g</description>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java version="1.8.0_265"/>
<jar href="frmall.jar" download="eager" main="true"/>
</resources>
<applet-desc name="Webstart Test Oracle Forms 10g" main-class="oracle.forms.engine.Main" width="990" height="660">
<param name="background" value="no"/>
<param name="logo" value="no"/>
<param name="serverApp" value="default"/>
<param name="lookAndFeel" value="oracle"/>
<param name="allow_debug" value="true"/>
<param name="separateFrame" value="false"/>
<param name="em_mode" value="1"/>
<param name="latencyCheck" value="true"/>
<param name="networkRetries" value="240"/>
<param name="serverArgs" value="module=test.fmx useSDI=yes"/>
<param name="serverURL" value="http://myserv:7778/forms/lservlet?ifcfs ... config=jpi"/>
<param name="colorScheme" value="teal"/>
<param name="splashScreen" value="no"/>
<param name="dontTruncateTabs" value="true"/>
</applet-desc>
</jnlp>

Janak Mulani
Posts: 198
Joined: 24 Mar 2020, 13:37

Re: Oracle Forms 10g is crashing while using JNLP

Post by Janak Mulani »

Not only the jars should be signed by the same signature, their manifests should have the following attributes:

Permissions: all-permissions
Codebase: *
Application-Library-Allowable-Codebase: *

tofiquesoormo
Posts: 4
Joined: 02 Sep 2020, 18:01

Re: Oracle Forms 10g is crashing while using JNLP

Post by tofiquesoormo »

if you don't mind , can you mention where these attributes to be updated in my JNLP code above ?

Janak Mulani
Posts: 198
Joined: 24 Mar 2020, 13:37

Re: Oracle Forms 10g is crashing while using JNLP

Post by Janak Mulani »

Not in jnlp, these should be in the manifest of the signed jar file.

tofiquesoormo
Posts: 4
Joined: 02 Sep 2020, 18:01

Re: Oracle Forms 10g is crashing while using JNLP

Post by tofiquesoormo »

Ok instead of touching Oracle JAR, If I want to add the server in the exception list, how can we do in it in OWS ?

Janak Mulani
Posts: 198
Joined: 24 Mar 2020, 13:37

Re: Oracle Forms 10g is crashing while using JNLP

Post by Janak Mulani »

Is the Oracle Jar frmall.jar signed? Can you please send the screenshot of the dialog that is shown when you start the app and also the log files.

Thanks

Janak Mulani
Posts: 198
Joined: 24 Mar 2020, 13:37

Re: Oracle Forms 10g is crashing while using JNLP

Post by Janak Mulani »

If the Jar is signed but the Permissions attribute is missing in the jar's manifest then you will get the following dialog:
MissingPermission.PNG
MissingPermission.PNG (15.56 KiB) Viewed 1390 times
You can choose to "Remember this option" for the site and Press the Yes button. Your decision will be stored in the file <User_HOME>/.config/icedtea-web\.appletTrustSettings. Next time when you start the jnlp you will not be shown the above dialog.

Alternatively, you can suppress the checking of selected or all manifest attributes by specifying the following property in your deployment.properties file:

Code: Select all

deployment.manifest.attributes.check=NONE
Default value of this property is ALL.

Other values for this property are PERMISSIONS, CODEBASE, TRUSTED, ALAC, ENTRYPOINT. You can specify a comma separated list these Manifest attributes to be checked by OWS. For example if you want all except Permissions attribute to be checked by OWS ManifestChecker then you could specify:

Code: Select all

deployment.manifest.attributes.check= CODEBASE,TRUSTED,ALAC,ENTRYPOINT

Post Reply