OpenEJB with JUnit from NetBeans: NameNotFoundException

2008-10-08 Thread Bernhard Humm
I am trying to use OpenEJB with JUnit from NetBeans IDE. This is what I have done: 1. Download openejb-3.0.zip and openejb-examples-3.0.zip from openejb.apache.org and unzip. 2. Open new NetBeans Java Project with Existing Sources (source and test directories from openejb-examples) 3. Add

Re: OpenEJB with JUnit from NetBeans: NameNotFoundException

2008-10-08 Thread David Blevins
On Oct 8, 2008, at 3:26 AM, Bernhard Humm wrote: I am trying to use OpenEJB with JUnit from NetBeans IDE. This is what I have done: 1. Download openejb-3.0.zip and openejb-examples-3.0.zip from openejb.apache.org and unzip. 2. Open new NetBeans Java Project with Existing Sources (source

Re: Unknown error in Assembler for MessageDriven bean

2008-10-08 Thread David Blevins
On Oct 3, 2008, at 8:01 AM, Zog wrote: Hi Unfortunately I cant' post the code - but I solved the issue by just adding a messaging-typejavax.jms.MessageListener/messaging-type in ejb-jar.xml for all my MDBs. One thing to note though is that my MDBs do not directly imlpement this

Re: JNDI lookup in Tomcat

2008-10-08 Thread David Blevins
On Oct 8, 2008, at 12:37 PM, Zog wrote: I installed the openejb.war in tomcat-6.0.18 and my ear as a collapsed ear. When I lookup objects in the JNDI tree, I realized that I can freely look up injected resources (I use the resource-ref in ejb-jar.xml for ex for data sources), but non

Re: Override annotations in ejb-jar.xml for a test case

2008-10-08 Thread David Blevins
On Sep 22, 2008, at 5:33 AM, Marcin Kwapisz wrote: Hi, I would like to add an interceptor to my EJB but only in a test. I have separate ejb-jar.xml for tests and all my EJBs are annotated. We don't have any functionality for supplying an alternate ejb-jar.xml for testing purposes. It's