It depends.  I had a similar frustrating experience on my own system (Tomcat
on Debian) getting a war deployed in the root context.

Depending on the system's configuration, there's the ROOT.xml descriptor, a
ROOT.war somewhere, possibly an override for the ROOT.xml in a /etc/tomcat
directory.

Anywhere you look, be sure you distinguish between actual files and links.

I assume you are trying to use the root context - sometimes the easiest
answer is to replace the stock ROOT.war with your own application.

Have fun!


> -----Original Message-----
> From: Marinus Maris [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 29, 2008 12:34
> To: Tapestry users
> Subject: War file deploy problem on remote server
> 
> Hi,
> 
> OK, I got my Tapestry application to run on my local machine. Now I want
> to deploy on a web server. But whatever I do, it seems that I cannot set
> similar setting at that remote machine (the system manager over there is
> getting nuts as wel). I either get a white page, or, when I get the
> Start page, it cannot find any other page, because it adds "myapp" to
> the path of the url. As a result, I get no where.
> 
> As far as I get it, we have to do:
> 1. The mlwizz.war file. This needs to uploaded to the directory
> indicated by the "appBase" from server.xml.
> 2. In the directory conf/Catalina/myname.com/ there we have to add the
> context path to the war file. In my local machine I see a Root.xml. But
> this does not seems to work for the remote machine. What is the name of
> this xml file? (Root or myapp) and what is the context path?
> 
> These are my server.xml settings:
> <Host name="mlwizz.com"
>   appBase="/home/web82d/domains/myname.com/tomcat" unpackWARs="true"
> autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
> <Context path="/manager" debug="0" privileged="true"
> docBase="/home/web82d/tomcat/tomcat/webapps/manager">
> </Context>
> <Context path="/docs" debug="0" privileged="true"
> docBase="/home/web82d/tomcat/tomcat/webapps/docs">
> </Context>
> </Host>
> 
> Thanks for any help
> 
> Marinus
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to