geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r482373 - in /geronimo/daytrader/trunk/plans: dayTrader-db2-plan.xml dayTrader-plan.xml db2-resource-plan.xml jms-resource-plan.xml
Date Mon, 04 Dec 2006 21:40:00 GMT
Author: hogstrom
Date: Mon Dec  4 13:39:59 2006
New Revision: 482373

URL: http://svn.apache.org/viewvc?view=rev&rev=482373
Log:
DAYTRADER-24 Multiple updates to sample plan files

Modified:
    geronimo/daytrader/trunk/plans/dayTrader-db2-plan.xml
    geronimo/daytrader/trunk/plans/dayTrader-plan.xml
    geronimo/daytrader/trunk/plans/db2-resource-plan.xml
    geronimo/daytrader/trunk/plans/jms-resource-plan.xml

Modified: geronimo/daytrader/trunk/plans/dayTrader-db2-plan.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plans/dayTrader-db2-plan.xml?view=diff&rev=482373&r1=482372&r2=482373
==============================================================================
--- geronimo/daytrader/trunk/plans/dayTrader-db2-plan.xml (original)
+++ geronimo/daytrader/trunk/plans/dayTrader-db2-plan.xml Mon Dec  4 13:39:59 2006
@@ -1,612 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1">
-  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
-    <dep:moduleId>
-      <dep:groupId>geronimo</dep:groupId>
-      <dep:artifactId>daytrader-ear</dep:artifactId>
-      <dep:version>1.1-SNAPSHOT</dep:version>
-      <dep:type>ear</dep:type>
-    </dep:moduleId>
-    <dep:dependencies>
-      <dep:dependency>
-        <dep:groupId>geronimo</dep:groupId>
-        <dep:artifactId>j2ee-server</dep:artifactId>
-        <dep:type>car</dep:type>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>com.ibm.db2</dep:groupId>
-        <dep:artifactId>db2jcc</dep:artifactId>
-        <dep:type>jar</dep:type>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>com.ibm.db2</dep:groupId>
-        <dep:artifactId>db2jcc_license_cisuz</dep:artifactId>
-        <dep:type>jar</dep:type>
-      </dep:dependency>
-      <dep:dependency>
-        <dep:groupId>com.ibm.db2</dep:groupId>
-        <dep:artifactId>db2jcc_license_cu</dep:artifactId>
-        <dep:type>jar</dep:type>
-      </dep:dependency>
-    </dep:dependencies>
-    <dep:hidden-classes/>
-    <dep:non-overridable-classes/>
-  </dep:environment>
-  <module>
-    <web>web.war</web>
-    <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1">
-      <service-ref>
-        <service-ref-name>service/Trade</service-ref-name>
-        <port>
-          <port-name>TradeWSServices</port-name>
-          <protocol>http</protocol>
-          <host>localhost</host>
-          <port>8080</port>
-          <uri>/daytrader/services/TradeWSServices</uri>
-        </port>
-      </service-ref>
-    </web-app>
-  </module>
-  <!---->
-  <module>
-    <ejb>dt-ejb.jar</ejb>
-    <!--Note this must match the-->
-    <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
-      <!---->
-      <cmp-connection-factory>
-        <resource-link>jdbc/TradeDataSource</resource-link>
-      </cmp-connection-factory>
-      <ejb-ql-compiler-factory>org.tranql.ejbqlcompiler.DB2EJBQLCompilerFactory</ejb-ql-compiler-factory>
-      <db-syntax-factory>org.tranql.sql.db2.DB2DBSyntaxFactory</db-syntax-factory>
-      <enterprise-beans>
-        <session>
-          <ejb-name>TradeEJB</ejb-name>
-          <jndi-name>ejb/TradeEJB</jndi-name>
-        </session>
-        <session>
-          <ejb-name>KeySequenceEJB</ejb-name>
-          <jndi-name>ejb/KeySequenceEJB</jndi-name>
-        </session>
-        <!---->
-        <entity>
-          <ejb-name>HoldingEJB</ejb-name>
-          <table-name>HOLDINGEJB</table-name>
-          <cmp-field-mapping>
-            <cmp-field-name>purchasePrice</cmp-field-name>
-            <table-column>purchasePrice</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>holdingID</cmp-field-name>
-            <table-column>holdingID</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>quantity</cmp-field-name>
-            <table-column>quantity</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>purchaseDate</cmp-field-name>
-            <table-column>purchaseDate</table-column>
-          </cmp-field-mapping>
-        </entity>
-        <!---->
-        <entity>
-          <ejb-name>AccountProfileEJB</ejb-name>
-          <table-name>AccountProfileEJB</table-name>
-          <cmp-field-mapping>
-            <cmp-field-name>address</cmp-field-name>
-            <table-column>address</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>passwd</cmp-field-name>
-            <table-column>passwd</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>userID</cmp-field-name>
-            <table-column>userID</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>email</cmp-field-name>
-            <table-column>email</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>creditCard</cmp-field-name>
-            <table-column>creditCard</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>fullName</cmp-field-name>
-            <table-column>fullName</table-column>
-          </cmp-field-mapping>
-        </entity>
-        <!---->
-        <entity>
-          <ejb-name>QuoteEJB</ejb-name>
-          <table-name>QuoteEJB</table-name>
-          <cmp-field-mapping>
-            <cmp-field-name>low</cmp-field-name>
-            <table-column>low</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>open</cmp-field-name>
-            <table-column>open1</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>volume</cmp-field-name>
-            <table-column>volume</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>price</cmp-field-name>
-            <table-column>price</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>high</cmp-field-name>
-            <table-column>high</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>companyName</cmp-field-name>
-            <table-column>companyName</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>symbol</cmp-field-name>
-            <table-column>symbol</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>change</cmp-field-name>
-            <table-column>change1</table-column>
-          </cmp-field-mapping>
-        </entity>
-        <!---->
-        <entity>
-          <ejb-name>KeyGenEJB</ejb-name>
-          <table-name>KeyGenEJB</table-name>
-          <cmp-field-mapping>
-            <cmp-field-name>keyVal</cmp-field-name>
-            <table-column>keyVal</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>keyName</cmp-field-name>
-            <table-column>keyName</table-column>
-          </cmp-field-mapping>
-        </entity>
-        <!---->
-        <entity>
-          <ejb-name>AccountEJB</ejb-name>
-          <table-name>AccountEJB</table-name>
-          <cmp-field-mapping>
-            <cmp-field-name>creationDate</cmp-field-name>
-            <table-column>creationDate</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>openBalance</cmp-field-name>
-            <table-column>openBalance</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>logoutCount</cmp-field-name>
-            <table-column>logoutCount</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>balance</cmp-field-name>
-            <table-column>balance</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>accountID</cmp-field-name>
-            <table-column>accountID</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>lastLogin</cmp-field-name>
-            <table-column>lastLogin</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>loginCount</cmp-field-name>
-            <table-column>loginCount</table-column>
-          </cmp-field-mapping>
-        </entity>
-        <!---->
-        <entity>
-          <ejb-name>OrderEJB</ejb-name>
-          <table-name>OrderEJB</table-name>
-          <cmp-field-mapping>
-            <cmp-field-name>orderFee</cmp-field-name>
-            <table-column>orderFee</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>completionDate</cmp-field-name>
-            <table-column>completionDate</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>orderType</cmp-field-name>
-            <table-column>orderType</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>orderStatus</cmp-field-name>
-            <table-column>orderStatus</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>price</cmp-field-name>
-            <table-column>price</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>quantity</cmp-field-name>
-            <table-column>quantity</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>openDate</cmp-field-name>
-            <table-column>openDate</table-column>
-          </cmp-field-mapping>
-          <cmp-field-mapping>
-            <cmp-field-name>orderID</cmp-field-name>
-            <table-column>orderID</table-column>
-          </cmp-field-mapping>
-        </entity>
-        <message-driven>
-          <ejb-name>TradeStreamerMDB</ejb-name>
-          <resource-adapter>
-            <!--<resource-link>TradeJMS</resource-link>-->
-            <resource-link>TradeJMSResources</resource-link>
-          </resource-adapter>
-          <activation-config>
-            <activation-config-property>
-              <activation-config-property-name>destinationType</activation-config-property-name>
-              <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-              <activation-config-property-name>destination</activation-config-property-name>
-              <activation-config-property-value>TradeStreamerQueue</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-              <activation-config-property-name>acknowledgeMode</activation-config-property-name>
-              <activation-config-property-value>Auto-acknowledge</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-              <activation-config-property-name>SubscriptionDurability</activation-config-property-name>
-              <activation-config-property-value>NonDurable</activation-config-property-value>
-            </activation-config-property>
-          </activation-config>
-        </message-driven>
-        <message-driven>
-          <ejb-name>TradeBrokerMDB</ejb-name>
-          <resource-adapter>
-            <!--<resource-link>TradeJMS</resource-link>-->
-            <resource-link>TradeJMSResources</resource-link>
-          </resource-adapter>
-          <activation-config>
-            <activation-config-property>
-              <activation-config-property-name>destinationType</activation-config-property-name>
-              <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-              <activation-config-property-name>destination</activation-config-property-name>
-              <activation-config-property-value>TradeBrokerQueue</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-              <activation-config-property-name>acknowledgeMode</activation-config-property-name>
-              <activation-config-property-value>Auto-acknowledge</activation-config-property-value>
-            </activation-config-property>
-            <activation-config-property>
-              <activation-config-property-name>SubscriptionDurability</activation-config-property-name>
-              <activation-config-property-value>NonDurable</activation-config-property-value>
-            </activation-config-property>
-          </activation-config>
-        </message-driven>
-      </enterprise-beans>
-      <!--**
-            ** R e l a t i o n s h i p s   D e f i n i t i o n s
-            **
-            **
-            ** The following section defines the relationshoips for the entity beans in the application.-->
-      <relationships>
-        <ejb-relation>
-          <ejb-relation-name>Account-Orders</ejb-relation-name>
-          <ejb-relationship-role>
-            <ejb-relationship-role-name>AccountEJB</ejb-relationship-role-name>
-            <relationship-role-source>
-              <ejb-name>AccountEJB</ejb-name>
-            </relationship-role-source>
-            <cmr-field>
-              <cmr-field-name>orders</cmr-field-name>
-            </cmr-field>
-            <role-mapping>
-              <cmr-field-mapping>
-                <key-column>accountID</key-column>
-                <foreign-key-column>account_accountID</foreign-key-column>
-              </cmr-field-mapping>
-            </role-mapping>
-          </ejb-relationship-role>
-        </ejb-relation>
-        <!--**
-                ** A c c o u n t   -   A c c o u n t P r o f i l e
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.-->
-        <ejb-relation>
-          <ejb-relation-name>Account-AccountProfile</ejb-relation-name>
-          <ejb-relationship-role>
-            <ejb-relationship-role-name>Account-Has-AccountProfile</ejb-relationship-role-name>
-            <relationship-role-source>
-              <ejb-name>AccountEJB</ejb-name>
-            </relationship-role-source>
-            <cmr-field>
-              <cmr-field-name>profile</cmr-field-name>
-            </cmr-field>
-            <foreign-key-column-on-source/>
-            <role-mapping>
-              <cmr-field-mapping>
-                <key-column>userID</key-column>
-                <foreign-key-column>profile_userID</foreign-key-column>
-              </cmr-field-mapping>
-            </role-mapping>
-          </ejb-relationship-role>
-        </ejb-relation>
-        <!--**
-                ** A c c o u n t   -   H o l d i n g s
-                **
-                **
-                **-->
-        <ejb-relation>
-          <ejb-relation-name>Account-Holdings</ejb-relation-name>
-          <ejb-relationship-role>
-            <ejb-relationship-role-name>AccountEJB</ejb-relationship-role-name>
-            <relationship-role-source>
-              <ejb-name>AccountEJB</ejb-name>
-            </relationship-role-source>
-            <cmr-field>
-              <cmr-field-name>holdings</cmr-field-name>
-            </cmr-field>
-            <role-mapping>
-              <cmr-field-mapping>
-                <key-column>accountID</key-column>
-                <foreign-key-column>account_accountID</foreign-key-column>
-              </cmr-field-mapping>
-            </role-mapping>
-          </ejb-relationship-role>
-        </ejb-relation>
-        <!--**
-                ** Q u o t e  -  H o l d i n g s
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.-->
-        <ejb-relation>
-          <ejb-relation-name>Quote-Holdings</ejb-relation-name>
-          <ejb-relationship-role>
-            <ejb-relationship-role-name>Holding-Has-Quote</ejb-relationship-role-name>
-            <relationship-role-source>
-              <ejb-name>HoldingEJB</ejb-name>
-            </relationship-role-source>
-            <cmr-field>
-              <cmr-field-name>quote</cmr-field-name>
-            </cmr-field>
-            <foreign-key-column-on-source/>
-            <role-mapping>
-              <cmr-field-mapping>
-                <key-column>symbol</key-column>
-                <foreign-key-column>quote_symbol</foreign-key-column>
-              </cmr-field-mapping>
-            </role-mapping>
-          </ejb-relationship-role>
-        </ejb-relation>
-        <!--**
-                ** Q u o t e   -   O r d e r s
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.-->
-        <ejb-relation>
-          <ejb-relation-name>Quote-Orders</ejb-relation-name>
-          <ejb-relationship-role>
-            <ejb-relationship-role-name>Order-Has-Quote</ejb-relationship-role-name>
-            <relationship-role-source>
-              <ejb-name>OrderEJB</ejb-name>
-            </relationship-role-source>
-            <cmr-field>
-              <cmr-field-name>quote</cmr-field-name>
-            </cmr-field>
-            <foreign-key-column-on-source/>
-            <role-mapping>
-              <cmr-field-mapping>
-                <key-column>symbol</key-column>
-                <foreign-key-column>quote_symbol</foreign-key-column>
-              </cmr-field-mapping>
-            </role-mapping>
-          </ejb-relationship-role>
-        </ejb-relation>
-        <!--**
-                ** O r d e r  -   H o l d i n g
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.-->
-        <ejb-relation>
-          <ejb-relation-name>Order-Holding</ejb-relation-name>
-          <ejb-relationship-role>
-            <ejb-relationship-role-name>Order-Has-Holding</ejb-relationship-role-name>
-            <relationship-role-source>
-              <ejb-name>OrderEJB</ejb-name>
-            </relationship-role-source>
-            <cmr-field>
-              <cmr-field-name>holding</cmr-field-name>
-            </cmr-field>
-            <foreign-key-column-on-source/>
-            <role-mapping>
-              <cmr-field-mapping>
-                <key-column>holdingID</key-column>
-                <foreign-key-column>holding_holdingID</foreign-key-column>
-              </cmr-field-mapping>
-            </role-mapping>
-          </ejb-relationship-role>
-        </ejb-relation>
-      </relationships>
-    </openejb-jar>
-  </module>
-  <module>
-    <java>streamer.jar</java>
-    <application-client xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1">
-      <client-environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
-        <moduleId>
-          <groupId>geronimo</groupId>
-          <artifactId>daytrader-derby-tomcat-streamer-client</artifactId>
-          <version>1.1-SNAPSHOT</version>
-          <type>car</type>
-        </moduleId>
-      </client-environment>
-      <server-environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
-        <moduleId>
-          <groupId>geronimo</groupId>
-          <artifactId>daytrader-derby-tomcat-streamer-client-server</artifactId>
-          <version>1.1-SNAPSHOT</version>
-          <type>car</type>
-        </moduleId>
-      </server-environment>
-      <resource>
-        <external-rar>geronimo/ge-activemq-rar/1.1-SNAPSHOT/rar</external-rar>
-        <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
-          <resourceadapter>
-            <resourceadapter-instance>
-              <resourceadapter-name>ActiveMQ RA</resourceadapter-name>
-              <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
-              <config-property-setting name="UserName">geronimo</config-property-setting>
-              <config-property-setting name="Password">geronimo</config-property-setting>
-              <workmanager>
-                <gbean-link>DefaultWorkManager</gbean-link>
-              </workmanager>
-            </resourceadapter-instance>
-            <outbound-resourceadapter>
-              <connection-definition>
-                <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
-                <connectiondefinition-instance>
-                  <name>jms/TopicConnectionFactory</name>
-                  <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
-                  <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
-                  <connectionmanager>
-                    <xa-transaction>
-                      <transaction-caching/>
-                    </xa-transaction>
-                    <single-pool>
-                      <max-size>10</max-size>
-                      <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                      <match-one/>
-                    </single-pool>
-                  </connectionmanager>
-                </connectiondefinition-instance>
-              </connection-definition>
-            </outbound-resourceadapter>
-          </resourceadapter>
-          <adminobject>
-            <adminobject-interface>javax.jms.Topic</adminobject-interface>
-            <adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
-            <adminobject-instance>
-              <message-destination-name>TradeStreamerTopic</message-destination-name>
-              <config-property-setting name="PhysicalName">TradeStreamerTopic</config-property-setting>
-            </adminobject-instance>
-          </adminobject>
-        </connector>
-      </resource>
-    </application-client>
-  </module>
-  <ext-module>
-    <connector>TradeDataSource</connector>
-    <external-path>tranql/tranql-connector-db2-embed-xa/1.0-SNAPSHOT/rar</external-path>
-    <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
-      <resourceadapter>
-        <outbound-resourceadapter>
-          <connection-definition>
-            <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
-            <connectiondefinition-instance>
-              <name>jdbc/TradeDataSource</name>
-              <config-property-setting name="UserName">db2inst1</config-property-setting>
-              <config-property-setting name="Password">schildkr0te</config-property-setting>
-              <config-property-setting name="DatabaseName">tradedb</config-property-setting>
-              <config-property-setting name="ServerName">pestilence-a</config-property-setting>
-              <config-property-setting name="PortNumber">50001</config-property-setting>
-              <config-property-setting name="DriverType">4</config-property-setting>
-              <config-property-setting name="PreparedStatementCacheSize">50</config-property-setting>
-              <connectionmanager>
-                <xa-transaction>
-                  <transaction-caching/>
-                </xa-transaction>
-                <single-pool>
-                  <max-size>60</max-size>
-                  <min-size>0</min-size>
-                  <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                  <idle-timeout-minutes>30</idle-timeout-minutes>
-                  <match-one/>
-                </single-pool>
-              </connectionmanager>
-            </connectiondefinition-instance>
-          </connection-definition>
-        </outbound-resourceadapter>
-      </resourceadapter>
-    </connector>
-  </ext-module>
-  <ext-module>
-    <connector>TradeJMS</connector>
-    <external-path>geronimo/ge-activemq-rar/1.1-SNAPSHOT/rar</external-path>
-    <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
-      <resourceadapter>
-        <!--how to connect to the JMS Server-->
-        <resourceadapter-instance>
-          <resourceadapter-name>TradeJMSResources</resourceadapter-name>
-          <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
-          <config-property-setting name="UserName">not needed</config-property-setting>
-          <config-property-setting name="Password">not needed</config-property-setting>
-          <workmanager>
-            <gbean-link>DefaultWorkManager</gbean-link>
-          </workmanager>
-        </resourceadapter-instance>
-        <!--defines a ConnectionFactory-->
-        <outbound-resourceadapter>
-          <connection-definition>
-            <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
-            <connectiondefinition-instance>
-              <name>jms/QueueConnectionFactory</name>
-              <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
-              <connectionmanager>
-                <xa-transaction>
-                  <transaction-caching/>
-                </xa-transaction>
-                <single-pool>
-                  <max-size>10</max-size>
-                  <min-size>0</min-size>
-                  <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                  <idle-timeout-minutes>0</idle-timeout-minutes>
-                  <match-one/>
-                </single-pool>
-              </connectionmanager>
-            </connectiondefinition-instance>
-          </connection-definition>
-          <connection-definition>
-            <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
-            <connectiondefinition-instance>
-              <name>jms/TopicConnectionFactory</name>
-              <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
-              <connectionmanager>
-                <xa-transaction>
-                  <transaction-caching/>
-                </xa-transaction>
-                <single-pool>
-                  <max-size>10</max-size>
-                  <min-size>0</min-size>
-                  <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                  <idle-timeout-minutes>0</idle-timeout-minutes>
-                  <match-one/>
-                </single-pool>
-              </connectionmanager>
-            </connectiondefinition-instance>
-          </connection-definition>
-        </outbound-resourceadapter>
-      </resourceadapter>
-      <adminobject>
-        <adminobject-interface>javax.jms.Topic</adminobject-interface>
-        <adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
-        <adminobject-instance>
-          <message-destination-name>TradeStreamerTopic</message-destination-name>
-          <config-property-setting name="PhysicalName">TradeStreamerTopic</config-property-setting>
-        </adminobject-instance>
-      </adminobject>
-      <adminobject>
-        <adminobject-interface>javax.jms.Queue</adminobject-interface>
-        <adminobject-class>org.activemq.message.ActiveMQQueue</adminobject-class>
-        <adminobject-instance>
-          <message-destination-name>TradeBrokerQueue</message-destination-name>
-          <config-property-setting name="PhysicalName">TradeBrokerQueue</config-property-setting>
-        </adminobject-instance>
-      </adminobject>
-    </connector>
-  </ext-module>
-</application>

