I am having problems with java web start not starting my application.
The progress gui shows 'starting application' while the progress bar keeps blinking away.
The application jars are signed using IBM-jdk's jarsigner.
The setup is as follows:
The client machines have only Sun's jdk-1.4.2_05 installed.
The application requires a Java5 jre, so a jnlp file has been crafted that installs the required jre (provided by WebSphere thin client).
The jre-installation goes well, i.e. the jre shows up in the web start guis as installed by the name specified.
When web start tries to run the application on the 1.5.0-jre, it fails with the following produced in the web start log file:
Java Web Start 1.4.2_05 Console, started Tue May 12 15:10:46 CEST 2009
Java 2 Runtime Environment: Version 1.4.2_05 by Sun Microsystems Inc.
Logging to file: C:\javaws.log
Java Web Start 1.4.2_05 Console, started Tue May 12 15:12:30 CEST 2009
Java 2 Runtime Environment: Version 1.4.2_05 by Sun Microsystems Inc.
Logging to file: C:\javaws.log
IBM WebSphere Application Server, Release 6.1
Client Runtime Installer Tool
Copyright IBM Corp., 2004, 2006
Start installation.
Found [java/jre/bin/javaw.exe] at
file:C:/Documents%20and%20Settings/apptest/Application%20Data/Sun/Java/Deployment/javaws/cache/http/D<myserver>/P9080/DMruntime/RMWASThinClientJRERuntime-6.1-windows.jar!/java/jre/bin/javaw.exe.
Extracting: C:/Documents and Settings/apptest/Application
Data/Sun/Java/Deployment/javaws/cache/http/D<myserver>/P9080/DMruntime/RMWASThinClientJRERuntime-6.1-windows.jar.
Extracting IBM WebSphere Application client runtime [1.5.0]:
C:\Documents and Settings\apptest\Application
Data\Sun\Java\Deployment\javaws\cache\.ext\E1242133972562\.
Finished installing the IBM WebSphere Application client runtime in
C:\Documents and Settings\apptest\Application
Data\Sun\Java\Deployment\javaws\cache\.ext\E1242133972562\.
Finished extracting IBM WebSphere Application client runtime.
Java Web Start 1.4.2_05 Console, started Tue May 12 15:14:20 CEST 2009
Java 2 Runtime Environment: Version 1.5.0 by IBM Corporation
Logging to file: C:\javaws.log
Exception in thread "javawsApplicationMain"
java.lang.NoClassDefFoundError: sun.security.util.DerInputStream
at com.sun.javaws.security.SunSecurityUtil.getExtendedKeyUsage(Unknown Source)
at com.sun.javaws.security.SunSecurityUtil.checkLeafKeyUsage(Unknown Source)
at com.sun.javaws.security.SunSecurityUtil.checkExtensions(Unknown Source)
at com.sun.javaws.security.SunSecurityUtil.checkTrustedChain(Unknown Source)
at com.sun.javaws.security.CertificateDialog.verifyCertificate(Unknown Source)
at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:810)
Java Web Start 1.4.2_05 Console, started Tue May 12 15:17:15 CEST 2009
Java 2 Runtime Environment: Version 1.4.2_05 by Sun Microsystems Inc.
Logging to file: C:\javaws.log
Java Web Start 1.4.2_05 Console, started Tue May 12 15:47:10 CEST 2009
Java 2 Runtime Environment: Version 1.4.2_05 by Sun Microsystems Inc.
Logging to file: C:\javaws.log
I am quite unsure what to do. The DerInputStream is in the 1.4.2's rt.jar.
I am confused as to who is actually having the problem, the sun web start JRE or the ibm jre.
Does anyone have any hints?
Thanks,
/Morten