Running Virgo with the security manager [message #792061] |
Mon, 06 February 2012 10:13  |
Eclipse User |
|
|
|
Hello.
I am trying to expose an MBean from one of my bundles via Spring. In the Spring config file, I define my server connector as follows:
<bean id="serverConnector"
class="org.springframework.jmx.support.ConnectorServerFactoryBean"
depends-on="registry" p:objectName="connector:name=rmi"
p:serviceUrl="service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jmxrmi" />
When the bundle is being activated however I get the following exception:
Error creating bean with name 'serverConnector' defined in URL [bundleentry://87.fwk644193719/META-INF/spring/core.featurelauncher-context.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException not found from bundle [com.iggroup.wb.core.featurelauncher] (no security manager: RMI class loader disabled)]
Any idea as to what might be going wong?
TIA,
B.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02932 seconds