2 Replies Latest reply on Nov 5, 2002 4:32 PM by willy

    JNDI Setup

    willy

      Hello,

      I'm trying to run a simple JMS program. JBoss, the message producer, and the message consumer are all running in separate VMs on the same machine. When I run either the producer or consumer after starting JBoss, I get:

      "javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]"

      The "jndi.properties" file used by all 3 is the default:
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

      Any thoughts on how to fix this?

      Thanks!