Karl: ############################## jvm args:
-Djava.security.policy=file:./target/classes/platform.policy -Dorg.osgi.framework.security="osgi" ############################## platform.policy grant { permission java.security.AllPermission; }; ############################## permissions log: 16:08:06.031 [main] DEBUG com.barchart.platform.host.main.App - policyUrl : file:./target/classes/platform.policy 16:08:06.040 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.lang.RuntimePermission stopThread) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.lang.RuntimePermission exitVM) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.security.AllPermission <all permissions> <all actions>) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.net.SocketPermission localhost:1024- listen,resolve) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.io.FilePermission /home/user1/Workspaces/barchart-3.6-work/barchart-platform/barchart-platform-host/target/classes/- read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission line.separator read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vm.version read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vm.specification.version read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vm.specification.vendor read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vendor.url read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vm.name read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission os.name read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vm.vendor read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission path.separator read) 16:08:06.041 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.specification.name read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission os.version read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission os.arch read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.class.version read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.version read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission file.separator read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vendor read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.vm.specification.name read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.specification.version read) 16:08:06.042 [main] DEBUG com.barchart.platform.host.main.App - permission : (java.util.PropertyPermission java.specification.vendor read) ############################## thanks Andrei. -------- Original Message -------- Subject: Re: remove felix.security after framework is started? From: Karl Pauls <karlpa...@gmail.com> To: users@felix.apache.org Date: Fri 10 Jun 2011 10:37:14 AM CDT > Hm, it should not become unstable. Can you give me a bit more > information like for example are you running with java security > enabled, what are the actual class not found exceptions, etc.? > > regards, > > Karl > > p.s.: feel free to create a jira issue with the information. > > On Fri, Jun 10, 2011 at 5:23 PM, Andrei Pozolotin > <andrei.pozolo...@gmail.com> wrote: > >> Hello, >> >> can you please let me what is the clean way to remove felix.security >> fragment bundle >> after the framework is already started with it? >> >> if I just call bundle.uninstall() on this fragment, the framework >> does remove it >> but becomes unusable, blows up with class not found exceptions; >> >> Thank you, >> >> Andrei >> >> >> >> > > > >