[jboss-user] [JNDI/Naming/Network] - Re: no security manager: RMI class loader disabled
elvisd
do-not-reply at jboss.com
Wed Dec 10 05:17:14 EST 2008
Thank you noFreak. That resolved my problem. +1 4U!
"noFreak" wrote : 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=4195520#4195520
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195520
More information about the jboss-user
mailing list