aspose file tools*
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
Author

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 start.in 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">
<information>
<title>Brihaspati2 Reload Editor</title>
<vendor>Brihaspti software solutions,Learning Commons</vendor>
<homepage href="http://www.brihaspatisolutions.co.in"/>
<description>Metadata & Content Package Editor</description>
<description kind="tooltip">Metadata & Content Package Editor</description>
<icon href="images/aloha128.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="Packager.jar"/>
<jar href="lib/castor-0.9.5.3-xml.jar"/>
<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"/>
</resources>
<application-desc main-class="uk.ac.reload.editor.EditorFrame"/>
</jnlp>

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: 9990
    
    7

Renjith,
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: http://aspose.com/file-tools
 
subject: Permission denied jnlp file
 
Similar Threads
launching/running the application
error in launching/running the application
problem in running the application through java web start
error in launching application
jnlp file error