geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r170517 - in /geronimo/trunk/sandbox/spring-assembly: ./ maven.xml project.properties project.xml src/ src/conf/ src/conf/server-gbean.xml src/conf/server.xml
Date Tue, 17 May 2005 05:38:23 GMT
Author: dain
Date: Mon May 16 22:38:23 2005
New Revision: 170517

URL: http://svn.apache.org/viewcvs?rev=170517&view=rev
Log:
Spring based Geronimo server

Added:
    geronimo/trunk/sandbox/spring-assembly/
    geronimo/trunk/sandbox/spring-assembly/maven.xml
    geronimo/trunk/sandbox/spring-assembly/project.properties
    geronimo/trunk/sandbox/spring-assembly/project.xml
    geronimo/trunk/sandbox/spring-assembly/src/
    geronimo/trunk/sandbox/spring-assembly/src/conf/
    geronimo/trunk/sandbox/spring-assembly/src/conf/server-gbean.xml
    geronimo/trunk/sandbox/spring-assembly/src/conf/server.xml

Added: geronimo/trunk/sandbox/spring-assembly/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/spring-assembly/maven.xml?rev=170517&view=auto
==============================================================================
--- geronimo/trunk/sandbox/spring-assembly/maven.xml (added)
+++ geronimo/trunk/sandbox/spring-assembly/maven.xml Mon May 16 22:38:23 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Copyright 2003-2004 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  
+
+<!-- $Rev: 160734 $ $Date: 2005-04-09 20:36:57 -0700 (Sat, 09 Apr 2005) $ -->
+
+<project default="default"
+    xmlns:j="jelly:core"
+    xmlns:ant="jelly:ant"
+    >
+
+    <goal name="default">
+        <attainGoal name="unpack"/>
+        <attainGoal name="spring-server"/>
+    </goal>
+
+    <goal name="unpack">
+        <ant:delete dir="${basedir}/target/geronimo"/>
+        <unjar src="${pom.getDependencyPath('geronimo:geronimo-assembly')}" dest="${basedir}/target/geronimo"/>
+    </goal>
+
+    <goal name="spring-server">
+        <mkdir dir="target/geronimo/conf"/>
+        <copy todir="${basedir}/target/geronimo/conf">
+            <fileset dir="${basedir}/src/conf"/>
+        </copy>
+        <copy file="${pom.getDependencyPath('gbean:gbean-kernel')}" todir="${basedir}/target/geronimo/lib"/>
+        <copy file="${pom.getDependencyPath('springframework:spring')}" todir="${basedir}/target/geronimo/lib"/>
+        <mkdir dir="target/classes/META-INF"/>
+        <touch file="target/classes/META-INF/startup-jar"/>
+        <jar destfile="${basedir}/target/geronimo/bin/spring-server.jar">
+            <fileset dir="target/classes"/>
+            <manifest>
+                <attribute name="Main-Class" value="org.gbean.geronimo.Daemon"/>
+                <attribute name="Class-Path" value="../lib/gbean-kernel-1.0-SNAPSHOT.jar
../lib/geronimo-kernel-1.0-SNAPSHOT.jar ../lib/log4j-1.2.8.jar ../lib/commons-logging-1.0.4.jar
../lib/cglib-nodep-2.1.jar ../lib/mx4j-3.0.1.jar ../lib/spring-GBEAN-PATCHED-SNAPSHOT.jar"/>
+                <attribute name="Default-Location" value="conf/server.xml"/>
+            </manifest>
+        </jar>
+    </goal>
+</project>

Added: geronimo/trunk/sandbox/spring-assembly/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/spring-assembly/project.properties?rev=170517&view=auto
==============================================================================
--- geronimo/trunk/sandbox/spring-assembly/project.properties (added)
+++ geronimo/trunk/sandbox/spring-assembly/project.properties Mon May 16 22:38:23 2005
@@ -0,0 +1 @@
+maven.repo.remote=http://www.openejb.org/maven,http://dist.codehaus.org,http://cvs.apache.org/repository,http://www.ibiblio.org/maven

