Andreas,
Seems like you are still using JBoss InitialContext implementation.
Did you set your system properties to use OpenEJB InitialContextFactory ?
Properties properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY,
Andreas,
As far as I know, the InitialContext (from your JDK) has a kind of failback
mechanism.
If no properties are used (new InitialContext() or new
InitialContext(null)), a set of properties will be built using env params,
applet params, system params and then jndi.properties params.
So from
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