geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/assembly/src/plan j2ee-server-plan.xml
Date Sun, 30 May 2004 19:53:57 GMT
jboynes     2004/05/30 12:53:57

  Modified:    modules/assembly project.xml
               modules/assembly/src/plan j2ee-server-plan.xml
  Log:
  Enable JMX Remoting secured against the default realm
  
  Revision  Changes    Path
  1.22      +10 -1     incubator-geronimo/modules/assembly/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/assembly/project.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- project.xml	30 May 2004 19:07:52 -0000	1.21
  +++ project.xml	30 May 2004 19:53:57 -0000	1.22
  @@ -131,6 +131,15 @@
   
           <dependency>
               <groupId>geronimo</groupId>
  +            <artifactId>geronimo-jmxremoting</artifactId>
  +            <version>${pom.currentVersion}</version>
  +            <properties>
  +                <repository>true</repository>
  +            </properties>
  +        </dependency>
  +
  +        <dependency>
  +            <groupId>geronimo</groupId>
               <artifactId>geronimo-demo</artifactId>
               <version>${pom.currentVersion}</version>
               <type>war</type>
  
  
  
  1.21      +16 -0     incubator-geronimo/modules/assembly/src/plan/j2ee-server-plan.xml
  
  Index: j2ee-server-plan.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/assembly/src/plan/j2ee-server-plan.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- j2ee-server-plan.xml	30 May 2004 19:06:53 -0000	1.20
  +++ j2ee-server-plan.xml	30 May 2004 19:53:57 -0000	1.21
  @@ -63,6 +63,9 @@
           <uri>geronimo/jars/geronimo-jetty-1.0-SNAPSHOT.jar</uri>
       </dependency>
       <dependency>
  +        <uri>geronimo/jars/geronimo-jmxremoting-1.0-SNAPSHOT.jar</uri>
  +    </dependency>
  +    <dependency>
         <uri>activemq/jars/activemq-SNAPSHOT.jar</uri>
       </dependency>
   
  @@ -80,6 +83,12 @@
           <reference name="ServerInfo">geronimo.system:role=ServerInfo</reference>
       </gbean>
   
  +    <gbean name="geronimo.security:type=ConfigurationEntry,jaasId=JMX" class="org.apache.geronimo.security.jaas.ConfigurationEntryRealmLocal">
  +        <attribute name="JAASId" type="java.lang.String">JMX</attribute>
  +        <attribute name="RealmName" type="java.lang.String">geronimo-properties-realm</attribute>
  +        <attribute name="ControlFlag" type="org.apache.geronimo.security.jaas.LoginModuleControlFlag">REQUIRED</attribute>
  +    </gbean>
  +
       <!-- Register GeronimoLoginConfiguration as the LoginConfiguration handler -->
       <gbean name="geronimo.security:type=LoginConfiguration" class="org.apache.geronimo.security.jaas.GeronimoLoginConfiguration"/>
   
  @@ -166,4 +175,11 @@
           <reference name="ServerInfo">geronimo.system:role=ServerInfo</reference>
       </gbean>
       <gbean name="geronimo.server:j2eeType=JVM,J2EEServer=geronimo" class="org.apache.geronimo.j2ee.management.impl.JVMImpl"/>
  +
  +    <!-- JMX Remoting -->
  +    <gbean name="geronimo.server:role=JMXService,name=localhost" class="org.apache.geronimo.jmxremoting.JMXConnector">
  +        <attribute name="URL" type="java.lang.String">service:jmx:rmi://localhost/jndi/rmi:/JMXConnector</attribute>
  +        <attribute name="ApplicationConfigName" type="java.lang.String">JMX</attribute>
  +        <reference name="Kernel">geronimo.boot:role=Kernel</reference>
  +    </gbean>
   </configuration>
  
  
  

Mime
View raw message