• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Permission denied jnlp file  RSS feed

 
Ranch Hand
Posts: 39
  • 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.
~
~
~
 
Ranch Hand
Posts: 65
Android Chrome Java
  • 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.
 
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!