0 Replies Latest reply on May 8, 2002 8:26 PM by Emil Andresen III

    Sporadic 'Operation timed out' on JDNI lookup

    Emil Andresen III Newbie

      Greetings,

      We have a sporadic problem that seems to be getting worse under increasing loads. The error occurs while trying to lookup an EJB. We are running Cold Fusion with JVM 1.3.1_01 as J2EE client and JBOSS 2.4.4 with same java version on separate servers.

      On the client machine we get:

      javax.naming.ServiceUnavailableException: Operation timed out: connect [Root exception is java.net.ConnectException: Operation timed out: connect]

      From the JBOSS server log we get:

      [12:36:26,003,NamingService] Error writing response
      java.net.SocketException: Connection reset by peer: socket write error
      at java.net.SocketOutputStream.socketWrite(Native Method)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
      at java.io.ObjectOutputStream.drain(ObjectOutputStream.java:1463)
      at java.io.ObjectOutputStream.setBlockData(ObjectOutputStream.java:1486)
      at java.io.ObjectOutputStream.resetStream(ObjectOutputStream.java:566)
      at java.io.ObjectOutputStream.(ObjectOutputStream.java:160)
      at org.jnp.server.Main.run(Main.java:265)
      at java.lang.Thread.run(Thread.java:484)

      Has anyone encountered this? A search on Google for the string "javax.naming.ServiceUnavailableException: Operation timed out" returns zero hits.

      Does this sound like a potential performance problem? Any advice would be greatly appreciated.

      Thanks,

      Emil