Re: OpenEJB 3 integration working

2007-01-21 Thread Vamsavardhana Reddy

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

2007-01-20 Thread Dain Sundstrom
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:




http://geronimo.apache.org/xml/ns/j2ee/ 
application-1.1" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee";>



itests
itests
1
car



commons-lang
commons-lang
2.0


junit
junit
3.8.1


org.apache.geronimo.configs
system-database
car




openejb-itests-beans-3.0-incubating-SNAPSHOT.jar

http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0";
xmlns:n="http://geronimo.apache.org/xml/ns/naming-1.2";
>
   
database

org.apache.geronimo.configs
system-database
SystemDatasource



datasource

org.apache.geronimo.configs
system-database
SystemDatasource



jdbc/basic/entityDatabase

org.apache.geronimo.configs
system-database
SystemDatasource



stateless/references/Resource_manager_accessn:ref-name>


org.apache.geronimo.configs
system-database
SystemDatasource



persistence/TestContextn:persistence-context-ref-name>
openjpa-test-unitunit-name>
Transactionalcontext-type>



persistence/ 
ExtendedTestContext
openjpa-test-unitunit-name>
Extendedtype>



openejb/cmpcontext-ref-name>

cmp
Transactionalcontext-type>



persistence/TestUnitn:persistence-unit-ref-name>
openjpa-test-unitunit-name>



http://java.sun.com/xml/ns/persistence";  
version="1.0">


 
org.apache.openjpa.persistence.PersistenceProviderImplprovider>

?name=SystemDatasource
?name=NoTxDatasourcesource>

META-INF/jpa.mapping.xml
org.apache.openejb.test.entity.cmp.BasicCmpBeanclass>

false


 
org.apache.openjpa.persistence.PersistenceProviderImplprovider>

?name=SystemDatasource
?name=NoTxDatasourcesource>

org.apache.openejb.test.entity.Customer




  




Re: OpenEJB 3 integration working

2007-01-20 Thread Dain Sundstrom
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

2007-01-19 Thread Dain Sundstrom

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

2007-01-19 Thread Dain Sundstrom
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

2007-01-19 Thread David Jencks

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

2007-01-19 Thread anita kulshreshtha
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

2007-01-19 Thread Prasad Kashyap

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

2007-01-19 Thread Paul McMahan

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

2007-01-19 Thread Matt Hogstrom


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

2007-01-19 Thread Joe Bohn

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

2007-01-19 Thread Sachin Patel

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

2007-01-19 Thread Jacek Laskowski

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