[jboss-user] [JNDI/Naming/Network] - Re: no security manager: RMI class loader disabled

noFreak do-not-reply at jboss.com
Tue May 20 17:10:20 EDT 2008


hey, is it possible that you are using OSGI bundles (e. g. Eclipse RCP is based on)? If so, i have a possible solution.
In my case (as far as I can remember,no guaranty :)), i have called the different serviceLocator's from different OSGI Bundles in the same VM. So i have had problems with the JBoss Client Classes, which should be needed by both OSGI Bundles. For some reason (i cant describe the exactly reason, cause id didnt understood it), its get this problem. I have soluted this problem, with a third OSGI bundle which only contains the jboss-allclient.jar. 
Let depend the other two bunldes which have to call the services on the jboss-allclient bundle. Add the following to the jboss-allclient.jar's manifest.mf:
Eclipse-BuddyPolicy: registered
and this to the depending bundles:
Eclipse-RegisterBuddy: <Bundle-SymbolicName>.
whereas <Bundle-SymbolicName> should be an attribute value in the jboss-allclient.jar's manifest.mf which identify the bundle.
I hope i could help :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152145#4152145

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152145



More information about the jboss-user mailing list