Re: Loading jar from OpenEJB Classpath

2009-07-22 Thread felix_hack
David, I was already using that system propertyI also tried your regex but that didn't work either. The problem doesn't occur in version 3.1. Could it be something to do with the fact that I am using openejb-spring-3.1.jar against version 3.1.1 of openejb??? Do you know if there is an upgrade

Re: Branding Eclipse RCP with OpenEJB

2009-07-22 Thread Jonathan Gallimore
Hi Yudi, Thanks for your e-mail. I'm copying this reply to the OpenEJB users mailing list in case this is helpful to anyone else, hope that's ok. I'm glad this looks like what you need and I hope the plugins are useful. I can't take the credit for very much though - pretty much all of the RCP / O

Re: JNDI EJB Lookup and OpenEJB Loader Application

2009-07-22 Thread David Sells
Wow! What an answer ( to my question and the ones I was just about to ask) and it works. Thanks, David On Wed, Jul 22, 2009 at 2:27 PM, David Blevins wrote: > Hi David. Like the name :) > > > On Jul 22, 2009, at 9:46 AM, David Sells wrote: > > I have been able >> to lookup and invoke the calc

Re: JNDI EJB Lookup and OpenEJB Loader Application

2009-07-22 Thread David Blevins
Hi David. Like the name :) On Jul 22, 2009, at 9:46 AM, David Sells wrote: I have been able to lookup and invoke the calculator using a *standalone* program using the following code: Properties properties = new Properties(); properties .setProperty (Context .INITIAL_CONTEXT_FACTORY ,"

Re: openejb shutdown with 3.1.1

2009-07-22 Thread David Blevins
Hi Andreas, It hasn't changed as much as there are more shutdown requirements. But we have added functionality to allow the container system to be shutdown without the use of internal APIs. Give this a try. // field in your test case private InitialContext initialContext; // code t

JNDI EJB Lookup and OpenEJB Loader Application

2009-07-22 Thread David Sells
I am trying some basic tests with *Stateless* *EJB*'s using the Calculator example. I am running into difficulties with: *JNDI* with respect to setting the *InitialContext* correctly for *remote*lookups. *Scenario*: I have deployed the Calculator example with a Remote interface into a * Tomc

openejb shutdown with 3.1.1

2009-07-22 Thread Andreas Karalus
hello, does the shutdown code in openejb 3.1.1 have changed? in 3.0 works fine (we had > 1000 tests up and running) Assembler assembler = SystemInstance.get().getComponent(Assembler.class); for (AppInfo appInfo : assembler.getDeployedApplications()) {