Re: Running Jini under Equinox OSGi

Asaf Lahav <[email protected]> Wed, 4 Jun 2008 20:48:39 +0300
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Hi Bob, Thanks for your response...
That is quite weird because the jre I'm running under is 1.5


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Wednesday, June 04, 2008 5:50 PM
To: Asaf Lahav
Cc: [email protected]
Subject: Re: Running Jini under Equinox OSGi

> java.lang.UnsupportedOperationException: ungrantable protection domain
>       at
>
net.jini.security.policy.DynamicPolicyProvider.checkDomain(DynamicPolicyProv
> ider.java:297)

This indicates to me that the OSGi class loading mechanism is creating
ancient (pre-1.4) style ProtectionDomains that have no class loader
reference.  The Jini DynamicPolicyProvider requires ProtectionDomains
to have class loaders set.

- Bob

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html