Re: Deploying Aries Blog sample AriesTrader on Geronimo
Great news. Congrats! Lin On Mon, Mar 29, 2010 at 4:43 PM, Jarek Gawor jga...@gmail.com wrote: Hi all, I recently integrated the JTA and JPA pieces from Aries in Geronimo and exposed connection factories in OSGi service registry. With these changes we now have all the main pieces in place to deploy unmodified Aries Blog sample AriesTrader on Geronimo. Here's how to do it: 1) Make sure you have the latest trunk build. I used tomcat ee 6 assembly but things should also work with the jetty assembly. 2) Deploy the attached aries-datasource connector. It will create the data sources database tables for both samples. To deploy the connector do: ./bin/deploy -u system -p manager deploy ~/.m2/repository/org/tranql/tranql-connector-derby-embed-xa/1.5/tranql-connector-derby-embed-xa-1.5.rar aries-datasource.xml 3) Build samples module in Aries trunk. To deploy the Blog sample do: ./bin/deploy -u system -p manager deploy aries trunk/samples/blog/blog-jpa-eba/target/org.apache.aries.samples.blog.jpa.eba-0.1-incubating-SNAPSHOT.eba or to deploy AriesTrader do: ./bin/deploy -u system -p manager deploy aries trunk/samples/ariestrader-sample/assemblies/ariestrader-all-eba/target/org.apache.aries.samples.ariestrader.all-0.1-incubating-SNAPSHOT.eba If all goes well the Blog sample should be available under http://localhost:8080/blog and AriesTrader under http://localhost:8080/ariestrader. Btw, when running the deploy command you might see some Address already in use exceptions. They can be ignored. Let me know if you have any problems, Jarek
Re: Deploying Aries Blog sample AriesTrader on Geronimo
That's terrific Jarek! I'm really happy to see AriesTrader running on Geronimo ... this is like deja vu all over again :-) Joe Jarek Gawor wrote: Hi all, I recently integrated the JTA and JPA pieces from Aries in Geronimo and exposed connection factories in OSGi service registry. With these changes we now have all the main pieces in place to deploy unmodified Aries Blog sample AriesTrader on Geronimo. Here's how to do it: 1) Make sure you have the latest trunk build. I used tomcat ee 6 assembly but things should also work with the jetty assembly. 2) Deploy the attached aries-datasource connector. It will create the data sources database tables for both samples. To deploy the connector do: ./bin/deploy -u system -p manager deploy ~/.m2/repository/org/tranql/tranql-connector-derby-embed-xa/1.5/tranql-connector-derby-embed-xa-1.5.rar aries-datasource.xml 3) Build samples module in Aries trunk. To deploy the Blog sample do: ./bin/deploy -u system -p manager deploy aries trunk/samples/blog/blog-jpa-eba/target/org.apache.aries.samples.blog.jpa.eba-0.1-incubating-SNAPSHOT.eba or to deploy AriesTrader do: ./bin/deploy -u system -p manager deploy aries trunk/samples/ariestrader-sample/assemblies/ariestrader-all-eba/target/org.apache.aries.samples.ariestrader.all-0.1-incubating-SNAPSHOT.eba If all goes well the Blog sample should be available under http://localhost:8080/blog and AriesTrader under http://localhost:8080/ariestrader. Btw, when running the deploy command you might see some Address already in use exceptions. They can be ignored. Let me know if you have any problems, Jarek
Re: Deploying Aries Blog sample AriesTrader on Geronimo
Great! Thanks 2010/3/30 Jarek Gawor jga...@gmail.com Hi all, I recently integrated the JTA and JPA pieces from Aries in Geronimo and exposed connection factories in OSGi service registry. With these changes we now have all the main pieces in place to deploy unmodified Aries Blog sample AriesTrader on Geronimo. Here's how to do it: 1) Make sure you have the latest trunk build. I used tomcat ee 6 assembly but things should also work with the jetty assembly. 2) Deploy the attached aries-datasource connector. It will create the data sources database tables for both samples. To deploy the connector do: ./bin/deploy -u system -p manager deploy ~/.m2/repository/org/tranql/tranql-connector-derby-embed-xa/1.5/tranql-connector-derby-embed-xa-1.5.rar aries-datasource.xml 3) Build samples module in Aries trunk. To deploy the Blog sample do: ./bin/deploy -u system -p manager deploy aries trunk/samples/blog/blog-jpa-eba/target/org.apache.aries.samples.blog.jpa.eba-0.1-incubating-SNAPSHOT.eba or to deploy AriesTrader do: ./bin/deploy -u system -p manager deploy aries trunk/samples/ariestrader-sample/assemblies/ariestrader-all-eba/target/org.apache.aries.samples.ariestrader.all-0.1-incubating-SNAPSHOT.eba If all goes well the Blog sample should be available under http://localhost:8080/blog and AriesTrader under http://localhost:8080/ariestrader. Btw, when running the deploy command you might see some Address already in use exceptions. They can be ignored. Let me know if you have any problems, Jarek -- Lei Wang (Rex) rwonly AT apache.org
Deploying Aries Blog sample AriesTrader on Geronimo
Hi all, I recently integrated the JTA and JPA pieces from Aries in Geronimo and exposed connection factories in OSGi service registry. With these changes we now have all the main pieces in place to deploy unmodified Aries Blog sample AriesTrader on Geronimo. Here's how to do it: 1) Make sure you have the latest trunk build. I used tomcat ee 6 assembly but things should also work with the jetty assembly. 2) Deploy the attached aries-datasource connector. It will create the data sources database tables for both samples. To deploy the connector do: ./bin/deploy -u system -p manager deploy ~/.m2/repository/org/tranql/tranql-connector-derby-embed-xa/1.5/tranql-connector-derby-embed-xa-1.5.rar aries-datasource.xml 3) Build samples module in Aries trunk. To deploy the Blog sample do: ./bin/deploy -u system -p manager deploy aries trunk/samples/blog/blog-jpa-eba/target/org.apache.aries.samples.blog.jpa.eba-0.1-incubating-SNAPSHOT.eba or to deploy AriesTrader do: ./bin/deploy -u system -p manager deploy aries trunk/samples/ariestrader-sample/assemblies/ariestrader-all-eba/target/org.apache.aries.samples.ariestrader.all-0.1-incubating-SNAPSHOT.eba If all goes well the Blog sample should be available under http://localhost:8080/blog and AriesTrader under http://localhost:8080/ariestrader. Btw, when running the deploy command you might see some Address already in use exceptions. They can be ignored. Let me know if you have any problems, Jarek ?xml version=1.0 encoding=UTF-8? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You 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: 684945 $ $Date: 2008-08-11 17:33:13 -0400 (Mon, 11 Aug 2008) $ -- connector xmlns=http://geronimo.apache.org/xml/ns/j2ee/connector-1.2; dep:environment xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; dep:moduleId dep:groupIdorg.apache.geronimo.configs/dep:groupId dep:artifactIdaries-datasource/dep:artifactId dep:version3.0-SNAPSHOT/dep:version dep:typecar/dep:type /dep:moduleId /dep:environment resourceadapter outbound-resourceadapter connection-definition connectionfactory-interfacejavax.sql.DataSource/connectionfactory-interface connectiondefinition-instance namejdbc/blogdb/name jndi-namejdbc/blogdb/jndi-name config-property-setting name=UserName/config-property-setting config-property-setting name=Password/config-property-setting config-property-setting name=DatabaseNameblogDB/config-property-setting config-property-setting name=CreateDatabasetrue/config-property-setting connectionmanager xa-transaction transaction-caching/ /xa-transaction single-pool max-size100/max-size blocking-timeout-milliseconds5000/blocking-timeout-milliseconds select-one-assume-match/ /single-pool /connectionmanager /connectiondefinition-instance connectiondefinition-instance namejdbc/blogdbnojta/name jndi-namejdbc/blogdbnojta/jndi-name config-property-setting name=UserName/config-property-setting config-property-setting name=Password/config-property-setting config-property-setting name=DatabaseNameblogDB/config-property-setting config-property-setting name=CreateDatabasetrue/config-property-setting connectionmanager no-transaction/ single-pool max-size100/max-size blocking-timeout-milliseconds5000/blocking-timeout-milliseconds select-one-assume-match/ /single-pool /connectionmanager /connectiondefinition-instance connectiondefinition-instance namejdbc/TradeDataSource/name