geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r355772 - in /geronimo/trunk/sandbox/adventurebuilder: ./ src/plan/
Date Sat, 10 Dec 2005 19:57:48 GMT
Author: jlaskowski
Date: Sat Dec 10 11:57:29 2005
New Revision: 355772

URL: http://svn.apache.org/viewcvs?rev=355772&view=rev
Log:
 o Patch from Jakob Faerch with additional plans. Thanks Jakob!
 o svn propset -R svn:keywords 'Rev Date' .

Added:
    geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml   (with
props)
    geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml   (with props)
    geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml   (with
props)
Modified:
    geronimo/trunk/sandbox/adventurebuilder/maven.xml
    geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.1-security-plan.xml
    geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml
    geronimo/trunk/sandbox/adventurebuilder/src/plan/consumerwebsite1.0.1.ear-plan.xml
    geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml

Modified: geronimo/trunk/sandbox/adventurebuilder/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/maven.xml?rev=355772&r1=355771&r2=355772&view=diff
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/maven.xml (original)
+++ geronimo/trunk/sandbox/adventurebuilder/maven.xml Sat Dec 10 11:57:29 2005
@@ -102,6 +102,33 @@
             <ant:arg value="${ab.home}/opc.ear"/>
         </ant:java>
 
+        <ant:echo>Distributing Adventure Builder Airline Supplier Application</ant:echo>
+        <ant:java fork="true" jar="${instDir}/bin/deployer.jar" failonerror="true">
+            <ant:jvmarg value="-ea"/>
+            <ant:arg value="--offline"/>
+            <ant:arg value="distribute"/>
+            <ant:arg value="${maven.build.dir}/plan/airlinesupplier1.0.3.ear-plan.xml"/>
+            <ant:arg value="${ab.home}/airlinesupplier.ear"/>
+        </ant:java>
+
+        <ant:echo>Distributing Adventure Builder Bank Application</ant:echo>
+        <ant:java fork="true" jar="${instDir}/bin/deployer.jar" failonerror="true">
+            <ant:jvmarg value="-ea"/>
+            <ant:arg value="--offline"/>
+            <ant:arg value="distribute"/>
+            <ant:arg value="${maven.build.dir}/plan/bank1.0.3.ear-plan.xml"/>
+            <ant:arg value="${ab.home}/bank.ear"/>
+        </ant:java>
+
+        <ant:echo>Distributing Adventure Lodging Supplier Application</ant:echo>
+        <ant:java fork="true" jar="${instDir}/bin/deployer.jar" failonerror="true">
+            <ant:jvmarg value="-ea"/>
+            <ant:arg value="--offline"/>
+            <ant:arg value="distribute"/>
+            <ant:arg value="${maven.build.dir}/plan/lodgingsupplier1.0.3.ear-plan.xml"/>
+            <ant:arg value="${ab.home}/lodgingsupplier.ear"/>
+        </ant:java>
+
         <ant:echo>Creating Adventure Builder Database Schema</ant:echo>
         <j:invokeStatic className="java.lang.System" method="setProperty">
             <j:arg type="java.lang.String" value="derby.system.home"/>
@@ -120,7 +147,7 @@
         <deploy:startRemoteServer
             geronimoTarget="${instDir}"
             debugPort="8000"
-	    configs="org/apache/geronimo/AdventureBuilder1.0.1 org/apache/geronimo/ActivitySupplier1.0.3
org/apache/geronimo/OPC1.0.3 org/apache/geronimo/RuntimeDeployer"/>
+            configs="geronimo/console-jetty/1.0-SNAPSHOT/car geronimo/debug-console/1.0-SNAPSHOT/car
geronimo/runtime-deployer/1.0-SNAPSHOT/car  geronimo/uddi-jetty/1.0-SNAPSHOT/car geronimo/jetty-runtime-deployer/1.0-SNAPSHOT/car
org/apache/geronimo/Adventure1.0.1 org/apache/geronimo/AirlineSupplier1.0.3 org/apache/geronimo/ActivitySupplier1.0.3
org/apache/geronimo/Bank1.0.3 org/apache/geronimo/LodgingSupplier1.0.3 org/apache/geronimo/OPC1.0.3"/>
         <ant:echo message="Waiting for server at: ${instDir}"/>
         <deploy:waitForStarted
             uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
