[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: War file deploy problem on remote server
From:       Marinus Maris <marinus.maris () magiad ! nl>
Date:       2008-09-29 20:29:31
Message-ID: 48E13AAB.9060308 () magiad ! nl
[Download RAW message or body]

Thanks for your answers. Yes indeed the solution is to create a new 
Maven project (I use Netbeans), call it ROOT. Copy the src directory of 
the project you wanted to deploy but didn't work into the src dir of 
this new project. Now create the ROOT.war and dump that into the appBase 
directory. I also have the ROOT.xml in the conf/Catalina subdir, with 
content:
<?xml version="1.0" encoding="UTF-8"?>
<Context path=""/>

This works and that's all I wanted.

Thanks and regards

Marinus Maris


Norman Franke schreef:
> I've successfully deployed to the root using Tomcat. I just created 
> ROOT.war and dropped it in the webapps directory. It seemed to work 
> without any configuration changes.
>
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
>
> On Sep 29, 2008, at 1:27 PM, Jonathan Barker wrote:
>
>>
>> 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:marinus.maris@magiad.nl]
>>> 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: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic