Re: Quality Improvement [Virus checked]

2008-08-12 Thread David Blevins
Moved this to the dev list. On Aug 12, 2008, at 2:08 AM, [EMAIL PROTECTED] wrote: Hi List, I am not sure, the following will concern all of you. On the other hand, I expect some of the developers listening here. Also this may be a known issue. The problem is when running a test using ecli

Re: Externalize db access data for junit-testing

2008-08-12 Thread Karan Malhi
> > Documentation > point would help to (If this is already in the wiki - didn't found a > paper). > Some documentation for configuring DataSources can be found here http://openejb.apache.org/3.0/configuring-datasources.html Easiest way to find documentation about something on the wiki would be t

Re: Externalize db access data for junit-testing

2008-08-12 Thread David Blevins
Hi Per, On Aug 12, 2008, at 2:38 AM, Newgro wrote: first thanks to the openejb team for this great product. It helps alot for ejb3. Wiki pages and forum support are great. Thanks! A very large percent of the docs come straight from the list, so a big thanks to all the people with questio

Re: Custom Resource Factory

2008-08-12 Thread David Blevins
That definitely should work. Let me see if I can't reproduce this. -David On Aug 12, 2008, at 1:45 PM, lupu.slobodu wrote: If I declare my session bean in ejb-jar.xml, together with the resource-env-ref like this CalculatorImpl sample.CalculatorLocal

Re: need help getting quartz-ra.rar file to deploy

2008-08-12 Thread David Blevins
On Aug 12, 2008, at 9:28 AM, endium wrote: Thanks for this David! For some reason, I didn't get an email notifying me of your reply. I am trying to implement this right now. Was the maven configuration for openejb changed at all? This may be an unrelated problem, but since today it doesn'

Re: MDB

2008-08-12 Thread David Blevins
On Aug 11, 2008, at 10:29 AM, lupu.slobodu wrote: Trying to run the MDB sample form http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/?pathrev=678070 It looks up the ConnectionFactory but it crashes when calling connectionFactory.createConnection(); java

Re: Custom Resource Factory

2008-08-12 Thread lupu.slobodu
If I declare my session bean in ejb-jar.xml, together with the resource-env-ref like this CalculatorImpl sample.CalculatorLocal sample.CalculatorImpl Container

Re: Custom Resource Factory

2008-08-12 Thread lupu.slobodu
my ejb-jar.xml is empty David Blevins wrote: > > > On Aug 8, 2008, at 11:11 AM, lupu.slobodu wrote: > >> >> Here it is what I've been trying: >> >> 1)Resource Factory configuration in tomcat context.xml >> >> > name="bean/ParamsFactory" >> auth="Container" >> type="sample.jn

Re: Functional testing with OpenEJB + Jetty + Selenium

2008-08-12 Thread Manu George
Pretty Cool stuff. This would be really useful. On Tue, Aug 12, 2008 at 9:32 PM, Karan Malhi <[EMAIL PROTECTED]> wrote: > This is pretty cool. Would you be able to add this stuff to the wiki? > > On Sat, Aug 9, 2008 at 6:07 PM, Jonathan Gallimore < > [EMAIL PROTECTED]> wrote: > >> Hi All, >> >> I

Re: Configure OpenEJB Container to use external activemq.xml file

2008-08-12 Thread Dain Sundstrom
On Aug 12, 2008, at 6:43 AM, rde8026 wrote: Hi Dain, Looks like you got it! Thanks so much for the effort. When should we expect this in a final release? Yes. It is already checked into trunk. -dain

Re: need help getting quartz-ra.rar file to deploy

2008-08-12 Thread endium
Thanks for this David! For some reason, I didn't get an email notifying me of your reply. I am trying to implement this right now. Was the maven configuration for openejb changed at all? This may be an unrelated problem, but since today it doesn't seem that maven is correctly identifying all of th

Re: Functional testing with OpenEJB + Jetty + Selenium

2008-08-12 Thread Karan Malhi
This is pretty cool. Would you be able to add this stuff to the wiki? On Sat, Aug 9, 2008 at 6:07 PM, Jonathan Gallimore < [EMAIL PROTECTED]> wrote: > Hi All, > > I just wondered if I could share an approach I've taken to doing functional > testing lately and see if anyone has any thoughts on it?

Re: Configure OpenEJB Container to use external activemq.xml file

2008-08-12 Thread rde8026
Hi Dain, Looks like you got it! Thanks so much for the effort. When should we expect this in a final release? Thx, RE Dain Sundstrom wrote: > > I think I have fixed this. We modify the brokerURL to handle the > persistence setup, but we don't need to perform these modifications > when

Externalize db access data for junit-testing

2008-08-12 Thread Newgro
Hi *, first thanks to the openejb team for this great product. It helps alot for ejb3. Wiki pages and forum support are great. I start to implement some tests for my beans. The datasource will be configured by using the initial context properties. So far all works fine. But i would like to "ext

Quality Improvement [Virus checked]

2008-08-12 Thread Wolfgang . Schrecker
Hi List, I am not sure, the following will concern all of you. On the other hand, I expect some of the developers listening here. Also this may be a known issue. The problem is when running a test using eclipse & maven, the results differ, depending on the location in the file system. A BLANK ('

Re: Configure OpenEJB Container to use external activemq.xml file

2008-08-12 Thread Dain Sundstrom
I think I have fixed this. We modify the brokerURL to handle the persistence setup, but we don't need to perform these modifications when using an external activemq.xml file. So, I simply wrapped this code with an if brokerUrl.startsWith("broker:"). The fix is checked into trunk, and I u