tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-5/resources/mbeans tomcat5jboss-service.xml
Date Wed, 05 Mar 2003 21:24:54 GMT
costin      2003/03/05 13:24:54

  Added:       resources/mbeans tomcat5jboss-service.xml
  Log:
  Another mbean-based embeding sample - for jboss.
  
  It requires few changes to the jboss-specific code ( i.e. an AbstractWebContainer impl ).
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-5/resources/mbeans/tomcat5jboss-service.xml
  
  Index: tomcat5jboss-service.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE server [
    <!ENTITY catalina.home "/ws/50/embed">
  ]>
  
  <server>
    <classpath codebase="file:&catalina.home;/lib/" archives="*"/>
    <classpath codebase="." archives="tomcat5-service.jar"/>
   
    <mbean code="org.apache.commons.modeler.BaseModelMBean"
            name="Catalina:type=server" >
      <constructor>
          <arg type="java.lang.String" value="org.apache.catalina.startup.Catalina" />
      </constructor>
      <attribute name="catalinaHome">&catalina.home;</attribute>
      <attribute name="useNaming">false</attribute>
    </mbean>
  
    <mbean code="org.jboss.web.catalina.Tomcat5"
           name="jboss.web:service=EmbeddedCatalina41" >
    </mbean>
  
  </server>
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message