4 Replies Latest reply on Feb 12, 2003 12:27 PM by falkue




      I've got JBoss running on a RedHat 7.3 Linux machine. I'm working on a W2k machine. Now if I deploy my beans from W2k everything is fine. But if I run my testclient from w2k I've got the following error:
      javax.naming.CommunicationException: Receive timed out. Root exception is java.io.InterruptedIOException: Receive timed out

      at java.net.PlainDatagramSocketImpl.receive(Native Method)

      at java.net.DatagramSocket.receive(DatagramSocket.java:392)

      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:930)

      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1017)

      at org.jnp.interfaces.NamingContext.list(NamingContext.java:639)

      at org.jnp.interfaces.NamingContext.list(NamingContext.java:632)

      at javax.naming.InitialContext.list(InitialContext.java:390)

      at de.sam.webordersystem.shoppingcart.CartTestClient1.(CartTestClient1.java:44)

      at de.sam.webordersystem.shoppingcart.CartTestClient1.main(CartTestClient1.java:718)

      The testclient's context is initialized by the following Properties (where bordeaux is the RH 7.3 machine):
      Properties properties = new Properties();
      properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
      properties.put(Context.PROVIDER_URL, "ldap://bordeaux:1099");

      //get naming context
      Context ctx = new InitialContext(properties);

      I think I cannot access the RH machine on port 1099. The network is ok and RH 7.3 don't running a firewall. What do I have to do? Do I have to open port 1099 on my w2k machine?
      Can somebody help me?