This content has been marked as final.
Show 4 replies
-
1. Re: javax.naming.CommunicationException: Receive timed out
mounir Apr 8, 2004 8:17 AM (in response to taman)you must vérify this syntaxe:
JNDIParm.put(Context.PROVIDER_URL, "localhost"); -
2. Re: javax.naming.CommunicationException: Receive timed out
boxhead Apr 28, 2004 10:42 PM (in response to taman)HEY TAMAN, EVER SOLVE THIS PROBLEM? I AM HAVING THE SAME ONE.
-
3. Re: javax.naming.CommunicationException: Receive timed out
nusum.siva Sep 28, 2006 5:11 AM (in response to taman)Hello TAMAN ,if u get the solution for this problem plz send it to me
-
4. Re: javax.naming.CommunicationException: Receive timed out
jaikiran Sep 28, 2006 5:20 AM (in response to taman)Please provide more details as to when are you seeing this exception. What is the code that you are using to do the lookup. The Context.PROVIDER_URL should be:
jnp://localhost:1099
assuming that the EJB is deployed on the local machine.
If you are using jndi.propeties then it should contain:java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=jnp://localhost:1099