tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Humm <>
Subject OpenEJB with JUnit from NetBeans: NameNotFoundException
Date Wed, 08 Oct 2008 08:26:35 GMT

I am trying to use OpenEJB with JUnit from NetBeans IDE. This is what I have

1. Download and from and unzip.
2. Open new NetBeans Java Project with Existing Sources (source and test
directories from openejb-examples)
3. Add openejb-3.0/lib/* as source and test libraries (also needs libs as
source libraries for compilation
4. Execute build.xml (default)

The project is being built and the JUnit tests start running. However, I get
an javax.naming.NameNotFoundException for all EJBs. The EJBs seem not to be
registered in the name server. Providing an JNDI name using
(MappedName="...") does not help either.

What can I do?

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

View raw message