SparkAngels cannot connect to its servers : java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.security.internal.spec)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
SparkAngels is a java application that is runned via JNLP. http://
The current jnlp file can be found here : http://
With OpenJDK 6b20-1.
To reproduce, you can start the JNLP on command-line (javaws sparkangels.jnlp), open the dropdown "Options", choose "Utilisation par code" then "Obtenir un code" (this is in French, maybe it would be translated in your language when you run it)
At this moment, the application tries to connect to its servers and it fails with the following error message in the log :
---W-A-R-N-I-N-G--- IO-ERROR CONTACTING SERVER cccp1.sparkom.com: java.security.
---W-A-R-N-I-N-G--- IO-ERROR CONTACTING SERVER cccp0.sparkom.com: java.security.
sparkangels.xu: No server available
at sparkangels.
at sparkangels.
at sparkangels.
at sparkangels.
at sparkangels.
at sparkangels.
at sparkangels.
---W-A-R-N-I-N-G--- EXCEPTION MESSAGE: No server available
If I use sun-java-6 packages instead of openjdk-6, it works correctly.
If I try to open the same jnlp with oneiric (with version 6b23~pre11-
So it looks like a bug on this version of openjdk, that has been fixed in latest ubuntu version.
I found a workaround here : https:/
You simply have to create a file ~/.java.policy with this content :
grant {
permission java.security.
permission java.lang.
permission java.lang.
permission java.lang.
};
This application is very usefull to provide assistance through a remote desktop access. It's an alternative to VNC when NAT/port-forwarding is not properly configured.
Ideally, a backport would
A similar problem seems to happen on other java applications : http://
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openjdk-6-jre 6b20-1.
ProcVersionSign
Uname: Linux 2.6.38-13-generic x86_64
Architecture: amd64
CheckboxSubmission: bb64787174aa01f
CheckboxSystem: 34179ae9d787c87
Date: Thu Dec 1 21:42:28 2011
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
LANG=fr_FR.utf8
SHELL=/bin/bash
SourcePackage: openjdk-6
The behavior is the same on a 32bit version of Ubuntu 10.04 : I checked on another machine