File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes Permission denied jnlp file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Permission denied jnlp file" Watch "Permission denied jnlp file" New topic

Permission denied jnlp file

seema pal
Ranch Hand

Joined: Nov 17, 2005
Posts: 39
i make a application and want to run through java web my system (server) running fine when clint access my system they may create a problem.
the launching problem is occered and exception given below.
"permission denied of jnlp file".my jnlp file given below.

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:/home/guest/tdk-2.3_01Com/webapps/brihaspati2/reload" href="reload.jnlp">
<title>Brihaspati2 Reload Editor</title>
<vendor>Brihaspti software solutions,Learning Commons</vendor>
<homepage href=""/>
<description>Metadata & Content Package Editor</description>
<description kind="tooltip">Metadata & Content Package Editor</description>
<icon href="images/aloha128.gif"/>
<j2se version="1.5+"/>
<jar href="Packager.jar"/>
<jar href="lib/castor-"/>
<jar href="lib/reload-dweezil.jar"/>
<jar href="lib/reload-jdom.jar"/>
<jar href="lib/jdom.jar"/>
<jar href="lib/reload-moonunit.jar"/>
<jar href="lib/reload-support.jar"/>
<jar href="lib/xml-apis.jar"/>
<jar href="lib/reload-diva.jar"/>
<jar href="lib/reload-moonunit.jar"/>
<jar href="lib/xercesImpl.jar"/>
<application-desc main-class=""/>

what is the solution.please give responce.
Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 65

No one external to your system can access the jnlp file since you have written the codebase like:

<jnlp spec="1.0+" codebase="file:/home/guest/tdk-2.3_01Com/webapps/brihaspati2/reload" href="reload.jnlp">

Replace as "http://ip:port/application".

I think it may solve the issue.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Please let old threads be dormant

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: Permission denied jnlp file
It's not a secret anymore!