Added: geronimo/trunk/sandbox/spring-assembly/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/spring-assembly/project.xml?rev=170517&view=auto
==============================================================================
--- geronimo/trunk/sandbox/spring-assembly/project.xml (added)
+++ geronimo/trunk/sandbox/spring-assembly/project.xml Mon May 16 22:38:23 2005
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+    Copyright 2003-2004 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  
+<!-- $Rev: 169154 $ $Date: 2005-05-08 12:35:23 -0700 (Sun, 08 May 2005) $ -->
+
+<project>
+    <pomVersion>3</pomVersion>
+    <extend>../../etc/project.xml</extend>
+
+    <!-- ===================== -->
+    <!-- Module Identification -->
+    <!-- ===================== -->
+
+    <name>Geronimo :: Spring Assembly</name>
+    <id>geronimo-spring-asseembly</id>
+    <shortDescription>Geronimo Spring Assembly</shortDescription>
+    <description>Geronimo Spring Assembly</description>
+
+    <!-- ============ -->
+    <!-- Dependencies -->
+    <!-- ============ -->
+
+    <dependencies>
+        <dependency>
+            <groupId>gbean</groupId>
+            <artifactId>gbean-kernel</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>geronimo</groupId>
+            <artifactId>geronimo-assembly</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>springframework</groupId>
+            <artifactId>spring</artifactId>
+            <version>GBEAN-PATCHED-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+        </resources>
+    </build>
+
+</project>

Added: geronimo/trunk/sandbox/spring-assembly/src/conf/server-gbean.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/spring-assembly/src/conf/server-gbean.xml?rev=170517&view=auto
==============================================================================
--- geronimo/trunk/sandbox/spring-assembly/src/conf/server-gbean.xml (added)
+++ geronimo/trunk/sandbox/spring-assembly/src/conf/server-gbean.xml Mon May 16 22:38:23 2005
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2004 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<configuration
+    configId="org/apache/geronimo/Server"
+    domain="gbean"
+    server="server"
+    >
+
+    <dependency>
+        <uri>geronimo-spec/jars/geronimo-spec-j2ee-1.4-rc4.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo-spec/jars/geronimo-spec-j2ee-jacc-1.0-rc4.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-activation-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-j2ee-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-core-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-connector-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>concurrent/jars/concurrent-1.3.4.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-timer-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-transaction-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-naming-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-security-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-system-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-webservices-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>tranql/jars/tranql-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>openejb/jars/openejb-core-2.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <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>howl/jars/howl-logger-0.1.8.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>antlr/jars/antlr-2.7.2.jar</uri>
+    </dependency>
+
+    <!-- required for rar 1.5 to load realms -->
+    <dependency>
+        <uri>regexp/jars/regexp-1.3.jar</uri>
+    </dependency>
+
+    <!-- for timer serialization implementation -->
+    <dependency>
+        <uri>xstream/jars/xstream-1.0.2.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>xpp3/jars/xpp3-1.1.3.3.jar</uri>
+    </dependency>
+
+    <dependency>
+        <uri>geronimo/jars/geronimo-common-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/jars/geronimo-client-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+
+    <dependency>
+        <uri>asm/jars/asm-1.4.3.jar</uri>
+    </dependency>
+
+    <dependency>
+         <uri>geronimo/jars/geronimo-axis-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+
+    <dependency>
+         <uri>geronimo/jars/geronimo-webservices-1.0-SNAPSHOT.jar</uri>
+    </dependency>
+
+    <dependency>
+        <uri>jetty/jars/org.mortbay.jetty-5.1.4rc0.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>tomcat/jars/jasper-compiler-5.5.9.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>tomcat/jars/jasper-compiler-jdt-5.5.9.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>tomcat/jars/jasper-runtime-5.5.9.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>commons-el/jars/commons-el-1.0.jar</uri>
+    </dependency>
+    <dependency>
+        <uri>commons-collections/jars/commons-collections-3.1.jar</uri>
+    </dependency>
+</configuration>
\ No newline at end of file

