felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne <anne.robert-pu...@wanadoo.fr>
Subject Re: remote start bundle and Security manager
Date Wed, 30 Aug 2006 12:28:53 GMT
Hi,

Thanks a lot. It work perfectly.

Anne.

Karl Pauls a écrit :

> Hi Anne,
>
> depending on whether you are using the latest Felix revision or not
> you might be hitting a  transition period. In general, you will need
> to deploy the RMISecurityManager in order for RMI class loader to
> work. As noted above, however, security is a work in progress at the
> moment.
>
> I do believe that Felix's security management is in a working state
> but it will be not specification compliant for some time and
> subsequently, somewhat hard to manage. Assuming that all you're trying
> to do here is getting RMI to work irregardless of security concerns,
> I'd try the following,
>
> java -Djava.security.manager=java.rmi.RMISecurityManager
> -Djava.security.policy=all.policy -jar bin/felix.jar
>
> where,
>
>> cat all.policy
>
> grant {
>  permission java.security.AllPermission;
> };
>
> Let me know how that goes.
>
> regards,
>
> Karl
>
>> When I try to distantly deploy a bundle, I get the following error:
>>
>> C:\myprojet\deploy\generated\build.deploy.xml:37:
>> java.rmi.UnmarshalException: Error unmarshaling return; nested exception
>> is:
>>        java.lang.ClassNotFoundException:
>> org.osgi.framework.BundleException (no security manager: RMI class
>> loader disabled)
>>
>> Is it a configuration problem? How can I allow remote deployment?
>>
>> Regards
>> Anne.
>>
>
>


Mime
View raw message