This content has been marked as final.
Show 1 reply
-
1. Re: RMI Connector in 3.0.0
sjus00 Jan 30, 2002 5:09 AM (in response to mjamison)Hi!
I did an RMI-Connection with 2.4.3 with the following code:
System.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
System.setProperty("java.naming.provider.url", "yourComputer:1098");
System.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
RMIClientConnectorImpl myConnector = new RMIClientConnectorImpl ("yourComputer");
myConnector.createMBean( ... );
myConnector.addNotificationListener( ... );
myConnector.invoke( ... );
In Jboss 3.0 there is also an RMI Connector started (in default-configuration), you can see this on:
http://localhost:8082 there is the MBean:
name=Connector,type=RMI in the domain JMX.
Hope it helps sometimes..
Sjus