tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Humm <>
Subject Re: OpenEJB with JUnit from NetBeans: NameNotFoundException
Date Fri, 17 Oct 2008 08:41:39 GMT

David Blevins wrote:
> It doesn't look like the app is getting discovered with the way it's  
> setup in NetBeans.  OpenEJB will search for directories or jars  
> containing a META-INF/ejb-jar.xml file and load those directories and  
> jars as individual ejb jars.  We have NetBeans users, so I know it's  
> capable of putting both the classes and the META-INF/ejb-jar.xml in  
> the same directory so that OpenEJB can discover them together as an  
> app.  We just need to figure out what might be happening with this  
> particular setup.

Thanks a lot, David,

now I got it working! I had to place the META-INF directory in the src
directory. It must then contain ejb-jar.xml and persistence.xml for using
entity beans and session beans.

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message