@@ -131,13 +158,28 @@
             uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
             username="system"
             password="manager"
+            id="org/apache/geronimo/AirlineSupplier1.0.3"/>
+        <deploy:waitForStarted
+            uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
             id="org/apache/geronimo/ActivitySupplier1.0.3"/>
         <deploy:waitForStarted
             uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
             username="system"
             password="manager"
+            id="org/apache/geronimo/Bank1.0.3"/>
+        <deploy:waitForStarted
+            uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            id="org/apache/geronimo/LodgingSupplier1.0.3"/>
+        <deploy:waitForStarted
+            uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
             id="org/apache/geronimo/OPC1.0.3"/>
-        <echo message="PetStore has started"/>
+        <echo message="Adventure Builder has started"/>
     </goal>
 
     <goal name="ab:stop" description="Stop Adventure Builder">
@@ -145,7 +187,7 @@
             uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
             username="system"
             password="manager"/>
-        <echo message="server has stopped"/>
+        <echo message="Adventure Builder has stopped"/>
     </goal>
 
 </project>

Modified: geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.1-security-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.1-security-plan.xml?rev=355772&r1=355771&r2=355772&view=diff
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.1-security-plan.xml (original)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.1-security-plan.xml Sat
Dec 10 11:57:29 2005
@@ -20,7 +20,7 @@
 
 <configuration
     xmlns="http://geronimo.apache.org/xml/ns/deployment"
-    parentId="org/apache/geronimo/Security"
+    parentId="geronimo/client-security/1.0-SNAPSHOT/car"
     configId="org/apache/geronimo/AdventureSecurity1.0.1"
     >
     <gbean name="adventure-realm"

Modified: geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml?rev=355772&r1=355771&r2=355772&view=diff
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml (original)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml Sat Dec
10 11:57:29 2005
@@ -19,7 +19,6 @@
 <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
     parentId="geronimo/system-jms/1.0-SNAPSHOT/car" 
     configId="org/apache/geronimo/AdventureBuilderJMS">
-
     <resourceadapter>
         <resourceadapter-instance>
           <resourceadapter-name>Adventure Builder JMS Resources</resourceadapter-name>
@@ -108,4 +107,20 @@
             <config-property-setting name="PhysicalName">jms/opc/WebServiceBrokerQueue</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>jms/airline/AirlineQueue</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/airline/AirlineQueue</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>jms/lodging/LodgingQueue</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/lodging/LodgingQueue</config-property-setting>
+        </adminobject-instance>
+    </adminobject>    
 </connector>

Added: geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml?rev=355772&view=auto
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml (added)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml Sat
Dec 10 11:57:29 2005
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 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$ $Date$ -->
+<application 
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application" 
+    parentId="org/apache/geronimo/AdventureDataSource1.0.1" 
+    configId="org/apache/geronimo/AirlineSupplier1.0.3">
+    <import>
+        <uri>org/apache/geronimo/AdventureBuilderJMS</uri>
+    </import>
+    <module>
+        <ejb>airlinesupplier-ejb.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" 
+            xmlns:naming="http://geronimo.apache.org/xml/ns/naming" 
+            xmlns:sys="http://geronimo.apache.org/xml/ns/deployment" 
+            configId="NOT_USED">
+            <cmp-connection-factory>
+                <resource-link>AdventureDataSource</resource-link>
+            </cmp-connection-factory>
+            <enterprise-beans>
+                <entity>
+                    <ejb-name>AirlineOrderBean</ejb-name>
+                    <jndi-name>AirlineOrderLocalHome</jndi-name>
+                    <table-name>AirlineOrder</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderId</cmp-field-name>
+                        <table-column>orderId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>depFlightId</cmp-field-name>
+                        <table-column>depFlightId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>depFlightDate</cmp-field-name>
+                        <table-column>depFlightDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>retFlightId</cmp-field-name>
+                        <table-column>retFlightId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>retFlightDate</cmp-field-name>
+                        <table-column>retFlightDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>headCount</cmp-field-name>
+                        <table-column>headCount</table-column>
+                    </cmp-field-mapping>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>MysqlDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <session>
+                    <ejb-name>AirlinePOEndpointBean</ejb-name>
+                    <jndi-name>AirlinePOEndpointBean</jndi-name>
+                    <resource-ref>
+                        <ref-name>jms/airline/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>
  
