This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Exception Errors on Web Start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Exception Errors on Web Start" Watch "Exception Errors on Web Start" New topic

Exception Errors on Web Start

Dan Hoddinott

Joined: Jun 11, 2004
Posts: 5
Hi JavaRanchers,

I am trying to deploy a simple chat application using Java Web Start, the application being a JAR file invoked by a .jnlp link on an HTML page. The chain of events work flawlessly locally, but once installed on the Web server it gags and the Java Web Start manager coughs up the following: access denied ( images/DC.jpg read)

at Source)

at Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkRead(Unknown Source)

at sun.awt.SunToolkit.getImageFromHash(Unknown Source)

at sun.awt.SunToolkit.getImage(Unknown Source)

at com.domain.danzchat.ClientGUI.<init>(

at com.domain.danzchat.sockets.client.DanzChatter.main(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sun.javaws.Launcher.executeApplication(Unknown Source)

at com.sun.javaws.Launcher.executeMainClass(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 Source)

at Source)

I�m admittedly quite green, but can anybody tell me why this is happening and what steps I need to take to correct it? Any advice will be greatly appreciated.

Sudhanshu Techie

Joined: Aug 12, 2004
Posts: 4
Visit the following Link:-
This will solve ur problem.

Put the following tag in ur jnlp file :-

then sign your jar file using jarsigner.

i think this will solve ur problem.

Dan Hoddinott

Joined: Jun 11, 2004
Posts: 5
Thanks a million, Sudhanshu. Adding that <security> code to the .jnlp file and then signing the JAR made it work.
I agree. Here's the link:
subject: Exception Errors on Web Start
It's not a secret anymore!