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

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 in ejb-jar.xml for ex for data sources), but non injected are fai

Re: weblogic support and

2008-10-08 Thread David Blevins
On Oct 8, 2008, at 6:37 AM, Zog wrote: Hi I'm porting MDBs developed for weblogic into OpenEJB. I have the following issue. I declared the queues I use in openejb.xml, like destination My_Real_Queue and my weblogic.xml descriptors contain MyMDB My_JNDI_Queue If I use just t

Re: Unknown error in Assembler for MessageDriven bean

2008-10-08 Thread Zog
That's a very complete and clear explanation - as a newbie in the EJB world, I was not aware of those subtleties. Thank you very much for the help. Zog David Blevins wrote: > > > On Oct 3, 2008, at 8:01 AM, Zog wrote: > >> >> Hi >> Unfortunately I cant' post the code - but I solved th

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 javax.jms.MessageListener in ejb-jar.xml for all my MDBs. One thing to note though is that my MDBs do not directly imlpement this interface, they extend a class that doe

Re: OpenEJB with JUnit from NetBeans: NameNotFoundException

2008-10-08 Thread Bernhard Humm
This is what I did first, with the same effect: NameNotFoundException David Blevins wrote: > > > Instead of using the ant build.xml in NetBeans, try having NetBeans > run the test case directly. > > -David > > -- View this message in context: http://www.nabble.com/OpenEJB-with-JUnit-f

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 and

JNDI lookup in Tomcat

2008-10-08 Thread Zog
Hi 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 in ejb-jar.xml for ex for data sources), but non injected are failing - is this normal ? Specifically, one of m

weblogic support and

2008-10-08 Thread Zog
Hi I'm porting MDBs developed for weblogic into OpenEJB. I have the following issue. I declared the queues I use in openejb.xml, like destination My_Real_Queue and my weblogic.xml descriptors contain MyMDB My_JNDI_Queue If I use just this (hoping that OpenEJB will fully suppo

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 openejb