4 Replies Latest reply on Mar 27, 2015 2:43 PM by rafi syed

    Connection reset by peer during EJB invocations

    rafi syed Newbie

      Hi All,

       

      We have built an application which has components deployed across two wildfly instances (Main & Slave) on different physical servers. These two components talk to each other using EJB.

       

      #1 - The Main server enlists all registered slaves from a database and connects to each using Scoped EJB context periodically and executes some EJB methods. This runs in a managed scheduled executor at a specified interval.

       

      #2 - Each slave needs to communicate to the Main server to fulfill requests. As part of the above request the slave invokes different EJB on the Main server to fetch some data. This is done using the approach mentioned here - EJB invocations from a remote server instance - WildFly 8 - Project Documentation Editor.

       

      Now in one of our slaves (running on a Mac) the above sequence fails. Below are trace logs from Main Server and Slave server. We also see "Connection reset by peer" logs on the Slave server in jboss console.

       

      Appreciate if someone could help us on this. We have been trying to figure the cause since 3 days almost.

       

      Thanks in advance,

      Syed Md Rafi

       

      Message was edited by: rafi syed Please find the slave logs