+                    </resource-ref>
+                    <naming:resource-env-ref>
+                        <naming:ref-name>jms/airline/AirlineQueue</naming:ref-name>
+                        <naming:message-destination-link>jms/airline/AirlineQueue</naming:message-destination-link>
  
+                    </naming:resource-env-ref>
+                </session>
+                <message-driven>
+                    <ejb-name>AirlineMessageEJB</ejb-name>
+                    <resource-adapter>
+                        <resource-link>Adventure Builder JMS Resources</resource-link>
+                    </resource-adapter>             
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>jms/airline/AirlineQueue</activation-config-property-value>
+                        </activation-config-property>
+                        <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>
+                    <naming:service-ref>
+                        <naming:service-ref-name>service/WebServiceBroker</naming:service-ref-name>
+                        <naming:port>
+                            <naming:port-name>BrokerServiceIntfPort</naming:port-name>
+                            <naming:protocol>http</naming:protocol>
+                            <naming:host>localhost</naming:host>
+                            <naming:port>8080</naming:port>
+                            <naming:uri>/activity/foo/as</naming:uri>
+                        </naming:port>
+                    </naming:service-ref>
+                </message-driven>
+            </enterprise-beans>
+        </openejb-jar>
+    </module>
+</application>

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/airlinesupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml?rev=355772&view=auto
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml (added)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml Sat Dec 10 11:57:29
2005
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 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$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application" 
+    parentId="org/apache/geronimo/AdventureDataSource1.0.1" 
+    configId="org/apache/geronimo/Bank1.0.3">
+    <import>
+        <uri>org/apache/geronimo/AdventureBuilderJMS</uri>
+    </import>
+    <module>
+        <ejb>bank-ejb.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" 
+            xmlns:naming="http://geronimo.apache.org/xml/ns/naming" 
+            xmlns:sys="http://geronimo.apache.org/xml/ns/deployment" 
+            configId="NOT_USED">
+            <cmp-connection-factory>
+                <resource-link>AdventureDataSource</resource-link>
+            </cmp-connection-factory>
+            <enterprise-beans>
+                <session>
+                    <ejb-name>CreditCardEndpointBean</ejb-name>
+                    <jndi-name>CreditCardEndpointBean</jndi-name>
+                    <web-service-address>http://localhost:8080/webservice/CreditCardService</web-service-address>
+                </session>
+            </enterprise-beans>
+        </openejb-jar>
+    </module>
+</application>

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/bank1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/trunk/sandbox/adventurebuilder/src/plan/consumerwebsite1.0.1.ear-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/consumerwebsite1.0.1.ear-plan.xml?rev=355772&r1=355771&r2=355772&view=diff
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/consumerwebsite1.0.1.ear-plan.xml (original)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/consumerwebsite1.0.1.ear-plan.xml Sat
Dec 10 11:57:29 2005
@@ -18,7 +18,7 @@
 <!-- $Rev$ $Date$ -->
 <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
     parentId="org/apache/geronimo/AdventureDataSource1.0.1" 
-    configId="org/apache/geronimo/AdventureBuilder1.0.1">
+    configId="org/apache/geronimo/Adventure1.0.1">
 
     <module>
         <web>adventure.war</web>