Added: geronimo/trunk/sandbox/spring-assembly/src/conf/server.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/spring-assembly/src/conf/server.xml?rev=170517&view=auto
==============================================================================
--- geronimo/trunk/sandbox/spring-assembly/src/conf/server.xml (added)
+++ geronimo/trunk/sandbox/spring-assembly/src/conf/server.xml Mon May 16 22:38:23 2005
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+
+<beans>
+    <bean name="JMXBridge" class="org.gbean.jmx.JMXBridge">
+        <constructor-arg index="0"><bean class="org.gbean.spring.KernelReference"/></constructor-arg>
+    </bean>
+
+    <bean name="ServerInfo" class="org.apache.geronimo.system.serverinfo.ServerInfo">
+        <constructor-arg><null/></constructor-arg>
+    </bean>
+
+    <bean name="URLFactory" class="org.apache.geronimo.system.url.GeronimoURLFactory"
init-method="doStart" destroy-method="doStop"/>
+
+    <bean name=":j2eeType=ConfigurationStore,name=Local" class="org.apache.geronimo.system.configuration.LocalConfigStore"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+        <constructor-arg index="1"><bean class="org.gbean.spring.ObjectNameStringReference"/></constructor-arg>
+        <constructor-arg index="2"><value>config-store</value></constructor-arg>
+        <constructor-arg index="3"><ref bean="ServerInfo"/></constructor-arg>
+    </bean>
+
+    <bean name=":j2eeType=ConfigurationManager,name=ConfigurationManager" class="org.apache.geronimo.kernel.config.ConfigurationManagerImpl"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+        <constructor-arg index="1">
+            <bean class="org.gbean.spring.LiveProxyHashSetReference">
+                <property name="name"><value>Stores</value></property>
+                <property name="pattern"><value>*:j2eeType=ConfigurationStore,*</value></property>
+                <property name="type"><value>org.apache.geronimo.kernel.config.ConfigurationStore</value></property>
+            </bean>
+        </constructor-arg>
+    </bean>
+
+    <bean name="FileConfigurationList" class="org.apache.geronimo.system.configuration.FileConfigurationList"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+        <constructor-arg index="1"><ref bean="ServerInfo"/></constructor-arg>
+        <constructor-arg index="2"><ref bean=":j2eeType=ConfigurationManager,name=ConfigurationManager"/></constructor-arg>
+        <constructor-arg index="3"><value>var/config/config.list</value></constructor-arg>
+    </bean>
+
+    <bean name="Repository" class="org.apache.geronimo.system.repository.ReadOnlyRepository"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><value>repository/</value></constructor-arg>
+        <constructor-arg index="1"><ref bean="ServerInfo"/></constructor-arg>
+    </bean>
+
+    <bean name="RMIRegistry" class="org.apache.geronimo.system.rmi.RMIRegistryService"
init-method="doStart" destroy-method="doStop">
+        <property name="port"><value>1099</value></property>
+    </bean>
+
+    <bean name="NamingProperties" class="org.apache.geronimo.system.properties.NamingProperties">
+        <constructor-arg index="0"><value>com.sun.jndi.rmi.registry.RegistryContextFactory</value></constructor-arg>
+        <constructor-arg index="1"><value>org.apache.geronimo.naming</value></constructor-arg>
+        <constructor-arg index="2"><value>rmi://localhost:1099</value></constructor-arg>
+    </bean>
+
+    <bean name="properties-login" class="org.apache.geronimo.security.jaas.LoginModuleGBean">
+        <constructor-arg index="0"><value>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</value></constructor-arg>
+        <constructor-arg index="1"><bean class="org.gbean.spring.ObjectNameStringReference"/></constructor-arg>
+        <constructor-arg index="2"><value>true</value></constructor-arg>
+        <property name="options">
+            <props>
+                <prop key="usersURI">var/security/users.properties</prop>
+                <prop key="groupsURI">var/security/groups.properties</prop>
+            </props>
+        </property>
+    </bean>
+
+    <bean name=":j2eeType=SecurityRealm,name=geronimo-properties-realm" class="org.apache.geronimo.security.realm.GenericSecurityRealm">
+        <constructor-arg index="0"><value>geronimo-properties-realm</value></constructor-arg>
+        <constructor-arg index="1"><ref bean="properties-login-options"/></constructor-arg>
+        <constructor-arg index="2"><value>false</value></constructor-arg>
+        <constructor-arg index="3"><null/></constructor-arg>
+        <constructor-arg index="4"><ref bean="ServerInfo"/></constructor-arg>
+        <constructor-arg index="5"><bean class="org.gbean.spring.ClassLoaderReference"/></constructor-arg>
+        <constructor-arg index="6"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+    </bean>
+
+    <bean name="properties-login-options" class="org.apache.geronimo.security.jaas.JaasLoginModuleUse">
+        <constructor-arg index="0"><ref bean="properties-login"/></constructor-arg>
+        <constructor-arg index="1"><null/></constructor-arg>
+        <constructor-arg index="2"><value>REQUIRED</value></constructor-arg>
+     </bean>
+
+    <bean name="JMX" class="org.apache.geronimo.security.jaas.ServerRealmConfigurationEntry">
+        <constructor-arg index="0"><value>JMX</value></constructor-arg>
+        <constructor-arg index="1"><value>geronimo-properties-realm</value></constructor-arg>
+        <constructor-arg index="2"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+    </bean>
+
+    <bean name="LoginConfiguration" class="org.apache.geronimo.security.jaas.GeronimoLoginConfiguration"
init-method="doStart" destroy-method="doStop">
+        <property name="configurations">
+            <bean class="org.gbean.geronimo.CollectionReference">
+                <property name="name"><value>Configurations</value></property>
+                <property name="patterns">
+                    <set>
+                        <value type="javax.management.ObjectName">*:j2eeType=SecurityRealm,*</value>
+                        <value type="javax.management.ObjectName">*:j2eeType=ConfigurationEntry,*</value>
+                    </set>
+                </property>
+                <property name="type"><value>org.apache.geronimo.security.jaas.ConfigurationEntryFactory</value></property>
+            </bean>
+        </property>
+    </bean>
+
+    <bean name="SecurityService" class="org.apache.geronimo.security.SecurityServiceImpl">
+        <constructor-arg index="0"><bean class="org.gbean.spring.ClassLoaderReference"/></constructor-arg>
+        <constructor-arg index="1"><ref bean="ServerInfo"/></constructor-arg>
+        <constructor-arg index="2"><value>org.apache.geronimo.security.jacc.GeronimoPolicyConfigurationFactory</value></constructor-arg>
+        <constructor-arg index="3"><value>org.apache.geronimo.security.jacc.GeronimoPolicy</value></constructor-arg>
+        <constructor-arg index="4"><null/></constructor-arg>
+        <constructor-arg index="5"><null/></constructor-arg>
+        <constructor-arg index="6"><null/></constructor-arg>
+        <constructor-arg index="7"><null/></constructor-arg>
+    </bean>
+
+    <bean name="JaasLoginService" class="org.apache.geronimo.security.jaas.JaasLoginService"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><value>HmacSHA1</value></constructor-arg>
+        <constructor-arg index="1"><value>secret</value></constructor-arg>
+        <constructor-arg index="2"><bean class="org.gbean.spring.ClassLoaderReference"/></constructor-arg>
+        <property name="realms">
+            <bean class="org.gbean.geronimo.CollectionReference">
+                <property name="name"><value>realms</value></property>
+                <property name="pattern"><value>*:j2eeType=SecurityRealm,*</value></property>
+                <property name="type"><value>org.apache.geronimo.security.realm.SecurityRealm</value></property>
+            </bean>
+        </property>
+    </bean>
+
+    <bean name="DefaultThreadPool" class="org.apache.geronimo.pool.ThreadPool" init-method="doStart"
destroy-method="doStop">
+        <constructor-arg index="0"><value>10</value></constructor-arg>
+        <constructor-arg index="1"><value>DefaultThreadPool</value></constructor-arg>
+        <constructor-arg index="2"><value>5000</value></constructor-arg>
+        <constructor-arg index="3"><bean class="org.gbean.spring.ClassLoaderReference"/></constructor-arg>
+    </bean>
+
+    <bean name="ConnectionTracker" class="org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinator"/>
+
+    <bean name="DefaultWorkManager" class="org.apache.geronimo.connector.work.GeronimoWorkManager"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><value>10</value></constructor-arg>
+        <constructor-arg index="1"><value>10</value></constructor-arg>
+        <constructor-arg index="2"><value>10</value></constructor-arg>
+        <constructor-arg index="3"><ref bean="TransactionContextManager"/></constructor-arg>
+    </bean>
+
+    <bean name="HOWLTransactionLog" class="org.apache.geronimo.transaction.log.HOWLLog"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><value>org.objectweb.howl.log.BlockLogBuffer</value></constructor-arg>
+        <constructor-arg index="1"><value>32</value></constructor-arg>
+        <constructor-arg index="2"><value>true</value></constructor-arg>
+        <constructor-arg index="3"><value>50</value></constructor-arg>
+        <constructor-arg index="4"><value>var/txlog</value></constructor-arg>
+        <constructor-arg index="5"><value>log</value></constructor-arg>
+        <constructor-arg index="6"><value>howl</value></constructor-arg>
+        <constructor-arg index="7"><value>-1</value></constructor-arg>
+        <constructor-arg index="8"><value>0</value></constructor-arg>
+        <constructor-arg index="9"><value>2</value></constructor-arg>
+        <constructor-arg index="10"><value>4</value></constructor-arg>
+        <constructor-arg index="11"><value>-1</value></constructor-arg>
+        <constructor-arg index="12"><null/></constructor-arg>
+        <constructor-arg index="13"><ref bean="ServerInfo"/></constructor-arg>
+    </bean>
+
+    <bean name="TransactionManager" class="org.apache.geronimo.transaction.manager.TransactionManagerImpl">
+        <constructor-arg index="0"><value>600</value></constructor-arg>
+        <constructor-arg index="1"><ref bean="HOWLTransactionLog"/></constructor-arg>
+        <constructor-arg index="2">
+            <bean class="org.gbean.geronimo.CollectionReference">
+                <property name="name"><value>ResourceManagers</value></property>
+                <property name="patterns">
+                    <set>
+                        <value type="javax.management.ObjectName">*:j2eeType=JCAManagedConnectionFactory,*</value>
+                        <value type="javax.management.ObjectName">*:j2eeType=ActivationSpec,*</value>
+                    </set>
+                </property>
+                <property name="type"><value>org.apache.geronimo.transaction.manager.ResourceManager</value></property>
+            </bean>
+        </constructor-arg>
+    </bean>
+
+    <bean name="TransactionContextManager" class="org.apache.geronimo.transaction.context.TransactionContextManager">
+        <constructor-arg index="0"><ref bean="TransactionManager"/></constructor-arg>
+        <constructor-arg index="1"><ref bean="TransactionManager"/></constructor-arg>
+    </bean>
+
+    <bean name="JettyWebContainer" class="org.apache.geronimo.jetty.JettyContainerImpl"
init-method="doStart" destroy-method="doStop"/>
+
+    <bean name="JettyRequestLog" class="org.apache.geronimo.jetty.requestlog.NCSARequestLog"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><ref bean="JettyWebContainer"/></constructor-arg>
+        <constructor-arg index="1"><ref bean="ServerInfo"/></constructor-arg>
+
+        <property name="filename"><value>var/log/jetty_yyyy_mm_dd.log</value></property>
+        <property name="logDateFormat"><value>dd/MMM/yyyy:HH:mm:ss ZZZ</value></property>
+        <property name="logTimeZone"><value>GMT</value></property>
+    </bean>
+
+    <bean name="JettyWebConnector" class="org.apache.geronimo.jetty.connector.HTTPConnector"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><ref bean="JettyWebContainer"/></constructor-arg>
+        <property name="port"><value>8080</value></property>
+    </bean>
+
+    <bean name="JettySSLConnector" class="org.apache.geronimo.jetty.connector.HTTPSConnector"
init-method="doStart" destroy-method="doStop">
+        <constructor-arg index="0"><ref bean="JettyWebContainer"/></constructor-arg>
+        <constructor-arg index="1"><ref bean="ServerInfo"/></constructor-arg>
+
+        <property name="port"><value>8443</value></property>
+        <property name="keystore"><value>var/security/keystore</value></property>
+        <property name="keystoreType"><value>JKS</value></property>
+        <property name="password"><value>secret</value></property>
+        <property name="keyPassword"><value>secret</value></property>
+        <property name="needClientAuth"><value>false</value></property>
+        <property name="protocol"><value>TLS</value></property>
+    </bean>
+
+    <bean name="EjbNetworkService" class="org.openejb.server.StandardServiceStack" init-method="doStart"
destroy-method="doStop">
+        <constructor-arg index="0"><value>EJB</value></constructor-arg>
+        <constructor-arg index="1"><value>4201</value></constructor-arg>
+        <constructor-arg index="2"><value>127.0.0.1</value></constructor-arg>
+        <constructor-arg index="3"><value>127.0.0.1</value></constructor-arg>
+        <constructor-arg index="4"><value>HOST,NAME,THREADID,USERID</value></constructor-arg>
+        <constructor-arg index="5"><value>HOST,NAME</value></constructor-arg>
+        <constructor-arg index="6"><ref bean="DefaultThreadPool"/></constructor-arg>
+        <constructor-arg index="7"><ref bean="EjbServer"/></constructor-arg>
+    </bean>
+    
+    <bean name="EjbServer" class="org.openejb.server.ejbd.EjbServer">
+        <constructor-arg index="0"><ref bean="ContainerIndex"/></constructor-arg>
+        <constructor-arg index="1"><null/></constructor-arg>
+    </bean>
+    
+    <bean name="ContainerIndex" class="org.openejb.ContainerIndex" init-method="doStart"
destroy-method="doStop">
+        <constructor-arg index="0">
+            <bean class="org.gbean.geronimo.CollectionReference">
+                <property name="name"><value>ResourceManagers</value></property>
+                <property name="patterns">
+                    <set>
+                        <value type="javax.management.ObjectName">*:j2eeType=StatelessSessionBean,*</value>
+                        <value type="javax.management.ObjectName">*:j2eeType=StatefulSessionBean,*</value>
+                        <value type="javax.management.ObjectName">*:j2eeType=EntityBean,*</value>
+                    </set>
+                </property>
+                <property name="type"><value>org.openejb.EJBContainer</value></property>
+            </bean>
+        </constructor-arg>
+    </bean>
+
+
+    <bean name="JMXService" class="org.apache.geronimo.jmxremoting.JMXConnector">
+        <constructor-arg index="0"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+        <constructor-arg index="1"><bean class="org.gbean.spring.ObjectNameStringReference"/></constructor-arg>
+        <constructor-arg index="2"><bean class="org.gbean.spring.ClassLoaderReference"/></constructor-arg>
+        <property name="url"><value>service:jmx:rmi://localhost/jndi/rmi:/JMXConnector</value></property>
+        <property name="applicationConfigName"><value>JMX</value></property>
+    </bean>
+
+
+    <bean name="eis/JAXR" class="org.apache.geronimo.webservices.jaxr.JAXRGBean"/>
+
+    <bean name="geronimo.server:j2eeType=J2EEServer,name=geronimo" class="org.apache.geronimo.j2ee.management.impl.J2EEServerImpl">
+        <constructor-arg index="0"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+        <constructor-arg index="1"><bean class="org.gbean.spring.ObjectNameStringReference"/></constructor-arg>
+        <constructor-arg index="2"><ref bean="ServerInfo"/></constructor-arg>
+    </bean>
+
+    <bean name="geronimo.server:J2EEApplication=null,EJBModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=ejb/mgmt/MEJB"
class="org.openejb.mejb.MEJB">
+        <constructor-arg index="0"><bean class="org.gbean.spring.ObjectNameStringReference"/></constructor-arg>
+        <constructor-arg index="1"><bean class="org.gbean.geronimo.GeronimoKernelReference"/></constructor-arg>
+    </bean>
+
+</beans>
+



Mime
View raw message