Launch exception netx: Initialization Error: Could not initialize application.

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Ashok
Posts: 18
Joined: 01 Dec 2021, 08:40

Launch exception netx: Initialization Error: Could not initialize application.

Post by Ashok »

Hi,
I'm using Amazon Corretto JDK 1.8 and Openwebstart 1.5.0 in RHEL 8.4 OS Platform. When I try to launch the .jnlp file, I'm facing the below error.

Code: Select all

Launch exception
netx: Initialization Error: Could not initialize application. (Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.)
App already has trusted publisher: false
Operating Keystore /root/.config/icedtea-web/security/trusted.cacerts
Loading Keystore /root/.config/icedtea-web/security/trusted.cacerts
Keystore file /root/.config/icedtea-web/security/trusted.cacerts exists.
Operating Keystore /root/.config/icedtea-web/security/trusted.jssecacerts
Loading Keystore /root/.config/icedtea-web/security/trusted.jssecacerts
Keystore file /root/.config/icedtea-web/security/trusted.jssecacerts exists.
Operating Keystore /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/cacerts
ERROR
Operating Keystore /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/cacerts
Loading Keystore /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/cacerts
Keystore file /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/cacerts exists.
Operating Keystore Unknown
Loading Keystore Unknown
Keystore file /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/jssecacerts does not exists.
Operating Keystore /root/.config/icedtea-web/security/trusted.certs
Loading Keystore /root/.config/icedtea-web/security/trusted.certs
Keystore file /root/.config/icedtea-web/security/trusted.certs exists.
Operating Keystore /root/.config/icedtea-web/security/trusted.jssecerts
Loading Keystore /root/.config/icedtea-web/security/trusted.jssecerts
Keystore file /root/.config/icedtea-web/security/trusted.jssecerts exists.
Operating Keystore Unknown
Loading Keystore Unknown
Keystore file /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/trusted.certs does not exists.
Operating Keystore Unknown
Loading Keystore Unknown
Keystore file /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/trusted.jssecerts does not exists.
Jar found at /root/.cache/icedtea-web/cache/0/78/jbossall-client.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/66/jboss-ejb3x.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/62/swing-worker.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/65/validation.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/63/lablib-checkboxtree.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/59/forms.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/71/binding.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/58/jakarta-oro-2.0.8.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/57/jfreechart-1.0.6.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/56/jcommon-1.0.10.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/64/commons-vfs-1.0.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/55/commons-net-1.4.1.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/61/ohj-jewt.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/60/oracle_ice.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/54/help4.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/53/swingx-0.9.3.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/49/jsr173_api.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/52/jaxb-xjc.jar has been verified as SIGNED_OK
Jar found at /root/.cache/icedtea-web/cache/0/48/jaxb-impl.jar has been verified as SIGNED_OK
Please find the "deployment.properties" file which I have configured for OWS,

Code: Select all

ows.install4j.propertyUpdate=1643126272740
ows.jvm.manager.customSearchLocation=/usr/lib/jvm/java-1.8.0-amazon-corretto
deployment.cache.max.size=0
deployment.version=8
ows.update.strategy.settings=NEVER
ows.jvm.manager.searchLocalAtStartup=true
ows.jvm.manager.updateStrategy=NO_REMOTE
deployment.proxy.type=0
ows.update.activated=false
ows.update.strategy.launch=NEVER
deployment.log.stdstreams=false
deployment.javaws.shortcut=NEVER
ows.jvm.manager.maxDaysUnusedInJvmCache=1000
ows.jvm.manager.excludeDefaultSearchLocation=true

Please have a look at it and let me know the workaround solution.

Thanks,
Ashok

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

Re: Launch exception netx: Initialization Error: Could not initialize application.

Post by Janak Mulani »

> (Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.)

The log says that jars are not signed. Please sign the jars of your application.

Henceforth, please send log files instead of copying logs from console.

Post Reply