|RE: [equinox-dev] Permission Admin Service Problem|
Thank you very much, This should be the problem.
The problem is that I have tried to launch Equinox with security features and I got a lot of exceptions without sense.
At the beggining I got the next exception:
Exception in thread "main" java.lang.NoClassDefFoundError: Ãjar
It was very rare because I tried to launch the security command as I did before trying with Equinox v3.3 and Equinox v3.4
I was looking for the solution and I tried to update the dates with the timezone update by SUn (-jar tzupdater.jar), following the information found in Internet.
After that, I reboot my PC and then I launch Equinox v3.4 by console using the same command as I typed before, and No OSGI> environment appears, however, I achieved to launch OSGI as before if I use Equinox v.3.3 have these problem happen to anyone?
My used commands are as I used before, they were tried and were working fine, so I do not really know what happens now?
java -jar org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar âconsole
Java -Declipse.security=org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager -jar org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar âconsole
Thank you again
Did you start Equinox with security on? Those
services are not registered unless you start the framework with security on.
From: "David Conde" [dconde@xxxxxxxx]
I would like to use the method getPermissions from Permission Admin Service in order to get Local permissions information from a bundle location. I have read that this bundle is already integrated in the framework, and looking for it in the Equinox bundles I did not found it, but when I tried to get the service I got NULL, as this service was not installed in the framework. So, my question is, do I have to download this bundle from anywhere?Is this bundle still used in OSGI? I read that ConditionalPermissionAdmin service appeared in newer version of OSGI in order to provide more security capabilities to OSGI than Permission Admin.
Thank you in advance