• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

Permission denied jnlp file

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
~
~
~
 
Ranch Hand
Posts: 65
Android Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Renjith,
Please let old threads be dormant
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic