[
https://issues.apache.org/jira/browse/FELIX-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050770#comment-13050770
]
Andrei Pozolotin commented on FELIX-2993:
-----------------------------------------
Richard/Karl:
I have a new dead end:
now I am trying to run inside jnlp with full osgi permissions:
config.put("org.osgi.framework.security", "osgi");
framework = factory.newFramework(config);
framework.init();
the result is:
java.lang.SecurityException: SecurityManager already installed
at org.apache.felix.framework.Felix.init(Felix.java:543)
~[org.apache.felix.framework-3.2.2.jar:na]
at
com.barchart.platform.host.impl.HostOsgiFramework.osgiStartup(HostOsgiFramework.java:190)
~[barchart-platform-host-1.0.1-SNAPSHOT.jar:na]
at
com.barchart.platform.host.impl.HostServiceProvider.osgiStartup(HostServiceProvider.java:191)
~[barchart-platform-host-1.0.1-SNAPSHOT.jar:na]
at com.barchart.platform.host.main.App.access$000(App.java:11)
[barchart-platform-host-1.0.1-SNAPSHOT.jar:na]
at com.barchart.platform.host.main.App$1.runCore(App.java:36)
[barchart-platform-host-1.0.1-SNAPSHOT.jar:na]
at com.barchart.platform.api.util.RunSwitch.run(RunSwitch.java:57)
[barchart-platform-api-1.0.1-SNAPSHOT.jar:na]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_24]
yes, because jnlp installs own SecurityManager;
per framework.Felix.init() source, it is "expected" behavior; why? what is the
work around?
thanks
Andrei.
> jnlp & felix.security
> ---------------------
>
> Key: FELIX-2993
> URL: https://issues.apache.org/jira/browse/FELIX-2993
> Project: Felix
> Issue Type: Bug
> Components: Framework Security
> Reporter: Andrei Pozolotin
>
> original thread:
> http://www.mail-archive.com/[email protected]/msg10424.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira