Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Running Virgo with the security manager
Running Virgo with the security manager [message #792061] Mon, 06 February 2012 10:13 Go to previous message
Barbara Rosi-Schwartz is currently offline Barbara Rosi-Schwartz
Messages: 448
Registered: July 2009
Senior Member
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.
 
Read Message
Read Message
Read Message
Previous Topic:Eclipse Virgo Tooling and Use Repo
Next Topic:Virgo, Jetty 8 and WebSockets
Goto Forum:
  


Current Time: Sun May 19 19:32:12 EDT 2013

Powered by FUDForum. Page generated in 0.01955 seconds