Modified: geronimo/daytrader/trunk/plans/dayTrader-plan.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plans/dayTrader-plan.xml?view=diff&rev=482373&r1=482372&r2=482373
==============================================================================
--- geronimo/daytrader/trunk/plans/dayTrader-plan.xml (original)
+++ geronimo/daytrader/trunk/plans/dayTrader-plan.xml Mon Dec  4 13:39:59 2006
@@ -1,641 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
-    configId="Trade">
-
-    <module>
-        <web>daytrader-web-1.1-SNAPSHOT.war</web>
-        <web-app xmlns="http://geronimo.apache.org/xml/ns/web"
-            configId="Web" parentId="Trade">
-            <context-priority-classloader>false</context-priority-classloader>
-            <service-ref>
-                <service-ref-name>service/Trade</service-ref-name>
-                <port>
-                    <port-name>TradeWSServices</port-name>
-                    <protocol>http</protocol>
-                    <host>localhost</host>
-                    <port>8080</port>
-                    <uri>/daytrader/services/TradeWSServices</uri>
-                </port>
-            </service-ref>
-        </web-app>
-    </module>
-
-
-
-    <!--
-    ##
-    ##  T r a d e E J B . j a r
-    ##  Module Definition
-    ##
-    ##
-    -->
-    <module>
-        <ejb>daytrader-ejb-1.1-SNAPSHOT.jar</ejb>     <!--  Note this must match the -->
-        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar"
-                     configId="TradeEJBs"
-                     parentId="Web">
-
-
-            <!--
-            ##
-            ##  C o n n e c t i o n  F a c t o r y  D e f i n i t i o n
-            ##
-            ##
-            ##
-            -->
-            <cmp-connection-factory>
-                <resource-link>jdbc/TradeDataSource</resource-link>
-            </cmp-connection-factory>
-
-<!--  For DB2 database users uncomment the following line.
-            <ejb-ql-compiler-factory>org.tranql.ejbqlcompiler.DB2EJBQLCompilerFactory</ejb-ql-compiler-factory>
-            <db-syntax-factory>org.tranql.sql.db2.DB2DBSyntaxFactory</db-syntax-factory>
--->
-
-<!--  For Oracle database users uncomment the following line.
-            <ejb-ql-compiler-factory>org.tranql.ejbqlcompiler.OracleQLCompilerFactory</ejb-ql-compiler-factory>
-            <db-syntax-factory>org.tranql.sql.oracle.OracleDBSyntaxFactory</db-syntax-factory>
--->
-
-            <enterprise-beans>
-                <session>
-                    <ejb-name>TradeEJB</ejb-name>
-                    <jndi-name>ejb/TradeEJB</jndi-name>
-                </session>
-                <session>
-                    <ejb-name>KeySequenceEJB</ejb-name>
-                    <jndi-name>ejb/KeySequenceEJB</jndi-name>
-                </session>
-
-
-                <!--
-                ##
-                ##  H o l d i n g E J B
-                ##
-                ##
-                ##
-                -->
-                <entity>
-                    <ejb-name>HoldingEJB</ejb-name>
-                    <table-name>HOLDINGEJB</table-name>
-                    <cmp-field-mapping>
-                        <cmp-field-name>purchasePrice</cmp-field-name>
-                        <table-column>purchasePrice</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>holdingID</cmp-field-name>
-                        <table-column>holdingID</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>quantity</cmp-field-name>
-                        <table-column>quantity</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>purchaseDate</cmp-field-name>
-                        <table-column>purchaseDate</table-column>
-                    </cmp-field-mapping>
-                </entity>
-
-
-                <!--
-                ##
-                ##  A c c o u n t P r o f i l e E J B
-                ##
-                ##
-                ##
-                -->
-                <entity>
-                    <ejb-name>AccountProfileEJB</ejb-name>
-                    <table-name>AccountProfileEJB</table-name>
-                    <cmp-field-mapping>
-                        <cmp-field-name>address</cmp-field-name>
-                        <table-column>address</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>passwd</cmp-field-name>
-                        <table-column>passwd</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>userID</cmp-field-name>
-                        <table-column>userID</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>email</cmp-field-name>
-                        <table-column>email</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>creditCard</cmp-field-name>
-                        <table-column>creditCard</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>fullName</cmp-field-name>
-                        <table-column>fullName</table-column>
-                    </cmp-field-mapping>
-                </entity>
-
-
-                <!--
-                ##
-                ##  Q u o t e E J B
-                ##
-                ##
-                ##
-                -->
-                <entity>
-                    <ejb-name>QuoteEJB</ejb-name>
-                    <table-name>QuoteEJB</table-name>
-                    <cmp-field-mapping>
-                        <cmp-field-name>low</cmp-field-name>
-                        <table-column>low</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>open</cmp-field-name>
-                        <table-column>open1</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>volume</cmp-field-name>
-                        <table-column>volume</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>price</cmp-field-name>
-                        <table-column>price</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>high</cmp-field-name>
-                        <table-column>high</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>companyName</cmp-field-name>
-                        <table-column>companyName</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>symbol</cmp-field-name>
-                        <table-column>symbol</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>change</cmp-field-name>
-                        <table-column>change1</table-column>
-                    </cmp-field-mapping>
-                </entity>
-
-
-                <!--
-                ##
-                ##  K e y G e n E J B
-                ##
-                ##
-                ##
-                -->
-                <entity>
-                    <ejb-name>KeyGenEJB</ejb-name>
-                    <table-name>KeyGenEJB</table-name>
-                    <cmp-field-mapping>
-                        <cmp-field-name>keyVal</cmp-field-name>
-                        <table-column>keyVal</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>keyName</cmp-field-name>
-                        <table-column>keyName</table-column>
-                    </cmp-field-mapping>
-                </entity>
-
-
-                <!--
-                ##
-                ##  A c c o u n t E J B
-                ##
-                ##
-                ##
-                -->
-                <entity>
-                    <ejb-name>AccountEJB</ejb-name>
-                    <table-name>AccountEJB</table-name>
-                    <cmp-field-mapping>
-                        <cmp-field-name>creationDate</cmp-field-name>
-                        <table-column>creationDate</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>openBalance</cmp-field-name>
-                        <table-column>openBalance</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>logoutCount</cmp-field-name>
-                        <table-column>logoutCount</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>balance</cmp-field-name>
-                        <table-column>balance</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>accountID</cmp-field-name>
-                        <table-column>accountID</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>lastLogin</cmp-field-name>
-                        <table-column>lastLogin</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>loginCount</cmp-field-name>
-                        <table-column>loginCount</table-column>
-                    </cmp-field-mapping>
-                </entity>
-
-
-                <!--
-                ##
-                ##  O r d e r E J B
-                ##
-                ##
-                ##
-                -->
-                <entity>
-                    <ejb-name>OrderEJB</ejb-name>
-                    <table-name>OrderEJB</table-name>
-                    <cmp-field-mapping>
-                        <cmp-field-name>orderFee</cmp-field-name>
-                        <table-column>orderFee</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>completionDate</cmp-field-name>
-                        <table-column>completionDate</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>orderType</cmp-field-name>
-                        <table-column>orderType</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>orderStatus</cmp-field-name>
-                        <table-column>orderStatus</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>price</cmp-field-name>
-                        <table-column>price</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>quantity</cmp-field-name>
-                        <table-column>quantity</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>openDate</cmp-field-name>
-                        <table-column>openDate</table-column>
-                    </cmp-field-mapping>
-                    <cmp-field-mapping>
-                        <cmp-field-name>orderID</cmp-field-name>
-                        <table-column>orderID</table-column>
-                    </cmp-field-mapping>
-                </entity>
-
-
-
-
-
-                <message-driven>
-                    <ejb-name>TradeStreamerMDB</ejb-name>
-                    <resource-adapter>
-                        <resource-link>TradeJMSResources</resource-link>
-                    </resource-adapter>
-                    <activation-config>
-                        <activation-config-property>
-                            <activation-config-property-name>destinationType</activation-config-property-name>
-                            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-                        </activation-config-property>
-                        <activation-config-property>
-                            <activation-config-property-name>destination</activation-config-property-name>
-                            <activation-config-property-value>TradeStreamerQueue</activation-config-property-value>
-                        </activation-config-property>
-                        <activation-config-property>
-                            <activation-config-property-name>acknowledgeMode</activation-config-property-name>
-                            <activation-config-property-value>Auto-acknowledge</activation-config-property-value>
-                        </activation-config-property>
-                        <activation-config-property>
-                            <activation-config-property-name>SubscriptionDurability</activation-config-property-name>
-                            <activation-config-property-value>NonDurable</activation-config-property-value>
-                        </activation-config-property>
-                    </activation-config>
-                </message-driven>
-
-                <message-driven>
-                    <ejb-name>TradeBrokerMDB</ejb-name>
-                    <resource-adapter>
-                        <resource-link>TradeJMSResources</resource-link>
-                    </resource-adapter>
-                    <activation-config>
-                        <activation-config-property>
-                            <activation-config-property-name>destinationType</activation-config-property-name>
-                            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
-                        </activation-config-property>
-                        <activation-config-property>
-                            <activation-config-property-name>destination</activation-config-property-name>
-                            <activation-config-property-value>TradeBrokerQueue</activation-config-property-value>
-                        </activation-config-property>
-                        <activation-config-property>
-                            <activation-config-property-name>acknowledgeMode</activation-config-property-name>
-                            <activation-config-property-value>Auto-acknowledge</activation-config-property-value>
-                        </activation-config-property>
-                        <activation-config-property>
-                            <activation-config-property-name>SubscriptionDurability</activation-config-property-name>
-                            <activation-config-property-value>NonDurable</activation-config-property-value>
-                        </activation-config-property>
-                    </activation-config>
-                </message-driven>
-            </enterprise-beans>
-
-            <!--
-            **
-            ** R e l a t i o n s h i p s   D e f i n i t i o n s
-            **
-            **
-            ** The following section defines the relationshoips for the entity beans in the application.
-            -->
-            <relationships>
-                <ejb-relation>
-                    <ejb-relation-name>Account-Orders</ejb-relation-name>
-                    <ejb-relationship-role>
-                        <ejb-relationship-role-name>AccountEJB</ejb-relationship-role-name>
-                        <relationship-role-source>
-                            <ejb-name>AccountEJB</ejb-name>
-                        </relationship-role-source>
-                        <cmr-field>
-                            <cmr-field-name>orders</cmr-field-name>
-                        </cmr-field>
-                        <role-mapping>
-                            <cmr-field-mapping>
-                                <key-column>accountID</key-column>
-                                <foreign-key-column>account_accountID</foreign-key-column>
-                            </cmr-field-mapping>
-                        </role-mapping>
-                    </ejb-relationship-role>
-                </ejb-relation>
-
-
-                <!--
-                **
-                ** A c c o u n t   -   A c c o u n t P r o f i l e
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.
-                -->
-                <ejb-relation>
-                    <ejb-relation-name>Account-AccountProfile</ejb-relation-name>
-                    <ejb-relationship-role>
-                        <ejb-relationship-role-name>Account-Has-AccountProfile</ejb-relationship-role-name>
-                        <relationship-role-source>
-                            <ejb-name>AccountEJB</ejb-name>
-                        </relationship-role-source>
-                        <cmr-field>
-                            <cmr-field-name>profile</cmr-field-name>
-                        </cmr-field>
-                        <foreign-key-column-on-source/>
-                        <role-mapping>
-                            <cmr-field-mapping>
-                                <key-column>userID</key-column>
-                                <foreign-key-column>profile_userID</foreign-key-column>
-                            </cmr-field-mapping>
-                        </role-mapping>
-                    </ejb-relationship-role>
-                </ejb-relation>
-
-
-                <!--
-                **
-                ** A c c o u n t   -   H o l d i n g s
-                **
-                **
-                **
-                -->
-                <ejb-relation>
-                    <ejb-relation-name>Account-Holdings</ejb-relation-name>
-                    <ejb-relationship-role>
-                        <ejb-relationship-role-name>AccountEJB</ejb-relationship-role-name>
-                        <relationship-role-source>
-                            <ejb-name>AccountEJB</ejb-name>
-                        </relationship-role-source>
-                        <cmr-field>
-                            <cmr-field-name>holdings</cmr-field-name>
-                        </cmr-field>
-                        <role-mapping>
-                            <cmr-field-mapping>
-                                <key-column>accountID</key-column>
-                                <foreign-key-column>account_accountID</foreign-key-column>
-                            </cmr-field-mapping>
-                        </role-mapping>
-                    </ejb-relationship-role>
-                </ejb-relation>
-
-
-                <!--
-                **
-                ** Q u o t e  -  H o l d i n g s
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.
-                -->
-                <ejb-relation>
-                    <ejb-relation-name>Quote-Holdings</ejb-relation-name>
-                    <ejb-relationship-role>
-                        <ejb-relationship-role-name>Holding-Has-Quote</ejb-relationship-role-name>
-                        <relationship-role-source>
-                            <ejb-name>HoldingEJB</ejb-name>
-                        </relationship-role-source>
-                        <cmr-field>
-                            <cmr-field-name>quote</cmr-field-name>
-                        </cmr-field>
-                        <foreign-key-column-on-source/>
-                        <role-mapping>
-                            <cmr-field-mapping>
-                                <key-column>symbol</key-column>
-                                <foreign-key-column>quote_symbol</foreign-key-column>
-                            </cmr-field-mapping>
-                        </role-mapping>
-                    </ejb-relationship-role>
-                </ejb-relation>
-
-
-                <!--
-                **
-                ** Q u o t e   -   O r d e r s
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.
-                -->
-                <ejb-relation>
-                    <ejb-relation-name>Quote-Orders</ejb-relation-name>
-                    <ejb-relationship-role>
-                        <ejb-relationship-role-name>Order-Has-Quote</ejb-relationship-role-name>
-                        <relationship-role-source>
-                            <ejb-name>OrderEJB</ejb-name>
-                        </relationship-role-source>
-                        <cmr-field>
-                            <cmr-field-name>quote</cmr-field-name>
-                        </cmr-field>
-                        <foreign-key-column-on-source/>
-                        <role-mapping>
-                            <cmr-field-mapping>
-                                <key-column>symbol</key-column>
-                                <foreign-key-column>quote_symbol</foreign-key-column>
-                            </cmr-field-mapping>
-                        </role-mapping>
-                    </ejb-relationship-role>
-                </ejb-relation>
-
-
-                <!--
-                **
-                ** O r d e r  -   H o l d i n g
-                **
-                **
-                ** The following section defines the relationships for the entity beans in the application.
-                -->
-                <ejb-relation>
-                    <ejb-relation-name>Order-Holding</ejb-relation-name>
-                    <ejb-relationship-role>
-                        <ejb-relationship-role-name>Order-Has-Holding</ejb-relationship-role-name>
-                        <relationship-role-source>
-                            <ejb-name>OrderEJB</ejb-name>
-                        </relationship-role-source>
-                        <cmr-field>
-                            <cmr-field-name>holding</cmr-field-name>
-                        </cmr-field>
-                        <foreign-key-column-on-source/>
-                        <role-mapping>
-                            <cmr-field-mapping>
-                                <key-column>holdingID</key-column>
-                                <foreign-key-column>holding_holdingID</foreign-key-column>
-                            </cmr-field-mapping>
-                        </role-mapping>
-                    </ejb-relationship-role>
-                </ejb-relation>
-            </relationships>
-        </openejb-jar>
-    </module>
-
-    <ext-module>
-        <connector>TradeDataSource</connector>
-        <external-path>tranql/tranql-connector-derby-embed-xa/1.1/rar</external-path>
-        <connector
-            xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
-            configId="TradeDataSource"
-            parentId="org/apache/geronimo/Server">
-
-
-            <dependency>
-                <uri>org.apache.derby/derby/10.1.1.0/jar</uri>
-            </dependency>
-            <dependency>
-                <uri>org.apache.derby/derbynet/10.1.1.0/jar</uri>
-            </dependency>
-
-            <resourceadapter>
-                <outbound-resourceadapter>
-                    <connection-definition>
-                        <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
-                        <connectiondefinition-instance>
-                            <name>jdbc/TradeDataSource</name>
-                            <config-property-setting name="UserName"></config-property-setting>
-                            <config-property-setting name="Password"></config-property-setting>
-                            <config-property-setting name="DatabaseName">daytrader</config-property-setting>
-                            <config-property-setting name="CreateDatabase">true</config-property-setting>
-                            <connectionmanager>
-                                <xa-transaction>
-                                    <transaction-caching/>
-                                </xa-transaction>
-                                <single-pool>
-                                    <max-size>10</max-size>
-                                    <min-size>0</min-size>
-                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                                    <idle-timeout-minutes>30</idle-timeout-minutes>
-                                    <match-one/>
-                                </single-pool>
-                            </connectionmanager>
-                        </connectiondefinition-instance>
-                    </connection-definition>
-                </outbound-resourceadapter>
-            </resourceadapter>
-        </connector>
-    </ext-module>
-
-
-    <ext-module>
-        <connector>TradeJMS</connector>
-        <!-- $MRH --> <external-path>activemq/activemq-ra/3.2.1/rar</external-path>
-        <connector
-            xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
-            xmlns:naming="http://geronimo.apache.org/xml/ns/naming"
-            configId="TradeJMS"
-            parentId="TradeDataSource">
-
-            <resourceadapter>
-                <!-- how to connect to the JMS Server -->
-                <resourceadapter-instance>
-                    <resourceadapter-name>TradeJMSResources</resourceadapter-name>
-                    <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
-                    <config-property-setting name="UserName">not needed</config-property-setting>
-                    <config-property-setting name="Password">not needed</config-property-setting>
-                    <workmanager>
-                        <gbean-link>DefaultWorkManager</gbean-link>
-                    </workmanager>
-                </resourceadapter-instance>
-                <!-- defines a ConnectionFactory -->
-                <outbound-resourceadapter>
-                  <connection-definition>
-                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
-                        <connectiondefinition-instance>
-                            <name>jms/QueueConnectionFactory</name>
-                            <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
-                            <connectionmanager>
-                                <xa-transaction>
-                                    <transaction-caching/>
-                                </xa-transaction>
-                                <single-pool>
-                                    <max-size>10</max-size>
-                                    <min-size>0</min-size>
-                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                                    <idle-timeout-minutes>0</idle-timeout-minutes>
-                                    <match-one/>
-                                </single-pool>
-                            </connectionmanager>
-                        </connectiondefinition-instance>
-                    </connection-definition> 
-                    <connection-definition>
-                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
-                        <connectiondefinition-instance>
-                            <name>jms/TopicConnectionFactory</name>
-                            <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
-                            <connectionmanager>
-                                <xa-transaction>
-                                    <transaction-caching/>
-                                </xa-transaction>
-                                <single-pool>
-                                    <max-size>10</max-size>
-                                    <min-size>0</min-size>
-                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                                    <idle-timeout-minutes>0</idle-timeout-minutes>
-                                    <match-one/>
-                                </single-pool>
-                            </connectionmanager>
-                        </connectiondefinition-instance>
-                    </connection-definition>  
-                </outbound-resourceadapter>
-            </resourceadapter>
-
-            <adminobject>
-                <adminobject-interface>javax.jms.Topic</adminobject-interface>
-                <adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
-                <adminobject-instance>
-                    <message-destination-name>TradeStreamerTopic</message-destination-name>
-                    <config-property-setting name="PhysicalName">TradeStreamerTopic</config-property-setting>
-                </adminobject-instance>
-            </adminobject>
-
-            <adminobject>
-                <adminobject-interface>javax.jms.Queue</adminobject-interface>
-                <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
-                <adminobject-instance>
-                    <message-destination-name>TradeBrokerQueue</message-destination-name>
-                    <config-property-setting name="PhysicalName">TradeBrokerQueue</config-property-setting>
-                </adminobject-instance>
-            </adminobject>
-
-        </connector>
-    </ext-module>
-</application>

