Re: OpenEJB 3 integration working
Great news!! Vamsi On 1/19/07, Dain Sundstrom [EMAIL PROTECTED] wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain
Re: OpenEJB 3 integration working
CMP works as long as you enable the Geronimo javaagent for runtime enhancement with the following on the command line -javaagent:target/jetty-jee5/bin/jpa.jar This is required since OpenEJB generates the cmp implementation classes so they can not be preenhanced. The other obvious problem I see is Extended persistence contexts for stateful session beans are not working, but that is not a big concern, since they are rarely used. That can be left as a known issue for M2. -dain On Jan 19, 2007, at 9:13 PM, Dain Sundstrom wrote: Fixed the refs and now most stuff seems to be working except for cmp. -dain On Jan 19, 2007, at 4:21 PM, Dain Sundstrom wrote: Datasource references work but other important ones like UserTransaction and persistence context don't. I'm working on those now. -dain On Jan 19, 2007, at 1:20 AM, Dain Sundstrom wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain
Re: OpenEJB 3 integration working
I just tested deploying an ear containing the OpenEJB itests and it works as well as the standalone ejb-jar itests. Here is the geronimo-application.xml I used: ?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. -- application xmlns=http://geronimo.apache.org/xml/ns/j2ee/ application-1.1 xmlns:j2ee=http://java.sun.com/xml/ns/j2ee; environment moduleId groupIditests/groupId artifactIditests/artifactId version1/version typecar/type /moduleId dependencies dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId version2.0/version /dependency dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version /dependency dependency groupIdorg.apache.geronimo.configs/groupId artifactIdsystem-database/artifactId typecar/type /dependency /dependencies /environment module ejbopenejb-itests-beans-3.0-incubating-SNAPSHOT.jar/ejb ejb-jar xmlns=http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0; xmlns:n=http://geronimo.apache.org/xml/ns/naming-1.2; n:resource-ref n:ref-namedatabase/n:ref-name n:pattern n:groupIdorg.apache.geronimo.configs/n:groupId n:artifactIdsystem-database/n:artifactId n:nameSystemDatasource/n:name /n:pattern /n:resource-ref n:resource-ref n:ref-namedatasource/n:ref-name n:pattern n:groupIdorg.apache.geronimo.configs/n:groupId n:artifactIdsystem-database/n:artifactId n:nameSystemDatasource/n:name /n:pattern /n:resource-ref n:resource-ref n:ref-namejdbc/basic/entityDatabase/n:ref-name n:pattern n:groupIdorg.apache.geronimo.configs/n:groupId n:artifactIdsystem-database/n:artifactId n:nameSystemDatasource/n:name /n:pattern /n:resource-ref n:resource-ref n:ref-namestateless/references/Resource_manager_access/ n:ref-name n:pattern n:groupIdorg.apache.geronimo.configs/n:groupId n:artifactIdsystem-database/n:artifactId n:nameSystemDatasource/n:name /n:pattern /n:resource-ref n:persistence-context-ref n:persistence-context-ref-namepersistence/TestContext/ n:persistence-context-ref-name n:persistence-unit-nameopenjpa-test-unit/n:persistence- unit-name n:persistence-context-typeTransactional/n:persistence- context-type /n:persistence-context-ref n:persistence-context-ref n:persistence-context-ref-namepersistence/ ExtendedTestContext/n:persistence-context-ref-name n:persistence-unit-nameopenjpa-test-unit/n:persistence- unit-name n:persistence-context-typeExtended/n:persistence-context- type /n:persistence-context-ref n:persistence-context-ref n:persistence-context-ref-nameopenejb/cmp/n:persistence- context-ref-name n:persistence-unit-namecmp/n:persistence-unit-name n:persistence-context-typeTransactional/n:persistence- context-type /n:persistence-context-ref n:persistence-unit-ref n:persistence-unit-ref-namepersistence/TestUnit/ n:persistence-unit-ref-name n:persistence-unit-nameopenjpa-test-unit/n:persistence- unit-name /n:persistence-unit-ref persistence xmlns=http://java.sun.com/xml/ns/persistence; version=1.0 persistence-unit transaction-type=JTA name=cmp providerorg.apache.openjpa.persistence.PersistenceProviderImpl/ provider jta-data-source?name=SystemDatasource/jta-data-source non-jta-data-source?name=NoTxDatasource/non-jta-data- source mapping-fileMETA-INF/jpa.mapping.xml/mapping-file classorg.apache.openejb.test.entity.cmp.BasicCmpBean/ class exclude-unlisted-classesfalse/exclude-unlisted-classes /persistence-unit persistence-unit transaction-type=JTA
Re: OpenEJB 3 integration working
On 1/19/07, Dain Sundstrom [EMAIL PROTECTED] wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. Awesome! Although it might've seemed hard to crack, THEY again did it! Thanks! Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
Re: OpenEJB 3 integration working
Wow, this is awesome! Great Job!! On Jan 19, 2007, at 4:20 AM, Dain Sundstrom wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain -sachin
Re: OpenEJB 3 integration working
This is great news that will really make 2.0-M2 shine! Thanks for all the hard work, long hours, and dedication that it took to make this happen. Joe Dain Sundstrom wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain
Re: OpenEJB 3 integration working
On Jan 19, 2007, at 4:20 AM, Dain Sundstrom wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. (yawn) A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. Ok, all kidding aside this is awesome. I'm building this morning. Hats off dudes. -dain Matt Hogstrom [EMAIL PROTECTED]
Re: OpenEJB 3 integration working
Sweet! great job Dain and David. Paul On 1/19/07, Dain Sundstrom [EMAIL PROTECTED] wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain
Re: OpenEJB 3 integration working
Wow !!! You guyz are terrific ! Cheers Prasad On 1/19/07, Dain Sundstrom [EMAIL PROTECTED] wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain
Re: OpenEJB 3 integration working
Wonderful Thanks Dain and David for all the hard work. Anita --- Dain Sundstrom [EMAIL PROTECTED] wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! http://mobile.yahoo.com/services?promote=mail
Re: OpenEJB 3 integration working
This is great news! Congratulations!! david jencks On Jan 19, 2007, at 1:20 AM, Dain Sundstrom wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain
Re: OpenEJB 3 integration working
Datasource references work but other important ones like UserTransaction and persistence context don't. I'm working on those now. -dain On Jan 19, 2007, at 1:20 AM, Dain Sundstrom wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain
Re: OpenEJB 3 integration working
Fixed the refs and now most stuff seems to be working except for cmp. -dain On Jan 19, 2007, at 4:21 PM, Dain Sundstrom wrote: Datasource references work but other important ones like UserTransaction and persistence context don't. I'm working on those now. -dain On Jan 19, 2007, at 1:20 AM, Dain Sundstrom wrote: It has been a long week, but David and I got the integration working tonight. We successful got the OpenEJB 3 itest application to deploy and got the client to fire up and call the server. A bunch of tests fail due to a bug in lookup of datasources in OpenEJB, but we got a good number of passes. -dain