Created attachment 22616 [details] files used to reproduce issue When trying to deploy a war to a cluster, it seems that the war will deploy locally when placed in the listener directory, however, it seems that either there is some corruption when moving the war across the wire, or the deployer on the target node is not able to properly unpack and read the files inside. Pertinent portion of the log from the target node is attached. I can provide any other info as needed, but not sure what else would be pertinent. The test.war is simply a war'd copy of the default Tomcat Manager web app. To reproduce: 1. Configure two nodes two make up a SimpleTCPCluster (version 6.0.18 was used) 2. From either node, drop test.war into the listen directory Results: * test.war will be deployed locally * test.war will be copies to the webapps directory on the target * test.war will not fully deploy on the target Expected results: * war unpacked and deployed locally * copied to each node in the cluster * war unpacked and deployed on each node of the cluster
That's correct, in 6.0.x the deployer no longer works. it broke somewhere during 5.5.x when the deployer was rebuilt. the fix is to go back to 5.0.x strategy, where the files are copied to a temp directory and deployed from there. but that is work that is to be done. contributions happily accepted. best Filip
I've fixed the issues issues I could see in the FarmWarDeployer. Any additional testing much appreciated. I will propose the fix for inclusion in 6.0.x.
I can definitely test that more. If this ends up in the next point release, I'll upgrade my development environment and test.
*** Bug 42681 has been marked as a duplicate of this bug. ***
This has been fixed in 6.0.x and will be in 6.0.19 onwards.