Modified: geronimo/daytrader/trunk/plans/db2-resource-plan.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plans/db2-resource-plan.xml?view=diff&rev=482373&r1=482372&r2=482373
==============================================================================
--- geronimo/daytrader/trunk/plans/db2-resource-plan.xml (original)
+++ geronimo/daytrader/trunk/plans/db2-resource-plan.xml Mon Dec  4 13:39:59 2006
@@ -1,60 +0,0 @@
-<connector
-xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
-configId="TradeDataSource"
-parentId="org/apache/geronimo/Server">
-
-<dependency>
-  <uri>db2/jars/db2jcc.jar</uri>
-</dependency>
-<dependency>
-  <uri>db2/jars/db2jcc_license_cu.jar</uri>
-</dependency>
-
-
-<resourceadapter>
-  <outbound-resourceadapter>
-    <connection-definition>
-    <connectionfactory-interface>
-      javax.sql.DataSource
-    </connectionfactory-interface>
-  <connectiondefinition-instance>
-    <name>jdbc/TradeDataSource</name>
-    <config-property-setting name="UserName">
-       db2inst1
-    </config-property-setting>
-    <config-property-setting name="Password">
-       yourCoolPasswordHere
-     </config-property-setting>
-     <config-property-setting name="Driver">
-          com.ibm.db2.jcc.DB2Driver 
-   </config-property-setting>
-    <config-property-setting name="ConnectionURL">
-           jdbc:db2://localhost:50000/tradedb
-     </config-property-setting>
-      <config-property-setting name="CommitBeforeAutocommit">
-              true
-     </config-property-setting>
-    <config-property-setting name="ExceptionSorterClass">
-                  org.tranql.connector.NoExceptionsAreFatalSorter
-   </config-property-setting>
-   <connectionmanager>
-  <local-transaction/>
-  <single-pool>
-     <max-size>10</max-size>
-     <min-size>0</min-size>
-   <blocking-timeout-milliseconds>
-    5000
-   </blocking-timeout-milliseconds>
-    <idle-timeout-minutes>30</idle-timeout-minutes>
-   <match-one/>
-    </single-pool>
-   </connectionmanager>
-   <global-jndi-name>
-   </global-jndi-name>
-</connectiondefinition-instance>
-</connection-definition>
-</outbound-resourceadapter>
-</resourceadapter>
-</connector>
-
-	

