commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-commons/modeler/src/conf MANIFEST.MF
Date Sun, 29 Dec 2002 18:04:59 GMT
costin      2002/12/29 10:04:59

  Modified:    modeler/src/conf MANIFEST.MF
  Added:       modeler  mbeans.xml
  Log:
  Added a small sample/test - it creates several mbeans and invokes some
  methods. ( a more complete example will be in tomcat ).
  
  Make the jar runnable. After we add the ClassLoader mbean we'll remove
  the classpath from manifest and use child loaders.
  
  Revision  Changes    Path
  1.1                  jakarta-commons/modeler/mbeans.xml
  
  Index: mbeans.xml
  ===================================================================
  <server>
  
    <!-- 
    -->
      
      <mbean name="Http:name=HttpAdaptor"
  	 code="mx4j.adaptor.http.HttpAdaptor">
      <attribute name="Port" value="9999" type="int" />  
    </mbean>
  
    <mbean name="Http:name=XSLTProcessor"
           code="mx4j.adaptor.http.XSLTProcessor"/>
  
    <jmx-attribute objectName="Http:name=HttpAdaptor"
  		 name="ProcessorName"
  		 type="ObjectName"
                   value="Http:name=XSLTProcessor"/>
  
    <jmx-operation objectName="Http:name=HttpAdaptor"
                   operation="start" />
  
  
    <!-- MX4J RMI
    -->
            
    <MLET name="Naming:name=rmiregistry" 
          code="mx4j.tools.naming.NamingService" >
    </MLET>
  
    <jmx-operation objectName="Naming:name=rmiregistry"
                   operation="start" />
  
    <mbean name="Adaptor:protocol=jrmp"
           code="mx4j.adaptor.rmi.jrmp.JRMPAdaptor">
      <attribute name="JNDIName" value="jrmp" />
    </mbean>
              
    <jmx-operation objectName="Adaptor:protocol=jrmp"
                   operation="putNamingProperty" >
      <arg type="java.lang.Object">java.naming.factory.initial</arg>
      <arg type="java.lang.Object">com.sun.jndi.rmi.registry.RegistryContextFactory</arg>
    </jmx-operation>
  
    <jmx-operation objectName="Adaptor:protocol=jrmp"
                   operation="putNamingProperty" >
      <arg type="java.lang.Object">java.naming.provider.url</arg>
      <arg type="java.lang.Object">rmi://localhost:1099</arg>
    </jmx-operation>
  
    <jmx-operation objectName="Adaptor:protocol=jrmp"
                   operation="start" />
  
  
    <mbean code="com.sun.jdmk.comm.HtmlAdaptorServer"
           name="Adaptor:name=html,port=9998">
      <attribute name="Port" type="int" value="9998"/>
    </mbean>
  
    <jmx-operation objectName="Adaptor:name=html,port=9998"
                   operation="start" />
  
  </server>
  
  
  
  1.2       +2 -0      jakarta-commons/modeler/src/conf/MANIFEST.MF
  
  Index: MANIFEST.MF
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/modeler/src/conf/MANIFEST.MF,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MANIFEST.MF	30 Apr 2002 20:58:51 -0000	1.1
  +++ MANIFEST.MF	29 Dec 2002 18:04:59 -0000	1.2
  @@ -3,4 +3,6 @@
   Specification-Version: 1.0
   Implementation-Vendor: Apache Software Foundation
   Implementation-Version: @version@
  +Class-Path: mx4j-jmx.jar jmxri.jar commons-logging.jar commons-logging-api.jar crimson.jar
xercesImpl.jar xmlParserAPI.jar mx4j-tools.jar jmxtools.jar
  +Main-Class: org.apache.commons.modeler.Main
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message