You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2003/03/05 22:24:54 UTC

cvs commit: jakarta-tomcat-5/resources/mbeans tomcat5jboss-service.xml

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