0 Replies Latest reply on Jan 4, 2007 12:27 PM by viniciuscarvalho

    JRMP question (again)

    viniciuscarvalho

      Hello there! Sorry about asking same ol' again, but this error keep happening:

      2007-01-04 14:00:07,108 INFO [STDOUT] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
       java.net.SocketTimeoutException: Read timed out]
      2007-01-04 14:00:07,108 INFO [STDOUT] at x.x.x.servicelocator.EJBServiceLocator.getLocalHome(EJBServiceLocator.java:75)
      2007-01-04 14:00:07,109 INFO [STDOUT] at x.x.x.sessionfacade.x.x.xxx(xxxBean.java:146)
      2007-01-04 14:00:07,109 INFO [STDOUT] ... 86 more
      2007-01-04 14:00:07,134 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract x.x.x.x.x.x.getxxx(java.lang.String) throws xxx.xxxException,java.rmi.RemoteException:
      java.lang.RuntimeException: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
       java.net.SocketTimeoutException: Read timed out]
      


      Any reason why my jrmp connection would be timed out? happens for certain EJBs only (we do not have any lock on them).

      Changing a bit, how long does a stub holds a connection to the server (I believe it lasts only through the method call right?)?
      Does it has any type of keep alive mechanism?

      Best regards