Forum Stats

  • 3,769,500 Users
  • 2,252,970 Discussions
  • 7,875,060 Comments

Discussions

How to redeploy ibm access solutions with java web start?

Hello everyone, has anyone been able to run IBM Client Access Solutions via Java Web Start?

The documentation says it's possible but doesn't explain how, instead it gives a link to see a tutorial over at Oracle, so here's what i did:

Associated .jnlp with its correct MIME at my webserver (IIS 6, win server 2003 r2)

Created a folder on my webserver and put acsbundle.jar

Created emulator.jnlp at the same folder with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase=
"https://www.mywebsite.com/emulator/"
     href="emulator.jnlp">
     <information>
         <title>IBM Client Access Solutions</title>
         <vendor>IBM</vendor>
         <homepage href="https://www.mywebsite.com/emulator/" />
         <description>IBM Client Access Solutions</description>
     </information>
     <security>
         <all-permissions/>
     </security>
     <resources>
         <!-- Application Resources -->
         <j2se version="1.7+"
               href="http://java.sun.com/products/autodl/j2se"/>
         <jar href="acsbundle.jar" />
     </resources>
     <application-desc
          name="IBM Client Access Solutions"
          main-class=
            "com.ibm.iaccess.launch.AcsLaunchPad"
          width="300"
          height="300">
      </application-desc>
      <update check="background"/>
</jnlp>                        

Had to authorize my url in java security in control panel, since i use java 1.7

I am getting this error:

java.lang.NullPointerException
     at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source)
     at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
     at com.sun.javaws.security.AppPolicy.addPermissions(Unknown Source)
     at com.sun.jnlp.JNLPClassLoader.getTrustedCodeSources(Unknown Source)
     at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source)
     at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
     at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
     at com.sun.javaws.Launcher.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
  

if i remove the security tag from the jnlp, then the error i get is that it cannot find the main class:

com.ibm.iaccess.launch.AcsLaunchPad

I would appreciate any help

This discussion has been closed.