Hello,

I ve been trying to launch OpenEJB as an embeddable container for JUnit
tests, but I keep getting the following error:

Cannot instantiate class:
org.apache.openejb.client.LocalInitialContextFactory
javax.naming.NoInitialContextException
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
...


I am using OpenEJB 3.1, and when I checked the library, the
"LocalInitialContextFactory" class 
is missing but the "RemoteInitialContextFactory" is available and I could
run the tests remotely, 
but not locally.

I ve been searching forums but could find solution to this problem. 
Can anyone please tell me what is the problem?


-- 
View this message in context: 
http://www.nabble.com/OpenEJB-3.1-as-embeddable-container-tp25936338p25936338.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to