Modified: geronimo/daytrader/trunk/plans/jms-resource-plan.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plans/jms-resource-plan.xml?view=diff&rev=482373&r1=482372&r2=482373
==============================================================================
--- geronimo/daytrader/trunk/plans/jms-resource-plan.xml (original)
+++ geronimo/daytrader/trunk/plans/jms-resource-plan.xml Mon Dec  4 13:39:59 2006
@@ -1,96 +0,0 @@
-<connector
-    xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
-    xmlns:naming="http://geronimo.apache.org/xml/ns/naming"
-    configId="TradeJMS"
-    parentId="TradeDataSource">
-
-    <resourceadapter>
-        <!-- how to connect to the JMS Server -->
-        <resourceadapter-instance>
-            <resourceadapter-name>TradeJMSResources</resourceadapter-name>
-            <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
-            <config-property-setting name="UserName">not needed</config-property-setting>
-            <config-property-setting name="Password">not needed</config-property-setting>
-            <workmanager>
-                <gbean-link>DefaultWorkManager</gbean-link>
-            </workmanager>
-        </resourceadapter-instance>
-        <!-- defines a ConnectionFactory -->
-        <outbound-resourceadapter>
-            <connection-definition>
-                <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
-                <connectiondefinition-instance>
-                    <name>jms/QueueConnectionFactory</name>
-                    <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
-                    <connectionmanager>
-                        <xa-transaction>
-                            <transaction-caching />
-                        </xa-transaction>
-                        <single-pool>
-                            <max-size>10</max-size>
-                            <min-size>0</min-size>
-                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                            <idle-timeout-minutes>0</idle-timeout-minutes>
-                            <match-one/>
-                        </single-pool>
-                    </connectionmanager>
-                </connectiondefinition-instance>
-            </connection-definition>
-            <connection-definition>
-                <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
-                <connectiondefinition-instance>
-                    <name>jms/TopicConnectionFactory</name>
-                    <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
-                    <connectionmanager>
-                        <xa-transaction>
-                            <transaction-caching />
-                        </xa-transaction>
-                        <single-pool>
-                            <max-size>10</max-size>
-                            <min-size>0</min-size>
-                            <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
-                            <idle-timeout-minutes>0</idle-timeout-minutes>
-                            <match-one/>
-                        </single-pool>
-                    </connectionmanager>
-                </connectiondefinition-instance>
-            </connection-definition>
-        </outbound-resourceadapter>
-    </resourceadapter>
-
-    <adminobject>
-        <adminobject-interface>javax.jms.Topic</adminobject-interface>
-        <adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
-        <adminobject-instance>
-            <message-destination-name>TradeStreamerTopic</message-destination-name>
-            <config-property-setting name="PhysicalName">TradeStreamerTopic</config-property-setting>
-        </adminobject-instance>
-    </adminobject>
-
-    <adminobject>
-        <adminobject-interface>javax.jms.Queue</adminobject-interface>
-        <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
-        <adminobject-instance>
-            <message-destination-name>TradeStreamerQueue</message-destination-name>
-            <config-property-setting name="PhysicalName">TradeStreamerQueue</config-property-setting>
-        </adminobject-instance>
-    </adminobject>
-
-    <adminobject>
-        <adminobject-interface>javax.jms.Topic</adminobject-interface>
-        <adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
-        <adminobject-instance>
-            <message-destination-name>TradeBrokerTopic</message-destination-name>
-            <config-property-setting name="PhysicalName">TradeBrokerTopic</config-property-setting>
-        </adminobject-instance>
-    </adminobject>
-
-    <adminobject>
-        <adminobject-interface>javax.jms.Queue</adminobject-interface>
-        <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
-        <adminobject-instance>
-            <message-destination-name>TradeBrokerQueue</message-destination-name>
-            <config-property-setting name="PhysicalName">TradeBrokerQueue</config-property-setting>
-        </adminobject-instance>
-    </adminobject>
-</connector>



Mime
View raw message