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!

Java Web Start rejects my signed files with NULL exception

843802May 16 2002 — edited Aug 25 2002
I have tried deploying my application using Java WEB start, but I seem to be getting a lot of security rejections as I test the system. I have digitally signed all of my JAR files as specified in the Java Web Start online literature. Interestingly, I get the exception even if I specify a non-existant JAR file, which confuses me further.

Worse still, it started actually working on a one host after many attempts, but failed when I moved to another nework host.

Specifically, the exception that I receive looks like this:
===========================================

JNLPException[category: Security Error : Exception: null : LaunchDesc: null ]

at com.sun.javaws.security.PolicyGui.unsignedCodeSourceAccssViolation(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(Unknown Source)

===========================================

The JNLP file looks something like this ...

===========================================

<?xml version="1.0" encoding="utf-8"?>

<!-- JNLP File for Demo Application -->

<jnlp

spec="1.0+"

codebase="http://host:8099/jnlp"

href="oms.jnlp">

<information>

<title>Demo Application</title>

<vendor>Vendor, Inc.</vendor>

<homepage href="vhome.html"/>

<description>Vendor Demo Application</description>

<description kind="short">A demo of Vendor Graphical User Interface.</description>

<icon href="images/vlogo.jpg"/>

<offline-allowed/>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se version="1.4*" href="http://java.sun.com/products/autodl/j2se"/>

<jar href="lib/oms.jar"/>

<jar href="lib/fmsClient.jar"/>

<jar href="lib/j2ee.jar"/>

<jar href="lib/pramati_client_14.jar"/>

<jar href="lib/vslib.jar"/>

<jar href="lib/vsThread.jar"/>

<jar href="lib/classes12.jar"/>

</resources>

<application-desc main-class="com.vendor.oms.gui.oms"/>

</jnlp>
==========================================

I am NOT using Tomcat, but rather a container by a private vendor. Hopefully that is not the problem.
Can anyone help?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2002
Added on May 16 2002
1 comment
1,108 views