Re: JUnit question

2008-11-19 Thread David Blevins
On Nov 19, 2008, at 6:32 AM, ericp56 wrote: I wasn't paying attention to the package, only the class name. Thanks for the clarification:) No worries. I've often thought it would be neat to add some functionality that would catch ClassNotFoundExceptions and print the name of the jar

Re: EntityManager Propagation Problem under 3.1

2008-11-19 Thread David Blevins
On Nov 18, 2008, at 4:29 PM, JimOR wrote: Apologies in advance for cross-posting, but my post to OpenJPA ( http://n2.nabble.com/EntityManager-Propagation-with-Extended-PersistenceContext-td1495977.html http://n2.nabble.com/EntityManager-Propagation-with-Extended-PersistenceContext-td1495977.ht

Re: Error connecting OpenEJB3.0 client to OpenEJB 3.1 server.

2008-11-19 Thread David Blevins
Hi Paul, The client and server versions have to match. We did a major overhaul of the client/server communication between 3.0 and 3.1. The remote client/server performance of 3.1 is many times faster than 3.0 and I'd definitely recommend switching all clients over. We *try* to keep the

OpenEJB issue with Oracle Driver

2008-11-19 Thread ericp56
Hello, I'm using Eclipse and OpenEjb3.1, testing my OpenJPA application. I am connecting to an Oracle database using the JdbcUrl When I use code: p = System.getProperties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); p.put("SchedulerDB.

Re: UserTransaction injection

2008-11-19 Thread Carlos MacLeod
2008/11/18 David Blevins <[EMAIL PROTECTED]>: > On Nov 11, 2008, at 6:57 PM, Carlos MacLeod wrote: >> >> 2008-11-12 00:40:55,155 - ERROR - Error merging OpenEJB JNDI entries >> in to war /Bunda: Exception: null >> java.lang.NullPointerException >> at java.util.Hashtable.put(Hashtable.java:394

OpenEJB security in Tomcat

2008-11-19 Thread Sarvari, Andras
Hi, I have a successfull installation of openejb-3.1 under Tomcat 5.5. I deleted the context.xml file, so I can access the http://servername:8080/openejb URL from a remote computer as well. But anybody can access to this URL now. Can I set logon ID/password somehow for this URL by using tomcat-us

Problem with exceptions thrown by stateful session beans ?

2008-11-19 Thread Olivier THIERRY
Hi, I have a project with EJB3 Seam components. I write unit tests that will run on OpenEJB, but I encounter a problem I can't find it is a Seam or OpenEJB one. I wrote a Seam component with CONVERSATION scope, i.e. a stateful session bean. I wrote the following unit test for this component :

Re: JUnit question

2008-11-19 Thread ericp56
I wasn't paying attention to the package, only the class name. Thanks for the clarification:) -- View this message in context: http://www.nabble.com/JUnit-question-tp20306283p20580964.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How to use annotation in client application?

2008-11-19 Thread Paul Spencer
Manu, Is their a "client container"? Or stated another way; how can OpenEJB be configured to be a container for the client application, but services like bean declaration and authentication services be done by a remote container? Paul Spencer Manu George wrote: Hi Paul, If it is a standal