PDA

View Full Version : failing a LoggingPermission check on launch


Arancaytar
04-02-2013, 10:09 AM
I'm not sure if this is a problem with my javaws installation, but currently trying to start the JNLP file causes this error (after successfully accepting the software certificate, and allowing the application to create a desktop launcher):



net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:600)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:594)
... 1 more
Caused by: java.security.AccessControlException: access denied ("java.util.logging.LoggingPermission" "control")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
at java.security.AccessController.checkPermission(AccessController.java:560)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.util.logging.LogManager.checkPermission(LogManager.java:1256)
at java.util.logging.Logger.checkPermission(Logger.java:282)
at java.util.logging.Logger.setLevel(Logger.java:1214)
at de.adom.jade.JADE.<init>(Unknown Source)
at de.adom.jade.JADE.main(Unknown Source)

Some version information:

javaws: icedtea-web 1.3 (1.3-1ubuntu1.1)

java: java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10.1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

brokenm00n
07-23-2013, 08:02 PM
Adding -nosecurity seens to work
$ javaws -nosecurity adom-ii.jnlp
Also, to be able to play offline: http://www.adom.de/forums/project.php?issueid=1089
Hope that helps...