RE: Tomcat with multiple domains

2012-12-03 Thread Jeffrey Janner
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, November 30, 2012 9:11 AM To: Tomcat Users List Subject: Re: Tomcat with multiple domains Jeffrey Janner wrote: -Original Message- From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com

Re: Tomcat with multiple domains

2012-12-01 Thread Paul van Hoven
Thank you guys for your great help. It was indeed an error in the xml that I entered in the server.xml file. I put something like this: Server port=8005 shutdown=SHUTDOWN ... Service name=Catalina ... Engine name=Catalina defaultHost=localhost Host name=localhost appBase=webapps

Re: Tomcat with multiple domains

2012-12-01 Thread André Warnier
Paul, you shouldn't top-post. It makes it hard to follow the logical gist of the conversation. 2012/11/30 Hassan Schroeder hassan.schroe...@gmail.com: On Fri, Nov 30, 2012 at 2:12 PM, Christopher Schultz ch...@christopherschultz.net wrote: OP never posted the whole XML, so we don't know

RE: Tomcat with multiple domains

2012-11-30 Thread Jeffrey Janner
-Original Message- From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Sent: Wednesday, November 28, 2012 5:29 PM To: Tomcat Users List Subject: Re: Tomcat with multiple domains Hi! Thanks for your quick and detailed answers. Actually I think I did all the things you

Re: Tomcat with multiple domains

2012-11-30 Thread André Warnier
Jeffrey Janner wrote: -Original Message- From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Sent: Wednesday, November 28, 2012 5:29 PM To: Tomcat Users List Subject: Re: Tomcat with multiple domains Hi! Thanks for your quick and detailed answers. Actually I think I did all

Re: Tomcat with multiple domains

2012-11-30 Thread Christopher Schultz
with multiple domains Hi! Thanks for your quick and detailed answers. Actually I think I did all the things you mentioned but it still does not work. So here are the changes I made: 1. I checked that the following entries are in the engine tag: Server port=8005 shutdown=SHUTDOWN

Re: Tomcat with multiple domains

2012-11-30 Thread Hassan Schroeder
On Fri, Nov 30, 2012 at 1:50 PM, Christopher Schultz ch...@christopherschultz.net wrote: I'm unaware of a technique to allow partial structural validity (say, element nesting) without also explicitly specifying which attributes are allowed. Wait, what? The OP's example isn't even well-formed

Re: Tomcat with multiple domains

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 11/30/12 5:04 PM, Hassan Schroeder wrote: On Fri, Nov 30, 2012 at 1:50 PM, Christopher Schultz ch...@christopherschultz.net wrote: I'm unaware of a technique to allow partial structural validity (say, element nesting) without also

Re: Tomcat with multiple domains

2012-11-30 Thread André Warnier
List Subject: Re: Tomcat with multiple domains Hi! Thanks for your quick and detailed answers. Actually I think I did all the things you mentioned but it still does not work. So here are the changes I made: 1. I checked that the following entries are in the engine tag: Server port=8005 shutdown

Re: Tomcat with multiple domains

2012-11-30 Thread Hassan Schroeder
On Fri, Nov 30, 2012 at 2:12 PM, Christopher Schultz ch...@christopherschultz.net wrote: OP never posted the whole XML, so we don't know that it's definitely not well-formed. Good point -- should have asked for the whole file before jumping to that conclusion. But it certainly looked sketchy

Re: Tomcat with multiple domains

2012-11-29 Thread André Warnier
Hi. Here is a brief tutorial on how the virtual host thing works. (I find that many times, reminding someone of these basic things helps in diagnosing things quickly). 1) the browser is given a URL to retrieve, say http://myhost.mycompany.com:8080/home.html; 2) the browser parses this URL

Re: Tomcat with multiple domains

2012-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 11/28/12 6:29 PM, Paul van Hoven wrote: Thanks for your quick and detailed answers. Actually I think I did all the things you mentioned but it still does not work. So here are the changes I made: 1. I checked that the following entries

Re: Tomcat with multiple domains

2012-11-28 Thread Paul van Hoven
. 2012/11/27 Jeffrey Janner jeffrey.jan...@polydyne.com: -Original Message- From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Sent: Tuesday, November 27, 2012 2:13 PM To: Tomcat Users List Subject: Re: Tomcat with multiple domains Thanks for the answer. I followed

Re: Tomcat with multiple domains

2012-11-27 Thread Paul van Hoven
is extracted from the war file. So what else am I missing here? 2012/11/22 Caldarale, Charles R chuck.caldar...@unisys.com: From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Subject: Tomcat with multiple domains I found the following tutorial (very old) on the web: http://onjava.com

Re: Tomcat with multiple domains

2012-11-27 Thread Konstantin Kolinko
2012/11/28 Paul van Hoven paul.van.ho...@googlemail.com: I edited the /etc/hosts file and added the following entries: 88.84.140.88www.2nddomain.com:8080 88.84.140.88www.1rstdomain.com:8080 Domain Name Service resolves host names. A port number is not part of a host name. The above

RE: Tomcat with multiple domains

2012-11-27 Thread Jeffrey Janner
-Original Message- From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Sent: Tuesday, November 27, 2012 2:13 PM To: Tomcat Users List Subject: Re: Tomcat with multiple domains Thanks for the answer. I followed the tutorial you propose ( http://wiki.apache.org/tomcat

Tomcat with multiple domains

2012-11-21 Thread Paul van Hoven
Hi! I'm trying to setup virtual hosts for my single tomcat webserver. I've got the following setup: Apache Tomcat 7.0.32 running on a server with one IP address. I forward any requests coming in on port 80 to port 8080 and from 443 to 8443 with a firewall rule. I have 2 domains and I would like

RE: Tomcat with multiple domains

2012-11-21 Thread Caldarale, Charles R
From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Subject: Tomcat with multiple domains I found the following tutorial (very old) on the web: http://onjava.com/pub/a/onjava/2006/08/30/publishing-multiple-sites-using-single-tomcat.html Probably best to completely ignore anything