Re: Local server is not initialized

2008-09-10 Thread Jean-Louis MONTEIRO
:\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

Re: Local server is not initialized

2008-09-10 Thread Jean-Louis MONTEIRO
) 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

Re: Local server is not initialized

2008-09-10 Thread David Blevins
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

Re: Local server is not initialized

2008-09-10 Thread Andreas Karalus
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

Local server is not initialized

2008-09-09 Thread Andreas Karalus
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