:\projekte\HEAD\ed02\env\testframework\target\classes)
javax.naming.NamingException: Local server is not initialized
at
org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java
)
javax.naming.NamingException: Local server is not initialized
at
org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
On Sep 10, 2008, at 1:38 AM, Andreas Karalus wrote:
I want to test code that performs itself a InitialContext ctx = new
InitialContext(). This works well with jboss.embedded, but fails with
openejb.
For jboss.embedded we use a jndi.properties as configuration. so if
the file
is present in
david,
thank you very much!
I followed your hint and changed the jndi.properties for tests like you
suggested and everything works fine.
you are doing a great job here, thank you!
andreas
David Blevins wrote:
On Sep 10, 2008, at 1:38 AM, Andreas Karalus wrote:
I want to test code
in our code
where we do a new InitialContext(). whenever this code is reached while
openejb is running, I get a javax.naming.NamingException
INFO - Deployed
Application(path=D:\projekte\HEAD\ed02\env\testframework\target\classes)
javax.naming.NamingException: Local server is not initialized