mx4j/src/examples/mx4j/examples/tools/remote/soap Server.java,1.4,1.5

Simone Bordet <[email protected]> Fri, 18 Feb 2005 15:23:10 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/examples/mx4j/examples/tools/remote/soap
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25782/src/examples/mx4j/examples/tools/remote/soap

Modified Files:
	Server.java 
Log Message:
Checking that providers, when called to create a JMXConnector[Server], are creating one corresponding to the JMXServiceURL passed in.

Index: Server.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/examples/mx4j/examples/tools/remote/soap/Server.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Server.java	16 Feb 2005 15:31:05 -0000	1.4
--- Server.java	18 Feb 2005 15:23:08 -0000	1.5
***************
*** 59,63 ****
  
        // Pass null as the host name to tell JMXServiceURL to default to InetAddress.getLocalHost().getHostName()
!       JMXServiceURL url = new JMXServiceURL("soap", null, 8080, "/jmxconnector");
  
        // Create and start the connector server
--- 59,63 ----
  
        // Pass null as the host name to tell JMXServiceURL to default to InetAddress.getLocalHost().getHostName()
!       JMXServiceURL url = new JMXServiceURL("dummy", null, 9090, "/jmxconnector");
  
        // Create and start the connector server
***************
*** 66,70 ****
        connectorServer.start();
  
!       System.out.println("Server up and running");
     }
  }
--- 66,70 ----
        connectorServer.start();
  
!       System.out.println("Server up and running " + connectorServer);
     }
  }



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click