Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to redeploy ibm access solutions with java web start?

7a666199-44c1-4c1c-83f0-a2fc8b9d66a2Mar 4 2015 — edited Mar 4 2015

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

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 1 2015
Added on Mar 4 2015
0 comments
962 views