java.sql.date ClassNotFound when lauching the client

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
oslodev
Posts: 9
Joined: 25 Nov 2022, 16:47

java.sql.date ClassNotFound when lauching the client

Post by oslodev »

Hello and happy new year !

We are currently migrating from Java 8 to Java 17 + open web start. We are facing an issue we are not able to solve after quite a lot of research : We get a ClassNotFound error on java.sql.Date when launching the client. The package is present in the module.java file.

Here is the complete stack :

Code: Select all

java.lang.ClassNotFoundException: java.sql.Date
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.rmi/sun.rmi.server.LoaderHandler$Loader.loadClass(LoaderHandler.java:1216)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:467)
    at java.rmi/sun.rmi.server.LoaderHandler.loadClassForName(LoaderHandler.java:1230)
    at java.rmi/sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:458)
    at java.rmi/sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:188)
    at java.rmi/java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:639)
    at java.rmi/java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:265)
    at java.rmi/sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:199)
    at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2045)
    at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1909)
    at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2235)
    at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744)
    at java.base/java.io.ObjectInputStream$FieldValues.<init>(ObjectInputStream.java:2617)
    at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2468)
    at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2268)
    at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744)
    at java.base/java.io.ObjectInputStream$FieldValues.<init>(ObjectInputStream.java:2617)
    at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2468)
    at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2268)
    at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744)
    at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:514)
    at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:472)
    at java.rmi/sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:328)
    at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:178)
    at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:215)
    at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:160)
    at jdk.proxy2/jdk.proxy2.$Proxy13.exec(Unknown Source)
    at net.sf.extrmi.ClientRMIInterceptorControl.makeRemoteInvocation(ClientRMIInterceptorControl.java:312)
    at net.sf.extrmi.ClientRMIInterceptorControl.invoke(ClientRMIInterceptorControl.java:208)
    at jdk.proxy2/jdk.proxy2.$Proxy13.getVersionStruct(Unknown Source)
    at kim.util.client.entryadm.mvc.LauncherCtrl.checkAppl(LauncherCtrl.java:162)
    at kim.util.client.entryadm.mvc.LauncherCtrl$1.run(LauncherCtrl.java:86)
    at java.base/java.lang.Thread.run(Thread.java:833)

And thne jnlp file :

Code: Select all

<?xml version="1.0"?>
<!-- JNLP File for gsi --> 
<jnlp 
     spec="1.0+" 
     codebase="http://vm2022v7st:8060/xxx" 
> 
  <information> 
    <title>xxx</title> 
    <vendor>xxxx</vendor> 
    <homepage href="http://www.xxxxxx.com"/> 
    <description>xxxxx</description> 
    <description kind="short">xxxxx</description>
    <icon href="http://vm2022v7st:8060/KimWeb/ressources/images/jws/kimweb_64x64.png"/>
    <icon kind="splash" href="http://vm2022v7st:8060/KimWeb/ressources/images/jws/splash_screen_kimoce.png"/>
  </information> 
  <security>
   <all-permissions />
  </security>  
  <update check="never" policy="always"/>  <resources> 
    <j2se version="17+" max-heap-size="1024m"/>
    <jar name="kimweb" href="http://vm2022v7st:8060/KimWeb/ressources/lib/kimweb.jar"/>
    <jar name="utilscommons-1.0" href="http://vm2022v7st:8060/KimWeb/ressources/lib/utilscommons-1.0.jar"/>
    <jar name="extrmi-0.2.4.3.Kim1.0" href="http://vm2022v7st:8060/KimWeb/ressources/lib/extrmi-0.2.4.3.Kim1.0.jar"/>
    <jar name="commons-logging-1.1.1" href="http://vm2022v7st:8060/KimWeb/ressources/lib/commons-logging-1.1.1.jar"/>
    <jar name="commons-collections-3.2.1" href="http://vm2022v7st:8060/KimWeb/ressources/lib/commons-collections-3.2.1.jar"/>
    <jar name="jcommon-1.0.23" href="http://vm2022v7st:8060/KimWeb/ressources/lib/jcommon-1.0.23.jar"/>
    <jar name="jfreechart-1.0.19" href="http://vm2022v7st:8060/KimWeb/ressources/lib/jfreechart-1.0.19.jar"/>
    <jar name="swingx-1.6.1" href="http://vm2022v7st:8060/KimWeb/ressources/lib/swingx-1.6.1.jar"/>
    <jar name="hibernate-entitymanager-5.2.5.Final" href="http://vm2022v7st:8060/KimWeb/ressources/lib/hibernate-entitymanager-5.2.5.Final.jar"/>
    <jar name="hibernate-c3p0-5.2.5.Final" href="http://vm2022v7st:8060/KimWeb/ressources/lib/hibernate-c3p0-5.2.5.Final.jar"/>
    <jar name="hibernate-core-5.2.5.Final" href="http://vm2022v7st:8060/KimWeb/ressources/lib/hibernate-core-5.2.5.Final.jar"/>
    <jar name="hibernate-validator-5.3.4.Final" href="http://vm2022v7st:8060/KimWeb/ressources/lib/hibernate-validator-5.3.4.Final.jar"/>
    <jar name="hibernate-jpa-2.1-api-1.0.0.Final" href="http://vm2022v7st:8060/KimWeb/ressources/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar"/>
    <jar name="javassist-3.18.1-GA" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javassist-3.18.1-GA.jar"/>
    <jar name="jboss-logging-3.3.0.Final" href="http://vm2022v7st:8060/KimWeb/ressources/lib/jboss-logging-3.3.0.Final.jar"/>
    <jar name="geronimo-jms_1.1_spec-1.1.1" href="http://vm2022v7st:8060/KimWeb/ressources/lib/geronimo-jms_1.1_spec-1.1.1.jar"/>
    <jar name="activemq-all-5.17.2" href="http://vm2022v7st:8060/KimWeb/ressources/lib/activemq-all-5.17.2.jar"/>
    <jar name="activemq-jaas-5.17.2" href="http://vm2022v7st:8060/KimWeb/ressources/lib/activemq-jaas-5.17.2.jar"/>
    <jar name="geronimo-j2ee-1.0" href="http://vm2022v7st:8060/KimWeb/ressources/lib/geronimo-j2ee-1.0.jar"/>
    <jar name="twain-1.0" href="http://vm2022v7st:8060/KimWeb/ressources/lib/twain-1.0.jar"/>
    <jar name="postgresql-42.2.19-2" href="http://vm2022v7st:8060/KimWeb/ressources/lib/postgresql-42.2.19-2.jar"/>
    <jar name="jcs-1.3" href="http://vm2022v7st:8060/KimWeb/ressources/lib/jcs-1.3.jar"/>
    <jar name="concurrent-1.3.4" href="http://vm2022v7st:8060/KimWeb/ressources/lib/concurrent-1.3.4.jar"/>
    <jar name="javafx-base-17.0.2-linux" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-base-17.0.2-linux.jar"/>
    <jar name="javafx-controls-17.0.2-linux" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-controls-17.0.2-linux.jar"/>
    <jar name="javafx-fxml-17.0.2-linux" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-fxml-17.0.2-linux.jar"/>
    <jar name="javafx-graphics-17.0.2-linux" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-graphics-17.0.2-linux.jar"/>
    <jar name="javafx-media-17.0.2-linux" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-media-17.0.2-linux.jar"/>
    <jar name="javafx-swing-17.0.2-linux" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-swing-17.0.2-linux.jar"/>
    <jar name="javafx-web-17.0.2-linux" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-web-17.0.2-linux.jar"/>
    <jar name="javafx-base-17.0.2-win" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-base-17.0.2-win.jar"/>
    <jar name="javafx-controls-17.0.2-win" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-controls-17.0.2-win.jar"/>
    <jar name="javafx-fxml-17.0.2-win" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-fxml-17.0.2-win.jar"/>
    <jar name="javafx-graphics-17.0.2-win" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-graphics-17.0.2-win.jar"/>
    <jar name="javafx-media-17.0.2-win" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-media-17.0.2-win.jar"/>
    <jar name="javafx-swing-17.0.2-win" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-swing-17.0.2-win.jar"/>
    <jar name="javafx-web-17.0.2-win" href="http://vm2022v7st:8060/KimWeb/ressources/lib/javafx-web-17.0.2-win.jar"/>
 
    <jar name="pluginsmanager" href="http://vm2022v7st:8060/KimWeb/ressources/lib/pluginsmanager.jar"/>
    <jar name="slf4j-api-2.0.0.jar" href="http://vm2022v7st:8060/KimWeb/ressources/lib/slf4j-api-2.0.0.jar"/>
   <property name="net.sf.extrmi.RMIInterceptorControlInitInfo.RMIInterceptorClass.kim.rmi.extrmi.interceptor.TransacRmiInterceptor" value=""/>
  </resources> 
  <application-desc main-class="kim.appli.frame.entryadm.Launcher">
    <argument>bundleUrl=http://vm2022v7st:8060/KimWeb/ressources/lib/kimoce-bundles.jar|prism.order=j2d|--add-opens=java.base/java.lang=ALL-UNNAMED</argument>
  </application-desc>