Added: geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml?rev=355772&view=auto
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml (added)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml Sat
Dec 10 11:57:29 2005
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 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$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application" 
+    parentId="org/apache/geronimo/AdventureDataSource1.0.1"
+    configId="org/apache/geronimo/LodgingSupplier1.0.3">
+    <import>
+        <uri>org/apache/geronimo/AdventureBuilderJMS</uri>
+    </import>
+    <module>
+        <ejb>lodgingsupplier-ejb.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar"
+            xmlns:naming="http://geronimo.apache.org/xml/ns/naming" 
+            xmlns:sys="http://geronimo.apache.org/xml/ns/deployment" 
+            configId="NOT_USED">
+            <cmp-connection-factory>
+                <resource-link>AdventureDataSource</resource-link>
+            </cmp-connection-factory>
+            <enterprise-beans>
+                <entity>
+                    <ejb-name>LodgingOrderBean</ejb-name>
+                    <jndi-name>LodgingOrderLocalHome</jndi-name>
+                    <table-name>LodgingOrder</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderId</cmp-field-name>
+                        <table-column>orderId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>lodgingId</cmp-field-name>
+                        <table-column>lodgingId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>startDate</cmp-field-name>
+                        <table-column>startDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>endDate</cmp-field-name>
+                        <table-column>endDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>headCount</cmp-field-name>
+                        <table-column>headCount</table-column>
+                    </cmp-field-mapping>
+                </entity>
+                <session>
+                    <ejb-name>LodgingPOEndpointBean</ejb-name>
+                    <jndi-name>LodgingPOEndpointBean</jndi-name>
+                    <resource-ref>
+                        <ref-name>jms/lodging/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>
+                    </resource-ref>
+                    <naming:resource-env-ref>
+                        <naming:ref-name>jms/lodging/LodgingQueue</naming:ref-name>
+                        <naming:message-destination-link>jms/lodging/LodgingQueue</naming:message-destination-link>
+                    </naming:resource-env-ref>
+                    <web-service-address>http://localhost:8080/webservice/LodgingPOService</web-service-address>
+                </session>
+                <message-driven>
+                    <ejb-name>LodgingMessageEJB</ejb-name>
+                    <resource-adapter>
+                        <resource-link>Adventure Builder JMS Resources</resource-link>
+                    </resource-adapter>
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>jms/lodging/LodgingQueue</activation-config-property-value>
+                        </activation-config-property>
+                        <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>
+                    <naming:service-ref>
+                        <naming:service-ref-name>service/WebServiceBroker</naming:service-ref-name>
+                        <naming:port>
+                            <naming:port-name>BrokerServiceIntfPort</naming:port-name>
+                            <naming:protocol>http</naming:protocol>
+                            <naming:host>localhost</naming:host>
+                            <naming:port>8080</naming:port>
+                            <naming:uri>/activity/foo/as</naming:uri>
+                        </naming:port>
+                    </naming:service-ref>
+                </message-driven>
+            </enterprise-beans>
+        </openejb-jar>
+    </module>
+</application>

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/lodgingsupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml?rev=355772&r1=355771&r2=355772&view=diff
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml (original)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml Sat Dec 10 11:57:29
2005
@@ -16,7 +16,7 @@
     limitations under the License.
 -->
 <!-- $Rev$ $Date$ -->
-<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application" 
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
     parentId="org/apache/geronimo/AdventureDataSource1.0.1"
     configId="org/apache/geronimo/OPC1.0.3">
     <import>
@@ -79,7 +79,7 @@
                     </ejb-local-ref>
                     <ejb-local-ref>
                         <ref-name>ejb/local/purchaseorder/PurchaseOrder</ref-name>
-                        <name>PurchaseOrderBean</name>   
+                        <name>PurchaseOrderBean</name>
                     </ejb-local-ref>
                     <web-service-address>http://localhost:8080/webservice/OtEndpointBean</web-service-address>
                 </session>
@@ -87,7 +87,7 @@
                     <ejb-name>WorkFlowManagerBean</ejb-name>
                     <resource-adapter>
                         <resource-link>Adventure Builder JMS Resources</resource-link>
-                    </resource-adapter>    
+                    </resource-adapter>
                     <activation-config>
                         <activation-config-property>
                             <activation-config-property-name>destination</activation-config-property-name>
@@ -125,7 +125,7 @@
                     <ejb-name>OrderFillerBean</ejb-name>
                     <resource-adapter>
                         <resource-link>Adventure Builder JMS Resources</resource-link>
-                    </resource-adapter>          
+                    </resource-adapter>
                     <activation-config>
                         <activation-config-property>
                             <activation-config-property-name>destination</activation-config-property-name>
@@ -149,7 +149,7 @@
                     <ejb-name>BrokerRequestorBean</ejb-name>
                     <resource-adapter>
                         <resource-link>Adventure Builder JMS Resources</resource-link>
-                    </resource-adapter>    
+                    </resource-adapter>
                     <activation-config>
                         <activation-config-property>
                             <activation-config-property-name>destination</activation-config-property-name>
