This content has been marked as final.
Show 3 replies
-
1. Re: How to make server's JNDI 1099 connection?
paradisonoir Nov 26, 2007 10:28 PM (in response to mcjava1967)change your jndi.prpperties to
### JBossNS properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interface -
2. Re: How to make server's JNDI 1099 connection?
mcjava1967 Nov 29, 2007 9:39 AM (in response to mcjava1967)Well, thanks very much for the suggestion, but I'm afraid I still get the same error. I overwrote the jndi.properties files in ...default\conf and ...all\conf, but no luck. (That is what you meant, right?)
I'll repost in newbies and JNDI forums...
Thanks! -
3. Re: How to make server's JNDI 1099 connection?
changemylife Dec 2, 2007 6:58 AM (in response to mcjava1967)If you use Eclipse to create EJB app. Inside your EJB project has jndi.properties. Go to and edit it:
change your jndi.prpperties to... java.naming.provider.url=jnp://localhost:1099
You also use InitialContext to edit connection to any urls.