2 Replies Latest reply on Sep 3, 2004 1:29 AM by jaded

    Look up stateless session bean

    jaded

      I've made one client program that makes 40-50 threads.
      These threads simultaneouly look up same stateless session bean.
      Sometime in between 2 or 3 threads throws an execption and rest of
      them execute successfully.
      The exception thrown is:

      Error:javax.naming.CommunicationException: Receive timed out
      [Root exception is java.io.InterruptedIOException: Receive timed out]
      javax.naming.CommunicationException: Receive timed out.
      Root exception is java.io.InterruptedIOException: Receive timed out
      Error:javax.naming.CommunicationException: Receive timed out
      [Root exception is java.io.InterruptedIOException: Receive timed out]

      Application Server used is jboss 3.2.5
      Please suggest some solution.