javax.naming.CommunicationException in JBoss 3.0.0

Discussions

EJB programming & troubleshooting: javax.naming.CommunicationException in JBoss 3.0.0


  1. I am using:

      Sun JDK 1.4.0_01
      Windows 2000
      JBoss 3.0.0

    I deployed a single Session EJB to JBoss 3.0.0

    I wrote a simple client application that performs a JNDI lookup for the
    bean's home interface

    The JNDI lookup (and subsequent cast) results in a "timed out" error message.

    The JNDI server is running on localhost, port 1099. The client application
    is configured to connect to localhost port 1099.

    javax.naming.CommunicationException: Receive timed out. Root exception is java.net.SocketTimeoutException: Receive timed out
    at java.net.PlainDatagramSocketImpl.receive(Native Method)
    at java.net.DatagramSocket.receive(DatagramSocket.java:670)
    at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:919)
    at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:997)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:436)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.foobar.FooAccessor.createHomeObject(FooAccessor.java:51)


    How can I fix this issue?

    Threaded Messages (3)

  2. i want to know too[ Go to top ]

    i want to know too
  3. I also want to know![ Go to top ]

    There are plenty of people out there who have encountered this error, but not many answers out there!
  4. I also want to know![ Go to top ]

    Are you using Windows? If yes, try to restart your machine.