This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JNLP and Web Start and the fly likes some error occured in launching the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "some error occured in launching the application" Watch "some error occured in launching the application" New topic
Author

some error occured in launching the application

seema pal
Ranch Hand

Joined: Nov 17, 2005
Posts: 39
sir
we are trying this application but there is problem in launching the application plz sir give the solution for this -----------

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>
~
~
this is the 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: some error occured in launching the application