[jboss-user] [EJB/JBoss] - Re: javax.naming.CommunicationException: Receive timed out

jaikiran do-not-reply at jboss.com
Thu Sep 28 05:20:03 EDT 2006


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





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974805#3974805

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974805



More information about the jboss-user mailing list