0 Replies Latest reply on Jun 23, 2008 5:49 AM by slimamar

    Socket keep alive with client EJB and RMI over HTTP

    slimamar

      As described in this topic :
      http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148258#4148258
      using version 2.4.0 of Remoting and the parameter 'invokerDestructionDelay', the same socket connection is reused for all client requests to the Server.
      This works fine with the socket transport.

      Now, we want to use the HTTP transport. The parameter 'invokerDestructionDelay' is taken into account and the HTTPClientInvoker is not removed but the socket is closed at each call.

      What's wrong, in the JBoss Remoting Guide i don't see any parameter for HTTP client invoker and by default with HTTP/1.1 the connections are persistent.

      Thanks in advance.