1 Reply Latest reply on Oct 13, 2010 4:59 AM by kconner

    FileGateway problem in a cluster (possibly also affects the FTPGateway)

    massios

      Hello,

       

      We noticed a problem in our ESB cluster that is not fatal but I was wondering if anyone has any ideas.

       

      We have a FileGateway in our esb. The jboss-esb.xml describes that the esb should look for a file in a specific folder. The problem is that if you have N nodes each with the same version of your esb deployed then all N nodes will attempt to perform the same operation. One of the N servers will succeed while the rest will fail with exceptions similar to the ones I attach to this.

       

      Is there a way to tell the ESB that only the Master node in the cluster should try to look for the file so that this doesn't happen?

       

      Nikos