File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Permission denied jnlp file

 
seema pal
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65
Android Chrome Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic