Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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?

 

BASIC LAUNCHING:

 

java -jar org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar –console

 

SECURITY LAUNCHING:

 

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

 

David

 

 

De: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] En nombre de BJ Hargrave
Enviado el: viernes, 26 de junio de 2009 15:26
Para: Equinox development mailing list
Asunto: Re: [equinox-dev] Permission Admin Service Problem

 

Did you start Equinox with security on? Those services are not registered unless you start the framework with security on.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargrave@xxxxxxxxxx
Office: +1 386 848 1781 Mobile: +1 386 848 3788


  From: "David Conde" [dconde@xxxxxxxx]
  Sent: 06/26/2009 12:21 PM ZE2
  To: "'Equinox development mailing list'" <equinox-dev@xxxxxxxxxxx>
  Subject: [equinox-dev] Permission Admin Service Problem

 

Hi everyone,

 

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

 

David


Back to the top