try removing the jndi.properties. It's probably making your lookups go through tcp/ip outside the jboss vm.
That may be so, but when I don't have the jndi.properties, the lookup throws a communication exception and doesn't even manage to connect to JBoss' JNDI.
Is there something I can put in jndi.properties or in the InitialContext's hash map parameter that would allow me to specify in-JVM lookups?
> try removing the jndi.properties. It's probably
> making your lookups go through tcp/ip outside the
> jboss vm.
Maybe it's the servlet 2.3 classloading model. Does your jndi.properties look like this?
# Do NOT uncomment this line as it causes in VM calls to go over