You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Todd Huss <th...@greatschools.net> on 2005/06/02 18:39:14 UTC

Clustering without farmwardeployer

We have a Tomcat cluster setup across 9 servers with clustering for session
replication. However, we are not using the farmwardeployer because we have
our own script that we use to shutdown each tomcat, deploy a fix version,
and then start it up again so we don't incur any downtime. However, we're
seeing some very unusual behavior.

After shutting down one node, deleting contents of webapps and work
directories, dropping in a new war, and restarting, the new files that get
exploded in the webapps directory are not those of the war dropped into the
webapps directory. They are instead the files from the previous war which is
no longer on the local filesystem. 

It leads me to believe that even though we have the farmwardeployer turned
off, that when we start tomcat in clustered mode, rather than exploding the
local war, it's getting the contents of the war from another node.

Any ideas?

Thanks,
Todd


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Clustering without farmwardeployer

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
Two suggestions:

1. Make sure the farm war deployer is really turned off, and by the way, 
the farm war deployer doesn't deploy into webapps, instead into the dir 
you specify in server.xml
2. Check your scripts again, chances are you are the one redeploying 
your own old code.

Filip



Todd Huss wrote:

>We have a Tomcat cluster setup across 9 servers with clustering for session
>replication. However, we are not using the farmwardeployer because we have
>our own script that we use to shutdown each tomcat, deploy a fix version,
>and then start it up again so we don't incur any downtime. However, we're
>seeing some very unusual behavior.
>
>After shutting down one node, deleting contents of webapps and work
>directories, dropping in a new war, and restarting, the new files that get
>exploded in the webapps directory are not those of the war dropped into the
>webapps directory. They are instead the files from the previous war which is
>no longer on the local filesystem. 
>
>It leads me to believe that even though we have the farmwardeployer turned
>off, that when we start tomcat in clustered mode, rather than exploding the
>local war, it's getting the contents of the war from another node.
>
>Any ideas?
>
>Thanks,
>Todd
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org