1 Reply Latest reply on Feb 1, 2012 2:39 AM by jaikiran pai

    Static ejb host to host remoting reconnect issue

    Björn Palmqvist Newbie



      In waiting for the dynamic way of doing this, we partly solved the problem with the static way of doing ejb lookups between hosts.


      We now have a problem if host A is connected to host B and host B must be restarted, then host A do not reconnect to host B and the only way of solving this is to restart host A too.


      Have I missed a configuration option for the connection or is it supposed to work this way?


      Our standalone.xml contains the following...


          <subsystem xmlns="urn:jboss:domain:remoting:1.1">

             <connector name="remoting-connector" socket-binding="remoting"/>


                 <remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb">


                        <option name="SSL_ENABLED" value="false"/>

                        <option name="SASL_POLICY_NOANONYMOUS" value="false"/>






      In the socket-binding-group:

         <outbound-socket-binding name="remote-ejb">

              <remote-destination host="localhost" port="34447"/>



      In the jboss-ejb-client.xml

          <jboss-ejb-client xmlns="urn:jboss:ejb-client:1.0">



                      <remoting-ejb-receiver outbound-connection-ref="remote-ejb-connection"/>





      Is there any way of getting the channel back up one it has closed?