-
1. Re: Struts Actions and java: namespace
davidjencks Mar 20, 2003 11:24 PM (in response to sdrw98)try removing the jndi.properties. It's probably making your lookups go through tcp/ip outside the jboss vm.
-
2. Re: Struts Actions and java: namespace
sdrw98 Mar 21, 2003 11:33 AM (in response to sdrw98)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. -
3. Re: Struts Actions and java: namespace
davidjencks Mar 21, 2003 1:23 PM (in response to sdrw98)Maybe it's the servlet 2.3 classloading model. Does your jndi.properties look like this?
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!
#java.naming.provider.url=localhost