</jnlp> 

We checked the the module.java file, added the add-opens=java.base/java.lang=ALL-UNNAMED, but no result

We also tried this :

<j2se version="17+" max-heap-size="1024m" java-vm-args="--add-opens=java.sql/java.sql=java.rmi"/>and this <j2se version="17+" max-heap-size="1024m" java-vm-args="--add-opens=java.sql/java.sql=ALL-UNNAMED"/> without an success.

Can anybody help ?

Thanks a lot :).

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

Re: java.sql.date ClassNotFound when lauching the client

Post by Janak Mulani »

Can you please send the OWS logs?

Seems your application is spawning a thread and using own classloader which is not able to load the required class from the jars on the classpath of OWS's JnlpClassloader.

oslodev
Posts: 9
Joined: 25 Nov 2022, 16:47

Re: java.sql.date ClassNotFound when lauching the client

Post by oslodev »

Hello,

Here you are. Let me know if you need anything else.

Code: Select all

init logger factory to net.sourceforge.jnlp.util.logging.OutputControllerLoggerFactory@aec6354
OWS main args [/...../myfile.jnlp].
Starting OpenWebStart 1.7.0
Ico provider registered correctly.
Start DeploymentConfiguration.load()
Ico provider registered correctly.
Start DeploymentConfiguration.load()
Loading USER level properties from: file:/root/.config/icedtea-web/deployment.properties
End DeploymentConfiguration.load()
Loading USER level properties from: file:/root/.config/icedtea-web/deployment.properties
End DeploymentConfiguration.load()
Trying to set download indicator
Setting download indicator to com.openwebstart.download.ApplicationDownloadIndicator@6b2fad11
Checking if installation time (9223372036854775807) is after last initial config time (1675690417613)
Looks like OpenWebStart is started for the first time. Will import initial configuration
Checking if property 'ows.jvm.manager.cache.dir' is predefined
Checking if property 'ows.jvm.manager.server.default' is predefined
Checking if property 'ows.jvm.manager.server.allowFromJnlp' is predefined
Checking if property 'ows.jvm.manager.vendor' is predefined
Checking if property 'ows.jvm.manager.vendor.allowFromJnlp' is predefined
Checking if property 'ows.jvm.manager.server.allowFromJnlp.whitelist' is predefined
Checking if property 'ows.jvm.manager.updateStrategy' is predefined
Checking if property 'ows.jvm.manager.versionRange' is predefined
Checking if property 'ows.jvm.manager.searchLocalAtStartup' is predefined
Checking if property 'ows.jvm.manager.excludeDefaultSearchLocation' is predefined
Checking if property 'ows.jvm.manager.cache.cleanup' is predefined
Checking if property 'ows.jvm.manager.customSearchLocation' is predefined
Checking if property 'deployment.proxy.http.host' is predefined
Checking if property 'deployment.proxy.https.host' is predefined
Checking if property 'deployment.proxy.http.port' is predefined
Checking if property 'deployment.proxy.https.port' is predefined
Checking if property 'deployment.proxy.bypass.local' is predefined
Checking if property 'deployment.proxy.bypass.list' is predefined
Checking if property 'deployment.proxy.type' is predefined
Checking if property 'deployment.proxy.auto.config.url' is predefined
Checking if property 'deployment.proxy.same' is predefined
Checking if property 'deployment.cache.max.size' is predefined
Checking if property 'deployment.https.noenforce' is predefined
Checking if property 'deployment.assumeFileSystemInCodebase' is predefined
Checking if property 'deployment.security.whitelist' is predefined
Checking if property 'deployment.manifest.attributes.check' is predefined
Checking if property 'ows.jvm.manager.maxDaysUnusedInJvmCache' is predefined
Checking if property 'deployment.log' is predefined
Checking if property 'deployment.log.file' is predefined
Checking if property 'deployment.jvm.arguments.whitelist' is predefined
Checking if property 'deployment.javaws.shortcut' is predefined
Checking if property 'deployment.connection.connectTimeout' is predefined
Checking if property 'deployment.connection.readTimeout' is predefined
Checking if property 'ows.shortcut.update.strategy' is predefined
Checking if property 'ows.update.activated' is predefined
Checking if property 'ows.checkUpdate' is predefined
Checking if property 'ows.update.strategy.settings' is predefined
Checking if property 'ows.update.strategy.launch' is predefined
Saving properties into /root/.config/icedtea-web/deployment.properties
Won't save property 'deployment.launcher.rust.cp.remove' since its current value is its default value ('')
Will not lock property 'deployment.launcher.rust.cp.remove'
Will save property 'deployment.assumeFileSystemInCodebase' with value ('true')
Will not lock property 'deployment.assumeFileSystemInCodebase'
Won't save property 'deployment.security.askgrantdialog.show' since its current value is its default value ('true')
Will not lock property 'deployment.security.askgrantdialog.show'
Will save property 'deployment.log' with value ('true')
Will not lock property 'deployment.log'
Won't save property 'ows.security.enableClientCertImport' since its current value is its default value ('false')
Will not lock property 'ows.security.enableClientCertImport'
Won't save property 'deployment.security.sandbox.awtwarningwindow' since its current value is its default value ('true')
Will not lock property 'deployment.security.sandbox.awtwarningwindow'
Won't save property 'deployment.security.expired.warning' since its current value is its default value ('true')
Will not lock property 'deployment.security.expired.warning'
Won't save property 'deployment.system.cachedir' since its current value is its default value ('null')
Will not lock property 'deployment.system.cachedir'
Won't save property 'deployment.javapi.cache.enabled' since its current value is its default value ('false')
Will not lock property 'deployment.javapi.cache.enabled'
Will save property 'ows.remote.debug.startSuspended' with value ('false')
Will not lock property 'ows.remote.debug.startSuspended'
Won't save property 'deployment.user.security.trusted.cacerts' since its current value is its default value ('/root/.config/icedtea-web/security/trusted.cacerts')
Will not lock property 'deployment.user.security.trusted.cacerts'
Won't save property 'deployment.small.size.threshold' since its current value is its default value ('10')
Will not lock property 'deployment.small.size.threshold'
Won't save property 'deployment.security.jsse.hostmismatch.warning' since its current value is its default value ('true')
Will not lock property 'deployment.security.jsse.hostmismatch.warning'
Won't save property 'deployment.connection.readTimeout' since its current value is its default value ('10000')
Will not lock property 'deployment.connection.readTimeout'
Won't save property 'deployment.launcher.rust.cp.add' since its current value is its default value ('')
Will not lock property 'deployment.launcher.rust.cp.add'
Will save property 'deployment.javaws.shortcut' with value ('NEVER')
Will not lock property 'deployment.javaws.shortcut'
Won't save property 'deployment.small.size.override.width' since its current value is its default value ('800')
Will not lock property 'deployment.small.size.override.width'
Won't save property 'deployment.log.file' since its current value is its default value ('false')
Will not lock property 'deployment.log.file'
Won't save property 'deployment.proxy.pac.cache' since its current value is its default value ('false')
Will not lock property 'deployment.proxy.pac.cache'
Won't save property 'ows.jvm.manager.server.default' since its current value is its default value ('https://download-openwebstart.com/jvms.json')
Will not lock property 'ows.jvm.manager.server.default'
Won't save property 'deployment.connection.connectTimeout' since its current value is its default value ('10000')
Will not lock property 'deployment.connection.connectTimeout'
Won't save property 'deployment.proxy.https.host' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.https.host'
Won't save property 'ows.jvm.manager.server.allowFromJnlp.whitelist' since its current value is its default value ('null')
Will not lock property 'ows.jvm.manager.server.allowFromJnlp.whitelist'
Won't save property 'deployment.security.itw.disablerestrictedfiles' since its current value is its default value ('false')
Will not lock property 'deployment.security.itw.disablerestrictedfiles'
Won't save property 'ows.jvm.proxy.unsupportedFeature.showNotification' since its current value is its default value ('true')
Will not lock property 'ows.jvm.proxy.unsupportedFeature.showNotification'
Won't save property 'deployment.system.security.trusted.certs' since its current value is its default value ('/opt/OpenWebStart/jre/lib/security/trusted.certs')
Will not lock property 'deployment.system.security.trusted.certs'
Won't save property 'deployment.system.config' since its current value is its default value ('null')
Will not lock property 'deployment.system.config'
Won't save property 'deployment.user.cachedir' since its current value is its default value ('/root/.cache/icedtea-web/cache')
Will not lock property 'deployment.user.cachedir'
Won't save property 'deployment.log.system' since its current value is its default value ('true')
Will not lock property 'deployment.log.system'
Won't save property 'deployment.proxy.override.hosts' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.override.hosts'
Won't save property 'deployment.jnlpclassloader.strict' since its current value is its default value ('true')
Will not lock property 'deployment.jnlpclassloader.strict'
Won't save property 'ows.jvm.manager.updateStrategy' since its current value is its default value ('ASK_FOR_UPDATE_ON_LOCAL_MATCH')
Will not lock property 'ows.jvm.manager.updateStrategy'
Won't save property 'deployment.manifest.attributes.check' since its current value is its default value ('ALL')
Will not lock property 'deployment.manifest.attributes.check'
Will save property 'ows.remote.debug.randomDebugPort' with value ('true')
Will not lock property 'ows.remote.debug.randomDebugPort'
Won't save property 'deployment.proxy.socks.host' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.socks.host'
Will save property 'deployment.jvm.arguments.whitelist' with value ('--add-opens,--add-exports,--add-modules,--module-path')
Will not lock property 'deployment.jvm.arguments.whitelist'
Won't save property 'deployment.security.level' since its current value is its default value ('null')
Will not lock property 'deployment.security.level'
Won't save property 'deployment.security.trusted.policy' since its current value is its default value ('null')
Will not lock property 'deployment.security.trusted.policy'
Won't save property 'deployment.proxy.bypass.local' since its current value is its default value ('false')
Will not lock property 'deployment.proxy.bypass.local'
Won't save property 'deployment.proxy.http.host' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.http.host'
Won't save property 'ows.remote.debug.host' since its current value is its default value ('127.0.0.1')
Will not lock property 'ows.remote.debug.host'
Won't save property 'deployment.proxy.https.port' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.https.port'
Will save property 'ows.experimental.applicationManager.active' with value ('true')
Will not lock property 'ows.experimental.applicationManager.active'
Won't save property 'deployment.system.security.trusted.clientautcerts' since its current value is its default value ('/opt/OpenWebStart/jre/lib/security/trusted.clientcerts')
Will not lock property 'deployment.system.security.trusted.clientautcerts'
Won't save property 'deployment.user.pcachedir' since its current value is its default value ('/root/.cache/icedtea-web/pcache')
Will not lock property 'deployment.user.pcachedir'
Won't save property 'deployment.log.stdstreams' since its current value is its default value ('true')
Will not lock property 'deployment.log.stdstreams'
Won't save property 'deployment.launcher.rust.bootcp.remove' since its current value is its default value ('')
Will not lock property 'deployment.launcher.rust.bootcp.remove'
Won't save property 'deployment.user.runningfile' since its current value is its default value ('/tmp/root/netx/locks/netx_running')
Will not lock property 'deployment.user.runningfile'
Won't save property 'ows.jvm.manager.excludeDefaultSearchLocation' since its current value is its default value ('false')
Will not lock property 'ows.jvm.manager.excludeDefaultSearchLocation'
Won't save property 'deployment.system.security.cacerts' since its current value is its default value ('/opt/OpenWebStart/jre/lib/security/cacerts')
Will not lock property 'deployment.system.security.cacerts'
Won't save property 'deployment.log.file.clientapp' since its current value is its default value ('true')
Will not lock property 'deployment.log.file.clientapp'
Won't save property 'ows.jvm.manager.maxDaysUnusedInJvmCache' since its current value is its default value ('30')
Will not lock property 'ows.jvm.manager.maxDaysUnusedInJvmCache'
Won't save property 'deployment.user.logdir' since its current value is its default value ('/root/.config/icedtea-web/log')
Will not lock property 'deployment.user.logdir'
Won't save property 'deployment.cache.max.size' since its current value is its default value ('-1')
Will not lock property 'deployment.cache.max.size'
Won't save property 'deployment.javaws.update.timeout' since its current value is its default value ('500')
Will not lock property 'deployment.javaws.update.timeout'
Won't save property 'deployment.https.noenforce' since its current value is its default value ('false')
Will not lock property 'deployment.https.noenforce'
Won't save property 'deployment.javaws.associations' since its current value is its default value ('2')
Will not lock property 'deployment.javaws.associations'
Won't save property 'deployment.cache.parallelDownloadCount' since its current value is its default value ('6')
Will not lock property 'deployment.cache.parallelDownloadCount'
Won't save property 'ows.update.strategy.settings' since its current value is its default value ('ON_EVERY_START')
Will not lock property 'ows.update.strategy.settings'
Won't save property 'deployment.proxy.http.port' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.http.port'
Won't save property 'deployment.security.askgrantdialog.notinca' since its current value is its default value ('true')
Will not lock property 'deployment.security.askgrantdialog.notinca'
Won't save property 'deployment.system.security.jssecacerts' since its current value is its default value ('/opt/OpenWebStart/jre/lib/security/jssecacerts')
Will not lock property 'deployment.system.security.jssecacerts'
Won't save property 'ows.update.activated' since its current value is its default value ('true')
Will not lock property 'ows.update.activated'
Won't save property 'deployment.proxy.auto.config.url' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.auto.config.url'
Won't save property 'ows.jvm.manager.vendor.allowFromJnlp' since its current value is its default value ('false')
Will not lock property 'ows.jvm.manager.vendor.allowFromJnlp'
Won't save property 'ows.jvm.manager.customSearchLocation' since its current value is its default value ('null')
Will not lock property 'ows.jvm.manager.customSearchLocation'
Won't save property 'deployment.system.security.policy' since its current value is its default value ('null')
Will not lock property 'deployment.system.security.policy'
Won't save property 'deployment.browser.path' since its current value is its default value ('null')
Will not lock property 'deployment.browser.path'
Won't save property 'deployment.security.sandbox.jnlp.enhanced' since its current value is its default value ('true')
Will not lock property 'deployment.security.sandbox.jnlp.enhanced'
Won't save property 'deployment.user.security.policy' since its current value is its default value ('file:///root/.config/icedtea-web/security/java.policy')
Will not lock property 'deployment.user.security.policy'
Won't save property 'ows.jvm.manager.cache.dir' since its current value is its default value ('/root/.cache/icedtea-web/jvm-cache')
Will not lock property 'ows.jvm.manager.cache.dir'
Won't save property 'deployment.system.security.trusted.jssecerts' since its current value is its default value ('/opt/OpenWebStart/jre/lib/security/trusted.jssecerts')
Will not lock property 'deployment.system.security.trusted.jssecerts'
Won't save property 'deployment.security.notinca.warning' since its current value is its default value ('true')
Will not lock property 'deployment.security.notinca.warning'
Won't save property 'deployment.user.security.trusted.jssecacerts' since its current value is its default value ('/root/.config/icedtea-web/security/trusted.jssecacerts')
Will not lock property 'deployment.user.security.trusted.jssecacerts'
Won't save property 'ows.shortcut.update.strategy' since its current value is its default value ('OVERWRITE')
Will not lock property 'ows.shortcut.update.strategy'
Won't save property 'deployment.proxy.socks.port' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.socks.port'
Will save property 'deployment.log.jnlpFileContent' with value ('true')
Will not lock property 'deployment.log.jnlpFileContent'
Won't save property 'deployment.user.security.trusted.jssecerts' since its current value is its default value ('/root/.config/icedtea-web/security/trusted.jssecerts')
Will not lock property 'deployment.user.security.trusted.jssecerts'
Won't save property 'deployment.small.size.override.height' since its current value is its default value ('600')
Will not lock property 'deployment.small.size.override.height'
Won't save property 'ows.jvm.manager.server.allowFromJnlp' since its current value is its default value ('false')
Will not lock property 'ows.jvm.manager.server.allowFromJnlp'
Won't save property 'deployment.javaws.autodownload' since its current value is its default value ('false')
Will not lock property 'deployment.javaws.autodownload'
Will save property 'ows.remote.debug.enabled' with value ('true')
Will not lock property 'ows.remote.debug.enabled'
Won't save property 'deployment.user.tmp' since its current value is its default value ('/root/.cache/icedtea-web/tmp')
Will not lock property 'deployment.user.tmp'
Will save property 'ows.install4j.propertyUpdate' with value ('1675690421924')
Will not lock property 'ows.install4j.propertyUpdate'
Won't save property 'ows.jvm.manager.searchLocalAtStartup' since its current value is its default value ('false')
Will not lock property 'ows.jvm.manager.searchLocalAtStartup'
Won't save property 'ows.jvm.manager.versionRange' since its current value is its default value ('1.8+')
Will not lock property 'ows.jvm.manager.versionRange'
Won't save property 'deployment.proxy.same' since its current value is its default value ('false')
Will not lock property 'deployment.proxy.same'
Won't save property 'deployment.user.security.trusted.certs' since its current value is its default value ('/root/.config/icedtea-web/security/trusted.certs')
Will not lock property 'deployment.user.security.trusted.certs'
Won't save property 'ows.jvm.manager.cache.cleanup' since its current value is its default value ('true')
Will not lock property 'ows.jvm.manager.cache.cleanup'
Won't save property 'deployment.proxy.ftp.port' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.ftp.port'
Will save property 'ows.jvm.manager.vendor' with value ('Eclipse Adoptium')
Will not lock property 'ows.jvm.manager.vendor'
Won't save property 'ows.update.strategy.launch' since its current value is its default value ('WEEKLY')
Will not lock property 'ows.update.strategy.launch'
Won't save property 'deployment.security.whitelist' since its current value is its default value ('null')
Will not lock property 'deployment.security.whitelist'
Won't save property 'deployment.user.security.trusted.clientauthcerts' since its current value is its default value ('/root/.config/icedtea-web/security/trusted.clientcerts')
Will not lock property 'deployment.user.security.trusted.clientauthcerts'
Won't save property 'deployment.proxy.bypass.list' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.bypass.list'
Won't save property 'deployment.javaws.installURL' since its current value is its default value ('null')
Will not lock property 'deployment.javaws.installURL'
Won't save property 'deployment.jre.dir' since its current value is its default value ('null')
Will not lock property 'deployment.jre.dir'
Won't save property 'ows.remote.debug.fixedPort' since its current value is its default value ('5005')
Will not lock property 'ows.remote.debug.fixedPort'
Won't save property 'deployment.headless.ignore' since its current value is its default value ('false')
Will not lock property 'deployment.headless.ignore'
Won't save property 'deployment.proxy.type' since its current value is its default value ('4')
Will not lock property 'deployment.proxy.type'
Won't save property 'deployment.user.locksdir' since its current value is its default value ('/tmp/root/netx/locks')
Will not lock property 'deployment.user.locksdir'
Won't save property 'deployment.plugin.jvm.arguments' since its current value is its default value ('null')
Will not lock property 'deployment.plugin.jvm.arguments'
Won't save property 'deployment.proxy.ftp.host' since its current value is its default value ('null')
Will not lock property 'deployment.proxy.ftp.host'
Won't save property 'deployment.system.config.mandatory' since its current value is its default value ('false')
Will not lock property 'deployment.system.config.mandatory'
Won't save property 'deployment.launcher.rust.bootcp.add' since its current value is its default value ('null')
Will not lock property 'deployment.launcher.rust.bootcp.add'
Won't save property 'deployment.security.itw.ignorecertissues' since its current value is its default value ('false')
Will not lock property 'deployment.security.itw.ignorecertissues'
Will save property 'deployment.console.startup.mode' with value ('SHOW')
Will not lock property 'deployment.console.startup.mode'
Won't save property 'deployment.log.file.legacylog' since its current value is its default value ('false')
Will not lock property 'deployment.log.file.legacylog'
Won't save property 'deployment.log.headers' since its current value is its default value ('false')
Will not lock property 'deployment.log.headers'
Won't save property 'deployment.cache.jarcompression' since its current value is its default value ('0')
Will not lock property 'deployment.cache.jarcompression'
Start DeploymentConfiguration.load()
Loading USER level properties from: file:/root/.config/icedtea-web/deployment.properties
End DeploymentConfiguration.load()
Import of initial configuration done
RelevantJavawsArgs: '[/..../myfile.jnlp]'
Calling ITW Boot with args [/....../myfile.jnlp].
OpenWebStartLauncher called with args: [/...../myfile.jnlp].
OS: Linux
Java Runtime Temurin-1.8.0_345
using com.openwebstart.extensionpoint.OwsExtensionPoint extension point
Begin JNLPRuntime.initialize()
Start get JavaPolicy
Begin getPolicyFromUrl(null)
End getPolicyFromUrl()
Begin getPolicyFromUrl(file:///root/.config/icedtea-web/security/java.policy)
Start Policy.getInstance(file:/root/.config/icedtea-web/security/java.policy)
End Policy.getInstance(file:/root/.config/icedtea-web/security/java.policy)
End getPolicyFromUrl()
Finished get JavaPolicy
Started Security Thread
Starting security dialog thread
Keystore file /root/.config/icedtea-web/security/trusted.clientcerts exists.
Loading Keystore /root/.config/icedtea-web/security/trusted.clientcerts
Operating Keystore /root/.config/icedtea-web/security/trusted.clientcerts
Operating Keystore Unknown
Keystore file /opt/OpenWebStart/jre/lib/security/trusted.jssecerts does not exists.
Loading Keystore Unknown
Operating Keystore Unknown
Keystore file /opt/OpenWebStart/jre/lib/security/trusted.certs does not exists.
Loading Keystore Unknown
Operating Keystore Unknown
Keystore file /root/.config/icedtea-web/security/trusted.jssecerts exists.
Loading Keystore /root/.config/icedtea-web/security/trusted.jssecerts
Operating Keystore /root/.config/icedtea-web/security/trusted.jssecerts
Keystore file /root/.config/icedtea-web/security/trusted.certs exists.
Loading Keystore /root/.config/icedtea-web/security/trusted.certs
Operating Keystore /root/.config/icedtea-web/security/trusted.certs
Keystore file /opt/OpenWebStart/jre/lib/security/jssecacerts does not exists.
Loading Keystore Unknown
Operating Keystore Unknown
Keystore file /opt/OpenWebStart/jre/lib/security/cacerts exists.
Loading Keystore /opt/OpenWebStart/jre/lib/security/cacerts
Operating Keystore /opt/OpenWebStart/jre/lib/security/cacerts
Keystore file /root/.config/icedtea-web/security/trusted.jssecacerts exists.
Loading Keystore /root/.config/icedtea-web/security/trusted.jssecacerts
Operating Keystore /root/.config/icedtea-web/security/trusted.jssecacerts
Keystore file /root/.config/icedtea-web/security/trusted.cacerts exists.
Loading Keystore /root/.config/icedtea-web/security/trusted.cacerts
Operating Keystore /root/.config/icedtea-web/security/trusted.cacerts
Keystore file /opt/OpenWebStart/jre/lib/security/trusted.clientcerts does not exists.
Loading Keystore Unknown
Operating Keystore Unknown
Keystore file /root/.config/icedtea-web/security/trusted.clientcerts exists.
Loading Keystore /root/.config/icedtea-web/security/trusted.clientcerts
Operating Keystore /root/.config/icedtea-web/security/trusted.clientcerts
Start Proxy Selector
Selected ProxyProvider : OPERATION_SYSTEM
Linux based proxy created
Finished Proxy Selector
End JNLPRuntime.initialize()
Proceeding with jnlp
JNLP file location: /....../myfile.jnlp
Create resource for 'file:/..../myfile.jnlp'
Resource is not cacheable: myfile.jnlp
Download done. Shutting down executor
Parsing JNLP file location: file:/...../myfile.jnlp codebase: null content: <?xml version="1.0"?> <!-- JNLP File for gsi --> <jnlp     spec="1.0+"     codebase="http://server:80/modules/" >   <information>     <title>MyCompany</title>     <homepage href="https://www.mycompany.com"/>     <description>MyCompany</description>     <description kind="short">Solution KIMOCE</description>     <icon href="http://server:80/modules/ressources/images/jws/mycomp_64x64.png"/>     <icon kind="splash" href="http://server:80/modules/ressources/images/jws/splash_screen_mycompany.png"/>   </information>   <security>   <all-permissions />   </security>    <update check="background" policy="always"/>   <resources os="Windows">     <java version="17+" max-heap-size="1024m" java-vm-args="--add-opens=java.sql/java.sql=ALL-UNNAMED,java.base,java.rmi --add-modules=ALL-SYSTEM,java.base,java.rmi,java.sql" />     <jar name="utilscommons-1.0" href="http://server:80/modules/ressources/lib/utilscommons-1.0.jar"/>     <jar name="extrmi-0.2.4.3.Kim1.0" href="http://server:80/modules/ressources/lib/extrmi-0.2.4.3.Kim1.0.jar"/>     <jar name="commons-logging-1.1.1" href="http://server:80/modules/ressources/lib/commons-logging-1.1.1.jar"/>     <jar name="commons-collections-3.2.1" href="http://server:80/modules/ressources/lib/commons-collections-3.2.1.jar"/>     <jar name="jcommon-1.0.23" href="http://server:80/modules/ressources/lib/jcommon-1.0.23.jar"/>     <jar name="jfreechart-1.0.19" href="http://server:80/modules/ressources/lib/jfreechart-1.0.19.jar"/>     <jar name="swingx-1.6.1" href="http://server:80/modules/ressources/lib/swingx-1.6.1.jar"/>     <jar name="hibernate-entitymanager-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-entitymanager-5.6.14.Final.jar"/>     <jar name="hibernate-c3p0-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-c3p0-5.6.14.Final.jar"/>     <jar name="hibernate-core-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-core-5.6.14.Final.jar"/>     <jar name="hibernate-validator-5.4.3.Final" href="http://server:80/modules/ressources/lib/hibernate-validator-5.4.3.Final.jar"/>     <jar name="hibernate-jpa-2.1-api-1.0.2.Final" href="http://server:80/modules/ressources/lib/hibernate-jpa-2.1-api-1.0.2.Final.jar"/>     <jar name="javassist-3.18.1-GA" href="http://server:80/modules/ressources/lib/javassist-3.18.1-GA.jar"/>     <jar name="jboss-logging-3.3.0.Final" href="http://server:80/modules/ressources/lib/jboss-logging-3.3.0.Final.jar"/>     <jar name="byte-buddy-1.12.18" href="http://server:80/modules/ressources/lib/byte-buddy-1.12.18.jar"/>     <jar name="geronimo-jms_1.1_spec-1.1.1" href="http://server:80/modules/ressources/lib/geronimo-jms_1.1_spec-1.1.1.jar"/>     <jar name="activemq-all-5.17.2" href="http://server:80/modules/ressources/lib/activemq-all-5.17.2.jar"/>     <jar name="activemq-jaas-5.17.2" href="http://server:80/modules/ressources/lib/activemq-jaas-5.17.2.jar"/>     <jar name="geronimo-j2ee-1.0" href="http://server:80/modules/ressources/lib/geronimo-j2ee-1.0.jar"/>     <jar name="slf4j-api-2.0.0" href="http://server:80/modules/ressources/lib/slf4j-api-2.0.0.jar"/>     <jar name="twain-1.0" href="http://server:80/modules/ressources/lib/twain-1.0.jar"/>     <jar name="postgresql-42.2.19-2" href="http://server:80/modules/ressources/lib/postgresql-42.2.19-2.jar"/>     <jar name="jcs-1.3" href="http://server:80/modules/ressources/lib/jcs-1.3.jar"/>     <jar name="concurrent-1.3.4" href="http://server:80/modules/ressources/lib/concurrent-1.3.4.jar"/>     <jar name="javafx-base-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-base-17.0.2-win.jar"/>     <jar name="javafx-controls-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-controls-17.0.2-win.jar"/>     <jar name="javafx-fxml-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-fxml-17.0.2-win.jar"/>     <jar name="javafx-graphics-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-graphics-17.0.2-win.jar"/>     <jar name="javafx-media-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-media-17.0.2-win.jar"/>     <jar name="javafx-swing-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-swing-17.0.2-win.jar"/>     <jar name="javafx-web-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-web-17.0.2-win.jar"/>     <jar name="mycomp" href="http://server:80/modules/ressources/lib/mycomp.jar" main="true"/>     <jar name="pluginsmanager" href="http://server:80/modules/ressources/lib/pluginsmanager.jar"/>   <property name="net.sf.extrmi.RMIInterceptorControlInitInfo.RMIInterceptorClass.kim.rmi.extrmi.interceptor.TransacRmiInterceptor" value=""/>   </resources>   <resources os="Linux">     <java version="17+" max-heap-size="1024m" java-vm-args="--add-opens=java.sql/java.sql=ALL-UNNAMED,java.base,java.rmi --add-modules=ALL-SYSTEM,java.base,java.rmi,java.sql" />     <jar name="utilscommons-1.0" href="http://server:80/modules/ressources/lib/utilscommons-1.0.jar"/>     <jar name="extrmi-0.2.4.3.Kim1.0" href="http://server:80/modules/ressources/lib/extrmi-0.2.4.3.Kim1.0.jar"/>     <jar name="commons-logging-1.1.1" href="http://server:80/modules/ressources/lib/commons-logging-1.1.1.jar"/>     <jar name="commons-collections-3.2.1" href="http://server:80/modules/ressources/lib/commons-collections-3.2.1.jar"/>     <jar name="jcommon-1.0.23" href="http://server:80/modules/ressources/lib/jcommon-1.0.23.jar"/>     <jar name="jfreechart-1.0.19" href="http://server:80/modules/ressources/lib/jfreechart-1.0.19.jar"/>     <jar name="swingx-1.6.1" href="http://server:80/modules/ressources/lib/swingx-1.6.1.jar"/>     <jar name="hibernate-entitymanager-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-entitymanager-5.6.14.Final.jar"/>     <jar name="hibernate-c3p0-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-c3p0-5.6.14.Final.jar"/>     <jar name="hibernate-core-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-core-5.6.14.Final.jar"/>     <jar name="hibernate-validator-5.4.3.Final" href="http://server:80/modules/ressources/lib/hibernate-validator-5.4.3.Final.jar"/>     <jar name="hibernate-jpa-2.1-api-1.0.2.Final" href="http://server:80/modules/ressources/lib/hibernate-jpa-2.1-api-1.0.2.Final.jar"/>     <jar name="javassist-3.18.1-GA" href="http://server:80/modules/ressources/lib/javassist-3.18.1-GA.jar"/>     <jar name="jboss-logging-3.3.0.Final" href="http://server:80/modules/ressources/lib/jboss-logging-3.3.0.Final.jar"/>     <jar name="byte-buddy-1.12.18" href="http://server:80/modules/ressources/lib/byte-buddy-1.12.18.jar"/>     <jar name="geronimo-jms_1.1_spec-1.1.1" href="http://server:80/modules/ressources/lib/geronimo-jms_1.1_spec-1.1.1.jar"/>     <jar name="activemq-all-5.17.2" href="http://server:80/modules/ressources/lib/activemq-all-5.17.2.jar"/>     <jar name="activemq-jaas-5.17.2" href="http://server:80/modules/ressources/lib/activemq-jaas-5.17.2.jar"/>     <jar name="geronimo-j2ee-1.0" href="http://server:80/modules/ressources/lib/geronimo-j2ee-1.0.jar"/>     <jar name="slf4j-api-2.0.0" href="http://server:80/modules/ressources/lib/slf4j-api-2.0.0.jar"/>     <jar name="twain-1.0" href="http://server:80/modules/ressources/lib/twain-1.0.jar"/>     <jar name="postgresql-42.2.19-2" href="http://server:80/modules/ressources/lib/postgresql-42.2.19-2.jar"/>     <jar name="jcs-1.3" href="http://server:80/modules/ressources/lib/jcs-1.3.jar"/>     <jar name="concurrent-1.3.4" href="http://server:80/modules/ressources/lib/concurrent-1.3.4.jar"/>     <jar name="javafx-base-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-base-17.0.2-linux.jar"/>     <jar name="javafx-controls-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-controls-17.0.2-linux.jar"/>     <jar name="javafx-fxml-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-fxml-17.0.2-linux.jar"/>     <jar name="javafx-graphics-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-graphics-17.0.2-linux.jar"/>     <jar name="javafx-media-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-media-17.0.2-linux.jar"/>     <jar name="javafx-swing-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-swing-17.0.2-linux.jar"/>     <jar name="javafx-web-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-web-17.0.2-linux.jar"/>     <jar name="mycomp" href="http://server:80/modules/ressources/lib/mycomp.jar" main="true"/>     <jar name="pluginsmanager" href="http://server:80/modules/ressources/lib/pluginsmanager.jar"/>   <property name="net.sf.extrmi.RMIInterceptorControlInitInfo.RMIInterceptorClass.kim.rmi.extrmi.interceptor.TransacRmiInterceptor" value=""/>   </resources>   <application-desc main-class="kim.appli.frame.entryadm.Launcher">     <argument>bundleUrl=http://server:80/modules/ressources/lib/mycompany-bundles.jar|prism.order=j2d</argument>   </application-desc> </jnlp> 
Using MalformedXMLParser
Homepage: https://www.mycompany.com
Description: MyCompany
Jars not ready to provide attribute Application-Name
The vendor section has not been specified for your locale nor does a default value exist in the JNLP file.
However there is to many applications known to suffer this issue, so providing fake:vendor: Corrupted or missing vendor. Do not trust this application!
Warning - your JRE - 1.8.0_345 - does not match requested JRE - 17+
Warning - your JRE - 1.8.0_345 - does not match requested JRE - 17+
Create resource for 'file:/..../myfile.jnlp'
System logger called with result of 0
Resource is not cacheable: myfile.jnlp
Download done. Shutting down executor
Parsing JNLP file location: file:/..../myfile.jnlp codebase: null content: <?xml version="1.0"?> <!-- JNLP File for gsi --> <jnlp     spec="1.0+"     codebase="http://server:80/modules/" >   <information>     <title>MyCompany</title>     <homepage href="https://www.mycompany.com"/>     <description>MyCompany</description>     <description kind="short">Solution KIMOCE</description>     <icon href="http://server:80/modules/ressources/images/jws/mycomp_64x64.png"/>     <icon kind="splash" href="http://server:80/modules/ressources/images/jws/splash_screen_mycompany.png"/>   </information>   <security>   <all-permissions />   </security>    <update check="background" policy="always"/>   <resources os="Windows">     <java version="17+" max-heap-size="1024m" java-vm-args="--add-opens=java.sql/java.sql=ALL-UNNAMED,java.base,java.rmi --add-modules=ALL-SYSTEM,java.base,java.rmi,java.sql" />     <jar name="utilscommons-1.0" href="http://server:80/modules/ressources/lib/utilscommons-1.0.jar"/>     <jar name="extrmi-0.2.4.3.Kim1.0" href="http://server:80/modules/ressources/lib/extrmi-0.2.4.3.Kim1.0.jar"/>     <jar name="commons-logging-1.1.1" href="http://server:80/modules/ressources/lib/commons-logging-1.1.1.jar"/>     <jar name="commons-collections-3.2.1" href="http://server:80/modules/ressources/lib/commons-collections-3.2.1.jar"/>     <jar name="jcommon-1.0.23" href="http://server:80/modules/ressources/lib/jcommon-1.0.23.jar"/>     <jar name="jfreechart-1.0.19" href="http://server:80/modules/ressources/lib/jfreechart-1.0.19.jar"/>     <jar name="swingx-1.6.1" href="http://server:80/modules/ressources/lib/swingx-1.6.1.jar"/>     <jar name="hibernate-entitymanager-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-entitymanager-5.6.14.Final.jar"/>     <jar name="hibernate-c3p0-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-c3p0-5.6.14.Final.jar"/>     <jar name="hibernate-core-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-core-5.6.14.Final.jar"/>     <jar name="hibernate-validator-5.4.3.Final" href="http://server:80/modules/ressources/lib/hibernate-validator-5.4.3.Final.jar"/>     <jar name="hibernate-jpa-2.1-api-1.0.2.Final" href="http://server:80/modules/ressources/lib/hibernate-jpa-2.1-api-1.0.2.Final.jar"/>     <jar name="javassist-3.18.1-GA" href="http://server:80/modules/ressources/lib/javassist-3.18.1-GA.jar"/>     <jar name="jboss-logging-3.3.0.Final" href="http://server:80/modules/ressources/lib/jboss-logging-3.3.0.Final.jar"/>     <jar name="byte-buddy-1.12.18" href="http://server:80/modules/ressources/lib/byte-buddy-1.12.18.jar"/>     <jar name="geronimo-jms_1.1_spec-1.1.1" href="http://server:80/modules/ressources/lib/geronimo-jms_1.1_spec-1.1.1.jar"/>     <jar name="activemq-all-5.17.2" href="http://server:80/modules/ressources/lib/activemq-all-5.17.2.jar"/>     <jar name="activemq-jaas-5.17.2" href="http://server:80/modules/ressources/lib/activemq-jaas-5.17.2.jar"/>     <jar name="geronimo-j2ee-1.0" href="http://server:80/modules/ressources/lib/geronimo-j2ee-1.0.jar"/>     <jar name="slf4j-api-2.0.0" href="http://server:80/modules/ressources/lib/slf4j-api-2.0.0.jar"/>     <jar name="twain-1.0" href="http://server:80/modules/ressources/lib/twain-1.0.jar"/>     <jar name="postgresql-42.2.19-2" href="http://server:80/modules/ressources/lib/postgresql-42.2.19-2.jar"/>     <jar name="jcs-1.3" href="http://server:80/modules/ressources/lib/jcs-1.3.jar"/>     <jar name="concurrent-1.3.4" href="http://server:80/modules/ressources/lib/concurrent-1.3.4.jar"/>     <jar name="javafx-base-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-base-17.0.2-win.jar"/>     <jar name="javafx-controls-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-controls-17.0.2-win.jar"/>     <jar name="javafx-fxml-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-fxml-17.0.2-win.jar"/>     <jar name="javafx-graphics-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-graphics-17.0.2-win.jar"/>     <jar name="javafx-media-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-media-17.0.2-win.jar"/>     <jar name="javafx-swing-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-swing-17.0.2-win.jar"/>     <jar name="javafx-web-17.0.2-win" href="http://server:80/modules/ressources/lib/javafx-web-17.0.2-win.jar"/>     <jar name="mycomp" href="http://server:80/modules/ressources/lib/mycomp.jar" main="true"/>     <jar name="pluginsmanager" href="http://server:80/modules/ressources/lib/pluginsmanager.jar"/>   <property name="net.sf.extrmi.RMIInterceptorControlInitInfo.RMIInterceptorClass.kim.rmi.extrmi.interceptor.TransacRmiInterceptor" value=""/>   </resources>   <resources os="Linux">     <java version="17+" max-heap-size="1024m" java-vm-args="--add-opens=java.sql/java.sql=ALL-UNNAMED,java.base,java.rmi --add-modules=ALL-SYSTEM,java.base,java.rmi,java.sql" />     <jar name="utilscommons-1.0" href="http://server:80/modules/ressources/lib/utilscommons-1.0.jar"/>     <jar name="extrmi-0.2.4.3.Kim1.0" href="http://server:80/modules/ressources/lib/extrmi-0.2.4.3.Kim1.0.jar"/>     <jar name="commons-logging-1.1.1" href="http://server:80/modules/ressources/lib/commons-logging-1.1.1.jar"/>     <jar name="commons-collections-3.2.1" href="http://server:80/modules/ressources/lib/commons-collections-3.2.1.jar"/>     <jar name="jcommon-1.0.23" href="http://server:80/modules/ressources/lib/jcommon-1.0.23.jar"/>     <jar name="jfreechart-1.0.19" href="http://server:80/modules/ressources/lib/jfreechart-1.0.19.jar"/>     <jar name="swingx-1.6.1" href="http://server:80/modules/ressources/lib/swingx-1.6.1.jar"/>     <jar name="hibernate-entitymanager-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-entitymanager-5.6.14.Final.jar"/>     <jar name="hibernate-c3p0-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-c3p0-5.6.14.Final.jar"/>     <jar name="hibernate-core-5.6.14.Final" href="http://server:80/modules/ressources/lib/hibernate-core-5.6.14.Final.jar"/>     <jar name="hibernate-validator-5.4.3.Final" href="http://server:80/modules/ressources/lib/hibernate-validator-5.4.3.Final.jar"/>     <jar name="hibernate-jpa-2.1-api-1.0.2.Final" href="http://server:80/modules/ressources/lib/hibernate-jpa-2.1-api-1.0.2.Final.jar"/>     <jar name="javassist-3.18.1-GA" href="http://server:80/modules/ressources/lib/javassist-3.18.1-GA.jar"/>     <jar name="jboss-logging-3.3.0.Final" href="http://server:80/modules/ressources/lib/jboss-logging-3.3.0.Final.jar"/>     <jar name="byte-buddy-1.12.18" href="http://server:80/modules/ressources/lib/byte-buddy-1.12.18.jar"/>     <jar name="geronimo-jms_1.1_spec-1.1.1" href="http://server:80/modules/ressources/lib/geronimo-jms_1.1_spec-1.1.1.jar"/>     <jar name="activemq-all-5.17.2" href="http://server:80/modules/ressources/lib/activemq-all-5.17.2.jar"/>     <jar name="activemq-jaas-5.17.2" href="http://server:80/modules/ressources/lib/activemq-jaas-5.17.2.jar"/>     <jar name="geronimo-j2ee-1.0" href="http://server:80/modules/ressources/lib/geronimo-j2ee-1.0.jar"/>     <jar name="slf4j-api-2.0.0" href="http://server:80/modules/ressources/lib/slf4j-api-2.0.0.jar"/>     <jar name="twain-1.0" href="http://server:80/modules/ressources/lib/twain-1.0.jar"/>     <jar name="postgresql-42.2.19-2" href="http://server:80/modules/ressources/lib/postgresql-42.2.19-2.jar"/>     <jar name="jcs-1.3" href="http://server:80/modules/ressources/lib/jcs-1.3.jar"/>     <jar name="concurrent-1.3.4" href="http://server:80/modules/ressources/lib/concurrent-1.3.4.jar"/>     <jar name="javafx-base-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-base-17.0.2-linux.jar"/>     <jar name="javafx-controls-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-controls-17.0.2-linux.jar"/>     <jar name="javafx-fxml-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-fxml-17.0.2-linux.jar"/>     <jar name="javafx-graphics-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-graphics-17.0.2-linux.jar"/>     <jar name="javafx-media-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-media-17.0.2-linux.jar"/>     <jar name="javafx-swing-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-swing-17.0.2-linux.jar"/>     <jar name="javafx-web-17.0.2-linux" href="http://server:80/modules/ressources/lib/javafx-web-17.0.2-linux.jar"/>     <jar name="mycomp" href="http://server:80/modules/ressources/lib/mycomp.jar" main="true"/>     <jar name="pluginsmanager" href="http://server:80/modules/ressources/lib/pluginsmanager.jar"/>   <property name="net.sf.extrmi.RMIInterceptorControlInitInfo.RMIInterceptorClass.kim.rmi.extrmi.interceptor.TransacRmiInterceptor" value=""/>   </resources>   <application-desc main-class="kim.appli.frame.entryadm.Launcher">     <argument>bundleUrl=http://server:80/modules/ressources/lib/mycompany-bundles.jar|prism.order=j2d</argument>   </application-desc> </jnlp> 
Using MalformedXMLParser
System logger called with result of 0
Homepage: https://www.mycompany.com
System logger called with result of 0
Description: MyCompany
Jars not ready to provide attribute Application-Name
The vendor section has not been specified for your locale nor does a default value exist in the JNLP file.
However there is to many applications known to suffer this issue, so providing fake:vendor: Corrupted or missing vendor. Do not trust this application!
Warning - your JRE - 1.8.0_345 - does not match requested JRE - 17+
Warning - your JRE - 1.8.0_345 - does not match requested JRE - 17+
System logger called with result of 0
Acquired shared lock on /tmp/root/netx/locks/netx_running to indicate javaws is running
Jars not ready to provide attribute Application-Name
Jars not ready to provide attribute Application-Name
System logger called with result of 0
Launching Application
call privileged method: checkSingleInstanceRunning
arg: net.sourceforge.jnlp.JNLPFile@314d147
result: null
Loading runtime cache from filesystem
Clearing runtime cache
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
System logger called with result of 0
requested: JRE with version string '17+' and vendor '*', require 32 bit = false, from null
Trying to find local Java runtime. Requested version: '17+', vendor: 'Eclipse Adoptium', os: 'LINUX64'
Trying to find local Java runtime. Requested version: '17+' Requested vendor: 'Eclipse Adoptium' requested os: 'LINUX64' active: 'true'
Local runtime JavaRuntime{version=17.0.6, vendor=Eclipse Adoptium, operationSystem=LINUX64} found but remote endpoint is checked for newer versions
Trying to find remote Java runtime. Requested version: '17+' Requested vendor: 'Eclipse Adoptium' requested os: 'LINUX64'
Endpoint to request for Java runtimes: https://download-openwebstart.com/jvms.json
Using NO_PROXY for https://download-openwebstart.com/jvms.json
Using NO_PROXY for socket://download-openwebstart.com:443
Received 50 possible runtime definitions from server
No newer version was installed
Found JVM JavaRuntime{version=17.0.6, vendor=Eclipse Adoptium, operationSystem=LINUX64}
using java runtime at '/opt/javas/jdk-17.0.6+10' for launching managed application
Runtime cache is currently read only, not saving.
Using Debug Host:true
Using any port:true
Start suspended:false
About to launch process with command: /opt/javas/jdk-17.0.6+10/bin/java -Xbootclasspath/a:/opt/OpenWebStart/openwebstart.jar -Dicedtea-web.bin.location=/opt/OpenWebStart/javaws -Xmx1024m --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop --add-modules=ALL-SYSTEM,java.base,java.rmi,java.sql --add-reads=java.naming=ALL-UNNAMED,java.desktop --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop --add-reads=java.base=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop --add-opens=java.sql/java.sql=ALL-UNNAMED,java.base,java.rmi --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop --add-reads=java.desktop=ALL-UNNAMED,java.naming --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop -agentlib:jdwp=transport=dt_socket,server=y,suspend=n net.sourceforge.jnlp.runtime.Boot -Xnofork /.../myfile.jnlp

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

Re: java.sql.date ClassNotFound when lauching the client

Post by Janak Mulani »

Please send the log files generated by OWS.

https://openwebstart.com/docs/OWSGuide.html#_logging


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

Re: java.sql.date ClassNotFound when lauching the client

Post by Janak Mulani »

Could not download: "The transfer you requested has been deleted."

oslodev
Posts: 9
Joined: 25 Nov 2022, 16:47

Re: java.sql.date ClassNotFound when lauching the client

Post by oslodev »

Hello,

Does this work ?

https://file.io/2x7K3GoKtKrG

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

Re: java.sql.date ClassNotFound when lauching the client

Post by Janak Mulani »

I could download the logs.

In Stage-2 log, the log entry at line 983 " Starting application [kim.appli.frame.entryadm.Launcher] ..."

So OWS is able to start the App. There is no ClassNotFound exception in the logs.

There is an error though in your application:

Code: Select all

[ITW-APP ][2023-02-06 15:35:19.126 CET][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:234)] févr. 06, 2023 3:35:19 PM com.sun.javafx.application.PlatformImpl startup
AVERTISSEMENT: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @5945c78f'
PLease check if you are able to run this app from the commandline

