You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Christopher Blythe <cj...@gmail.com> on 2007/08/31 16:36:57 UTC

Two observations while testing out DayTrader 1.2 on Geronimo 2.0.1

All...

Last night/this morning I tried out DayTrader 1.2 on Geronimo 2.0.1 to make
sure everything ran fine. During the effort, I ran into two subtle issues...
Anyway, just wanted to pass them along.

1) Geronimo and/or OpenJPA appears to process sun-ejb-jar.xml files. This is
a file used by Sun Java App Server 9 to handle resource mappings. I
originally added the Sun specific DDs to DayTrader 1.2 for comparison
purposes. I had to modify the files slightly to get it to work, but it
should still work for both Geronimo and SJAS9. Overall, just wanted to
express my surprise that OpenJPA would process this file. Any thoughts?

2) If any type of tracing is done on the OpenJPA components, the
KeySequenceBean (in EJB mode) fails to work properly because the tracing
performs a toString on the KeyBlock - which in turn spins through all the
keys in the block. Consequently, when we attempt to get a key from the block
all of them have been used. So... make note... be careful using tracing!!!

I plan to update DayTrader 1.2 with a plan file for Geronimo 2.0.1 and also
make some small changes for #1 and possibly add somethign to the ReadMe for
#2.


Chris

-- 
"I say never be complete, I say stop being perfect, I say let... lets
evolve, let the chips fall where they may." - Tyler Durden

Re: Two observations while testing out DayTrader 1.2 on Geronimo 2.0.1

Posted by Matt Hogstrom <ma...@hogstrom.org>.
Thanks for the heads up.  I had a problem earlier with a JBoss file  
being processed and deleted all of these files in my local image and  
totally forgot about it until now.

How about we release 1.2?  Its probably about time.


On Aug 31, 2007, at 10:36 AM, Christopher Blythe wrote:

> All...
>
> Last night/this morning I tried out DayTrader 1.2 on Geronimo 2.0.1  
> to make sure everything ran fine. During the effort, I ran into two  
> subtle issues... Anyway, just wanted to pass them along.
>
> 1) Geronimo and/or OpenJPA appears to process sun-ejb-jar.xml  
> files. This is a file used by Sun Java App Server 9 to handle  
> resource mappings. I originally added the Sun specific DDs to  
> DayTrader 1.2 for comparison purposes. I had to modify the files  
> slightly to get it to work, but it should still work for both  
> Geronimo and SJAS9. Overall, just wanted to express my surprise  
> that OpenJPA would process this file. Any thoughts?
>
> 2) If any type of tracing is done on the OpenJPA components, the  
> KeySequenceBean (in EJB mode) fails to work properly because the  
> tracing performs a toString on the KeyBlock - which in turn spins  
> through all the keys in the block. Consequently, when we attempt to  
> get a key from the block all of them have been used. So... make  
> note... be careful using tracing!!!
>
> I plan to update DayTrader 1.2 with a plan file for Geronimo 2.0.1  
> and also make some small changes for #1 and possibly add somethign  
> to the ReadMe for #2.
>
>
> Chris
>
> -- 
> "I say never be complete, I say stop being perfect, I say let...  
> lets evolve, let the chips fall where they may." - Tyler Durden