mx4j/src/etc index.jsp,1.4,1.5

Simone Bordet <[email protected]> Wed, 16 Feb 2005 15:31:07 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/etc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21699/src/etc

Modified Files:
	index.jsp 
Log Message:
Small changes in comments

Index: index.jsp
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/etc/index.jsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.jsp	31 Oct 2004 11:36:31 -0000	1.4
--- index.jsp	16 Feb 2005 15:31:03 -0000	1.5
***************
*** 17,21 ****
  <%@ page import="javax.management.*" %>
  <%@ page import="javax.management.remote.*" %>
! <%@ page import="mx4j.tools.remote.soap.*" %>
  <%
     // The URLPath of this JMXServiceURL must match with the one in web.xml:
--- 17,21 ----
  <%@ page import="javax.management.*" %>
  <%@ page import="javax.management.remote.*" %>
! <%@ page import="mx4j.tools.remote.http.HTTPConnectorServer" %>
  <%
     // The URLPath of this JMXServiceURL must match with the one in web.xml:
***************
*** 27,31 ****
     Map environment = new HashMap();
     // Don't start a new web container, since it's already started
!    environment.put(SOAPConnectorServer.USE_EXTERNAL_WEB_CONTAINER, Boolean.TRUE);
  
     JMXConnectorServer cntorServer = JMXConnectorServerFactory.newJMXConnectorServer(address, environment, null);
--- 27,31 ----
     Map environment = new HashMap();
     // Don't start a new web container, since it's already started
!    environment.put(HTTPConnectorServer.USE_EXTERNAL_WEB_CONTAINER, Boolean.TRUE);
  
     JMXConnectorServer cntorServer = JMXConnectorServerFactory.newJMXConnectorServer(address, environment, null);
***************
*** 37,41 ****
     cntorServer.start();
  
!    // Register here another ton of MBeans you want to manage via the SOAPConnectorServer
     // For example:
     ObjectName timerName = new ObjectName(":type=timer");
--- 37,41 ----
     cntorServer.start();
  
!    // Register here another ton of MBeans you want to manage via the connector server
     // For example:
     ObjectName timerName = new ObjectName(":type=timer");



-------------------------------------------------------
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