Code: Select all

About to launch process with command:
/opt/javas/jdk-17.0.6+10/bin/java -Xbootclasspath/a:/opt/OpenWebStart/openwebstart.jar -Dicedtea-web.bin.location=/opt/OpenWebStart/javaws -Xmx1024m --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop --add-modules=ALL-SYSTEM,java.base,java.rmi,java.sql --add-reads=java.naming=ALL-UNNAMED,java.desktop --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop --add-reads=java.base=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop --add-opens=java.sql/java.sql=ALL-UNNAMED,java.base,java.rmi --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop --add-reads=java.desktop=ALL-UNNAMED,java.naming --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop -agentlib:jdwp=transport=dt_socket,server=y,suspend=n net.sourceforge.jnlp.runtime.Boot -Xnofork /user/ame/gsi/myapp.jnlp.jnlp

oslodev
Posts: 9
Joined: 25 Nov 2022, 16:47

Re: java.sql.date ClassNotFound when lauching the client

Post by oslodev »

Same error with the command (tried on linux and windows)

ows logs : https://file.io/gVE5kN8u1IQe

Client log :

Code: Select all

Niveau Client : 
java.lang.ClassNotFoundException: java.sql.Date
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
	at java.rmi/sun.rmi.server.LoaderHandler$Loader.loadClass(LoaderHandler.java:1216)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:467)
	at java.rmi/sun.rmi.server.LoaderHandler.loadClassForName(LoaderHandler.java:1230)
	at java.rmi/sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:458)
	at java.rmi/sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:188)
	at java.rmi/java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:639)
	at java.rmi/java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:265)
	at java.rmi/sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:199)
	at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2045)
	at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1909)
	at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2235)
	at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744)
	at java.base/java.io.ObjectInputStream$FieldValues.<init>(ObjectInputStream.java:2617)
	at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2468)
	at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2268)
	at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744)
	at java.base/java.io.ObjectInputStream$FieldValues.<init>(ObjectInputStream.java:2617)
	at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2468)
	at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2268)
	at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1744)
	at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:514)
	at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:472)
	at java.rmi/sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:328)
	at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:178)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:215)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:160)
	at jdk.proxy2/jdk.proxy2.$Proxy13.exec(Unknown Source)
	at net.sf.extrmi.ClientRMIInterceptorControl.makeRemoteInvocation(ClientRMIInterceptorControl.java:312)
	at net.sf.extrmi.ClientRMIInterceptorControl.invoke(ClientRMIInterceptorControl.java:208)
	at jdk.proxy2/jdk.proxy2.$Proxy13.getVersionStruct(Unknown Source)
	at kim.util.client.entryadm.mvc.LauncherCtrl.checkAppl(LauncherCtrl.java:162)
	at kim.util.client.entryadm.mvc.LauncherCtrl$1.run(LauncherCtrl.java:86)
	at java.base/java.lang.Thread.run(Thread.java:833)

oslodev
Posts: 9
Joined: 25 Nov 2022, 16:47

Re: java.sql.date ClassNotFound when lauching the client

Post by oslodev »

To be a bit more specific : I get the error when trying to log in the application. java.sql.Date is not accessible

oslodev
Posts: 9
Joined: 25 Nov 2022, 16:47

Re: java.sql.date ClassNotFound when lauching the client

Post by oslodev »

Hello,

Any ideas ?


Post Reply