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- > >> F

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 : On Fri, Nov 30, 2012 at 2:12 PM, Christopher Schultz wrote: OP never posted the whole XML, so we don't know that it's definitely not well-formed. Good point -- sho

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: ... ... Notice that I nested the virtual host definition within the host definition tags of the default host. So, therefore it did not wor

Re: Tomcat with multiple domains

2012-11-30 Thread Hassan Schroeder
On Fri, Nov 30, 2012 at 2:12 PM, Christopher Schultz 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 :-) -- Hassan Schroeder --

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: ... name="Cat

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 > wrote: > >> I'm unaware of a technique to allow partial structural validity >> (say, element nesting) without also explicitly specifying w

Re: Tomcat with multiple domains

2012-11-30 Thread Hassan Schroeder
On Fri, Nov 30, 2012 at 1:50 PM, Christopher Schultz 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 XML, and any decent text e

Re: Tomcat with multiple domains

2012-11-30 Thread Christopher Schultz
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 mentioned but it still does not work. So >>> here a

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 the

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. Actua

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 ent

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 UR

Re: Tomcat with multiple domains

2012-11-28 Thread Paul van Hoven
frey 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

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 ( >

Re: Tomcat with multiple domains

2012-11-27 Thread Konstantin Kolinko
2012/11/28 Paul van Hoven : > > 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 two lines are invalid. ---

Re: Tomcat with multiple domains

2012-11-27 Thread Paul van Hoven
.@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 that old. &

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 compl

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 to