You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sf...@keasdesign.net on 2006/08/23 17:14:28 UTC
Deploying web app over cluster.
Hello,
I am having some trouble getting a web app to deploy over a cluster.
Node 1 is a Linux box, with /tmp/war-listen, /tmp/war-deploy, /tmp/war-temp
Node 2 is a Windows box, with c:/tomcat5.5/tmp/war-listen etc..
The log file shows "...org.apache.catalina.cluster.deploy.FarmWarDeployer - Installing webapp[/appName] From /tmp/war-deploy/appName.war"
The next line shows " ...org.apache.catalina.cluster.deploy.FarmWarDeployer - Cluster wide remove of of web app /appName
The web app has the <distributable/> tag in web.xml, and bother cluster node server.xml files have:
Linux Version:
<Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
tempDir="/tmp/war-temp/"
deployDir="/tmp/war-deploy/"
watchDir="/tmp/war-listen/"
watchEnabled="true"/>
Windows Version:
<Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
tempDir="c:/tomcat5.5/tmp/war-temp/"
deployDir="c:/tomcat5.5/tmp/war-deploy/"
watchDir="c:/tomcat5.5/tmp/war-listen/"
watchEnabled="true"/>
Any suggestions or resources would be greatly appreciated.
--
Steven Bell
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Deploying web app over cluster.
Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
a recent change in 5.5, deploy dir must be your webapps directory, we'll
revise this again in 6.0
sfbell@keasdesign.net wrote:
> Hello,
>
> I am having some trouble getting a web app to deploy over a cluster.
> Node 1 is a Linux box, with /tmp/war-listen, /tmp/war-deploy, /tmp/war-temp
> Node 2 is a Windows box, with c:/tomcat5.5/tmp/war-listen etc..
>
> The log file shows "...org.apache.catalina.cluster.deploy.FarmWarDeployer - Installing webapp[/appName] From /tmp/war-deploy/appName.war"
> The next line shows " ...org.apache.catalina.cluster.deploy.FarmWarDeployer - Cluster wide remove of of web app /appName
>
> The web app has the <distributable/> tag in web.xml, and bother cluster node server.xml files have:
> Linux Version:
> <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
> tempDir="/tmp/war-temp/"
> deployDir="/tmp/war-deploy/"
> watchDir="/tmp/war-listen/"
> watchEnabled="true"/>
> Windows Version:
> <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
> tempDir="c:/tomcat5.5/tmp/war-temp/"
> deployDir="c:/tomcat5.5/tmp/war-deploy/"
> watchDir="c:/tomcat5.5/tmp/war-listen/"
> watchEnabled="true"/>
>
> Any suggestions or resources would be greatly appreciated.
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org