• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

error in launching application

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir
we are trying to launch the application through the janlp file
but there is error----------------------


ava.lang.ExceptionInInitializerError
at uk.ac.reload.scormplayer.client.gui.ScormPlayerFrame.<init>(ScormPlayerFrame.java:186)
at uk.ac.reload.scormplayer.client.gui.ScormPlayerFrame.main(ScormPlayerFrame.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.io.FilePermission /home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/ScormPlayer/reload/reload-scorm-player read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.exists(Unknown Source)
at java.io.File.mkdirs(Unknown Source)
at uk.ac.reload.scormplayer.client.generic.prefs.ScormPlayerPrefs.getPrefsFolder(ScormPlayerPrefs.java:147)
at uk.ac.reload.scormplayer.client.generic.prefs.ScormPlayerPrefs.getPrefsFile(ScormPlayerPrefs.java:138)
at uk.ac.reload.diva.prefs.UserPrefs.load(UserPrefs.java:83)
at uk.ac.reload.diva.prefs.UserPrefs.<init>(UserPrefs.java:70)
at uk.ac.reload.scormplayer.client.generic.prefs.ScormPlayerPrefs.<init>(ScormPlayerPrefs.java:59)
at uk.ac.reload.scormplayer.client.generic.prefs.ScormPlayerPrefs.<clinit>(ScormPlayerPrefs.java:98)
... 13 more
here is our jnlp file----------------------

?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<jnlp
codebase="file:///home/guest/seema/ScormPlayer/"
href = "Player.jnlp" >
<!--jnlp
codebase = "http://172.28.44.20:8080/EditorFrame" href = "EditorFrame.jnlp" -->
<information>
<title>ScormPlayer</title>
<vendor>Scorm</vendor>
<homepage href="http://www.google.com" />
<description>Player</description>
<description kind="short">A demo of the capabilities
of the ReloadEditor Graphical User Interface.</description>
<icon href="file:///home/guest/seema/ScormPlayer/reload-scormplayer.gif"/>
<offline-allowed/>
<security>
<all-permissions/>
</security>

</information>
<resources>
<j2se version="1.4+"/>

<jar href="file:///home/guest/seema/ScormPlayer/scorm.jar"/>
<jar href="file:///home/guest/seema/ScormPlayer/lib/ant.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/bootstrap.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/bsh-core-2.0b1.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/catalina.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/commons-beanutils.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/commons-collections.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/commons-digester.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/commons-logging-api.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/jakarta-regexp-1.2.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/jasper-compiler.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/jasper-runtime.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/naming-common.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/jdom.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/naming-resources.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/reload-diva.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/reload-dweezil.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/reload-jdom.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/reload-moonunit.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/reload-support.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/servlet.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/servlets-common.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/servlets-default.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/servlets-invoker.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/struts.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/tomcat-coyote.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/tomcat-http11.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/tomcat-util.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/xercesImpl.jar" />
<jar href="file:///home/guest/seema/ScormPlayer/lib/xml-apis.jar" />
</resources>
<application-desc main-class="uk.ac.reload.scormplayer.client.gui.ScormPlayerFrame"/>
</jnlp>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!