@@ -197,7 +197,7 @@
                 </message-driven>
                 <entity>
                     <ejb-name>AddressBean</ejb-name>
-                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.AddressLocalHome</jndi-name>
+                    <jndi-name>AddressLocalHome</jndi-name>
                     <table-name>Address</table-name>
                     <cmp-field-mapping>
                         <cmp-field-name>streetName1</cmp-field-name>
@@ -244,7 +244,7 @@
                 </entity>
                 <entity>
                     <ejb-name>ContactInfoBean</ejb-name>
-                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.ContactInfoLocalHome</jndi-name>
+                    <jndi-name>ContactInfoLocalHome</jndi-name>
                     <table-name>ContactInfo</table-name>
                     <cmp-field-mapping>
                         <cmp-field-name>phone</cmp-field-name>
@@ -287,7 +287,7 @@
                 </entity>
                 <entity>
                     <ejb-name>LodgingBean</ejb-name>
-                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.LodgingLocalHome</jndi-name>
+                    <jndi-name>LodgingLocalHome</jndi-name>
                     <table-name>Lodging_Bean</table-name>
                     <cmp-field-mapping>
                         <cmp-field-name>startDate</cmp-field-name>
@@ -342,7 +342,7 @@
                 </entity>
                 <entity>
                     <ejb-name>CreditCardBean</ejb-name>
-                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.CreditCardLocalHome</jndi-name>
+                    <jndi-name>CreditCardLocalHome</jndi-name>
                     <table-name>CreditCard</table-name>
                     <cmp-field-mapping>
                         <cmp-field-name>cardNumber</cmp-field-name>
@@ -377,7 +377,7 @@
                 </entity>
                 <entity>
                     <ejb-name>PurchaseOrderBean</ejb-name>
-                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.PurchaseOrderLocalHome</jndi-name>
+                    <jndi-name>PurchaseOrderLocalHome</jndi-name>
                     <table-name>PurchaseOrder</table-name>
                     <cmp-field-mapping>
                         <cmp-field-name>locale</cmp-field-name>
@@ -446,7 +446,7 @@
                 </entity>
                 <entity>
                     <ejb-name>TransportationBean</ejb-name>
-                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.TransportationLocalHome</jndi-name>
+                    <jndi-name>TransportationLocalHome</jndi-name>
                     <table-name>Transportation_Bean</table-name>
                     <cmp-field-mapping>
                         <cmp-field-name>transportationId</cmp-field-name>
@@ -505,7 +505,7 @@
                 </entity>
                 <entity>
                     <ejb-name>ActivityBean</ejb-name>
-                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.ActivityLocalHome</jndi-name>
+                    <jndi-name>ActivityLocalHome</jndi-name>
                     <table-name>Activity_Bean</table-name>
                     <cmp-field-mapping>
                         <cmp-field-name>activityId</cmp-field-name>
@@ -555,10 +555,10 @@
                     </resource-ref>
                 </entity>
                 <message-driven>
-                    <ejb-name>CRMBean</ejb-name>     
+                    <ejb-name>CRMBean</ejb-name>
                     <resource-adapter>
                         <resource-link>Adventure Builder JMS Resources</resource-link>
-                    </resource-adapter>    
+                    </resource-adapter>
                     <activation-config>
                         <activation-config-property>
                             <activation-config-property-name>destination</activation-config-property-name>
@@ -576,7 +576,7 @@
                 </message-driven>
             </enterprise-beans>
             <relationships>
-                <ejb-relation> 
+                <ejb-relation>
                     <ejb-relation-name>ContactAddressRelations</ejb-relation-name>
                     <ejb-relationship-role>
                         <ejb-relationship-role-name>ContactInfoBean</ejb-relationship-role-name>
@@ -592,10 +592,10 @@
                                 <key-column>AddressBean_upk</key-column>
                                 <foreign-key-column>address</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
-                <ejb-relation>  
+                <ejb-relation>
                     <ejb-relation-name>PurchaseTransportationRelations</ejb-relation-name>
                     <ejb-relationship-role>
                         <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
@@ -611,10 +611,10 @@
                                 <key-column>TransportationBean_upk</key-column>
                                 <foreign-key-column>returnFlightInfo</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
