1 Reply Latest reply on Oct 19, 2005 8:10 AM by Ben Wang

    Farm not replicating an updated WAR file

    John Prout Newbie

      I am running a JBoss cluster with 2 members, running JBoss 4.0.2. and JDK 1.4.2_09 The configuration is very close to the "all" configuration in the standard distribution.

      I am having intermittent problems where a WAR file deployed in the "farm" directory on one cluster member is not being copied to the other cluster member.

      On the server where the WAR file is updated, the WebApp is redeployed. On the other server, the WebApp is undeployed but never deployed again. I expect that the reason it isn't redeployed is that the WAR file isn't copied to the farm directory (by the JBoss farm), even though the previous version of the WAR file is deleted.

      I fixed the problem by deleting the WAR file from the first server, where it deployed successfully. Standard Undeploy messages on this server, and an undeploy message on the other server, where it never deployed, which is interesting...

      Next I redeployed the WAR file (again) on the first server and the webApp was successfully redeployed on BOTH servers this time - like I said, the problem is intermittent :-(

      Has anyone else experienced this problem or have any ideas what might be causing it?

      I don't have much information about what's going on yet - what logging should I turn on to find some clues?

      Thanks in advance