Update of /cvsroot/mx4j/mx4j/src/core/javax/management/remote/rmi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29349/core/javax/management/remote/rmi
Modified Files:
RMIConnector.java
Log Message:
Fix for bug #907629: now using the same classloader mechanism of the provider to lookup the resolver
Index: RMIConnector.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/remote/rmi/RMIConnector.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** RMIConnector.java 25 Feb 2004 13:34:33 -0000 1.21
--- RMIConnector.java 1 Mar 2004 18:02:02 -0000 1.22
***************
*** 114,118 ****
String protocol = jmxServiceURL.getProtocol();
! ConnectionResolver resolver = ConnectionResolver.getInstance(protocol);
if (resolver == null) throw new IOException("Unsupported protocol: " + protocol);
if (rmiServer == null) rmiServer = (RMIServer)resolver.lookupClient(jmxServiceURL, env);
--- 114,118 ----
String protocol = jmxServiceURL.getProtocol();
! ConnectionResolver resolver = ConnectionResolver.newConnectionResolver(protocol, env);
if (resolver == null) throw new IOException("Unsupported protocol: " + protocol);
if (rmiServer == null) rmiServer = (RMIServer)resolver.lookupClient(jmxServiceURL, env);
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.