-                <ejb-relation>  
+                <ejb-relation>
                     <ejb-relation-name>PurchaseLodgingRelations</ejb-relation-name>
                     <ejb-relationship-role>
                         <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
@@ -630,10 +630,10 @@
                                 <key-column>LodgingBean_upk</key-column>
                                 <foreign-key-column>lodging</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
-                <ejb-relation>  
+                <ejb-relation>
                     <ejb-relation-name>PurchaseActivityRelations</ejb-relation-name>
                     <ejb-relationship-role>
                         <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
@@ -648,10 +648,10 @@
                                 <key-column>poId</key-column>
                                 <foreign-key-column>PurchaseOrderBean_activities</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
-                <ejb-relation> 
+                <ejb-relation>
                     <ejb-relation-name>PurchaseTransportationRelations1</ejb-relation-name>
                     <ejb-relationship-role>
                         <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
@@ -667,7 +667,7 @@
                                 <key-column>TransportationBean_upk</key-column>
                                 <foreign-key-column>departureFlightInfo</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
                 <ejb-relation>
@@ -686,10 +686,10 @@
                                 <key-column>ContactInfoBean_upk</key-column>
                                 <foreign-key-column>billingInfo</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
-                <ejb-relation>  
+                <ejb-relation>
                     <ejb-relation-name>PurchaseContactRelations1</ejb-relation-name>
                     <ejb-relationship-role>
                         <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
@@ -705,10 +705,10 @@
                                 <key-column>ContactInfoBean_upk</key-column>
                                 <foreign-key-column>shippingInfo</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
-                <ejb-relation> 
+                <ejb-relation>
                     <ejb-relation-name>PurchaseCreditRelations</ejb-relation-name>
                     <ejb-relationship-role>
                         <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
@@ -724,10 +724,73 @@
                                 <key-column>CreditCardBean_upk</key-column>
                                 <foreign-key-column>creditCard</foreign-key-column>
                             </cmr-field-mapping>
-                        </role-mapping>       
+                        </role-mapping>
                     </ejb-relationship-role>
                 </ejb-relation>
             </relationships>
+        </openejb-jar>
+    </module>
+    <module>
+        <ejb>processmanager-ejb.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" 
+            xmlns:naming="http://geronimo.apache.org/xml/ns/naming" 
+            xmlns:sys="http://geronimo.apache.org/xml/ns/deployment"
+            configId="NOT_USED">
+            <cmp-connection-factory>
+                <resource-link>AdventureDataSource</resource-link>
+            </cmp-connection-factory>
+            <enterprise-beans>
+                <session>
+                    <ejb-name>ProcessManagerBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.processmanager.ejb.ProcessManagerLocalHome</jndi-name>
+                    <local-jndi-name>ProcessManagerLocalHome</local-jndi-name>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/processmanager/Manager</ref-name>
+                        <name>ManagerBean</name>
+                    </ejb-local-ref>
+                </session>
+                <entity>
+                    <ejb-name>ManagerBean</ejb-name>
+                    <jndi-name>ManagerLocalHome</jndi-name>
+                    <local-jndi-name>ManagerLocalHome</local-jndi-name>
+                    <table-name>Manager</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>lodgingOrderStatus</cmp-field-name>
+                        <cmp-field-class>String</cmp-field-class>
+                        <table-column>lodgingOrderStatus</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderError</cmp-field-name>
+                        <cmp-field-class>boolean</cmp-field-class>
+                        <table-column>orderError</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderId</cmp-field-name>
+                        <cmp-field-class>String</cmp-field-class>
+                        <table-column>orderId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>status</cmp-field-name>
+                        <cmp-field-class>String</cmp-field-class>
+                        <table-column>status</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>activityOrderStatus</cmp-field-name>
+                        <cmp-field-class>String</cmp-field-class>
+                        <table-column>activityOrderStatus</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>airlineOrderStatus</cmp-field-name>
+                        <cmp-field-class>String</cmp-field-class>
+                        <table-column>airlineOrderStatus</table-column>
+                    </cmp-field-mapping>
+                    <primkey-field>orderId</primkey-field>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>MysqlDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+            </enterprise-beans>
         </openejb-jar>
     </module>
     <gbean name="mail/MailSession" class="org.apache.geronimo.mail.MailGBean"/>



Mime
View raw message