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 tomcat5-ant.xml
Date Sat, 08 Mar 2003 06:46:54 GMT
costin      2003/03/07 22:46:54

  Modified:    resources/mbeans tomcat5-ant.xml
  Log:
  Added the realm, now all apps start and seem to basically work.
  
  Revision  Changes    Path
  1.4       +37 -12    jakarta-tomcat-5/resources/mbeans/tomcat5-ant.xml
  
  Index: tomcat5-ant.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-5/resources/mbeans/tomcat5-ant.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tomcat5-ant.xml	7 Mar 2003 15:34:12 -0000	1.3
  +++ tomcat5-ant.xml	8 Mar 2003 06:46:54 -0000	1.4
  @@ -16,7 +16,7 @@
         <!-- Just include everything for now 
          -->
         <fileset dir="${tomcat.home}/lib" includes="*.jar"/>
  -      <pathelement  path="${tomcat.home}/classes"/>
  +      <pathelement  path="${tomcat.home}/conf"/>
       </path>
   
       <taskdef resource="org/apache/commons/modeler/ant/ant.properties"
  @@ -92,6 +92,7 @@
            <attribute name="name" value="Tomcat-Standalone"/>
          </mbean>
   
  +
          <mbean name="${domain}:type=Engine,name=Tomcat-Standalone" 
                 code="org.apache.catalina.core.StandardEngine"
                 modeler="true">
  @@ -100,6 +101,10 @@
            <attribute name="defaultHost" value="localhost"/>
          </mbean>
   
  +       <mbean name="${domain}:type=Realm,service=Tomcat-Standalone" 
  +              code="org.apache.catalina.realm.JAASRealm" modeler="true">
  +       </mbean>
  +
   <!--
          <mbean name="${domain}:type=Connector,port=9009" 
                 code="org.apache.coyote.tomcat5.CoyoteConnector"
  @@ -109,34 +114,54 @@
          </mbean>
   -->
   
  +
          <mbean name="${domain}:type=Connector,port=9080" 
                 code="org.apache.coyote.tomcat5.CoyoteConnector"
                 modeler="true">
             <attribute name="port" value="9080" />
          </mbean>
   
  +
   <!--
  -       <mbean name="${domain}:type=DefaultContext,host=localhost,Service=Tomcat-Standalone"

  +       <mbean name="${domain}:type=DefaultContext,host=localhost,service=Tomcat-Standalone"

                 code="org.apache.catalina.core.StandardDefaultContext"
                 modeler="true">
          </mbean>
   -->
   
  -       <mbean name="${domain}:type=Host,host=localhost,Service=Tomcat-Standalone" 
  -              code="org.apache.catalina.core.StandardHost"
  -              modeler="true">
  -         <attribute name="name" value="localhost1"/>
  +
  +<!-- Optional: when the context is created it'll create a host if none is found.
  +-->
  +       <mbean name="${domain}:type=Host,host=localhost,service=Tomcat-Standalone" 
  +              code="org.apache.catalina.core.StandardHost" modeler="true">
  +         <attribute name="name" value="localhost"/>
          </mbean>
   
  +
          <mbean name="${domain}:j2eeType=WebModule,name=//localhost/,J2EEApplication=none,J2EEServer=none"

  -              code="org.apache.catalina.core.StandardContext"
  -              modeler="true">
  -         <attribute name="docBase"
  -                    value="/ws/50/build/webapps/ROOT" />
  -         <attribute name="privileged"
  -                    value="true" />
  +              code="org.apache.catalina.core.StandardContext"  modeler="true">
  +         <attribute name="docBase" value="/opt/50/webapps/ROOT" />
  +         <!-- Required for now -->
  +         <attribute name="privileged" value="true" />
  +       </mbean>
  +
  +       <mbean name="${domain}:j2eeType=WebModule,name=//localhost/servlet-examples,J2EEApplication=none,J2EEServer=none"

  +              code="org.apache.catalina.core.StandardContext"  modeler="true">
  +         <attribute name="docBase" value="/opt/50/webapps/servlets-examples" />
  +         <!-- Required for now -->
  +         <attribute name="privileged" value="true" />
  +       </mbean>
  +
  +       <mbean name="${domain}:j2eeType=WebModule,name=//localhost/jsp-examples,J2EEApplication=none,J2EEServer=none"

  +              code="org.apache.catalina.core.StandardContext"  modeler="true">
  +         <attribute name="docBase" value="/opt/50/webapps/jsp-examples" />
  +         <!-- Required for now -->
  +         <attribute name="privileged" value="true" />
          </mbean>
  +
  +
       </jmx-service>
  +
   
       <echo message="Tomcat5 running"/>
   
  
  
  

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