Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
Hello, I am experiencing problems with my tomcat setup. I suspect my application was deployed twice but I am not sure. Here is the relevant part from my server.xml: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread André Warnier
Julien Martin wrote: Hi. It will probably be useful for anyone wanting to help you, to know which version of Tomcat you are talking about. Also on which platform, athough one can kind of guess that. But it's time-consuming and error-prone to have to make guesses. With my limited knowledge and

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
Thanks a lot for your reply, Tomcat version: 6.0.18 Platform: linux centos I'll try the suggested solution and keep you posted... Julien. 2009/2/15 André Warnier a...@ice-sa.com Julien Martin wrote: Hi. It will probably be useful for anyone wanting to help you, to know which version of

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Hassan Schroeder
On Sun, Feb 15, 2009 at 8:33 AM, Julien Martin bal...@gmail.com wrote: I'll try the suggested solution and keep you posted... You might also find the virtual hosting how-to in the docs useful. FWIW, -- Hassan Schroeder hassan.schroe...@gmail.com

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
Thanks but the suggested solution does not work. Now when I point my browser to http://www.jeanbaptistemartin.com I land on the tomcat manager app... Any one has any other idea? In the meantime I am going to have a look at the virtual hosts documentation as suggested by Hassan. Julien. 2009/2/15

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
I read the documentation and tried the following configuration: Engine name=Catalina defaultHost=jeanbaptistemartin.com !--For clustering, please take a look at documentation at: /docs/cluster-howto.html (simple how to) /docs/config/cluster.html (reference

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Hassan Schroeder
On Sun, Feb 15, 2009 at 9:09 AM, Julien Martin bal...@gmail.com wrote: I now get a 404 tomcat error. 1) don't post config files full of commented-out example stuff. We've all seen it, it isn't relevant, and it makes it hard to read the parts that /are/ relevant. 2) are you sure your

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread André Warnier
Julien Martin wrote: I now get a 404 tomcat error. Any one could please help? We're trying. But you are not making it easy, by making several changes at once and then not telling us about it until it is too late. First, you have already modified the standard Tomcat configuration, by

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
THANKS A LOT ANDRÉ!! After reading your detailed reply, I followed your suggestion: ROOT.war and removed all unnecessary stuff from server.xml. It now works!! All the best, Julien. 2009/2/15 André Warnier a...@ice-sa.com Julien Martin wrote: I now get a 404 tomcat error. Any one could

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread André Warnier
Julien Martin wrote: THANKS A LOT ANDRÉ!! After reading your detailed reply, I followed your suggestion: ROOT.war and removed all unnecessary stuff from server.xml. It now works!! All the best, Julien. We live to serve. À votre service ! (J'en suis tout content moi-même. Cela prouve qu'on