Re: Three hostnames in one instance of tomcat

2006-09-15 Thread Mark Thomas
Eric Berry wrote: >> This will fail in later versions of Tomcat 5. appBase should not equal >> docbase. The correct configuration is: >> >> >> > > Does this mean that there must be a "ROOT" directory under > "/opt/projects/www/host1/web"? Yes. Mark ---

Re: Three hostnames in one instance of tomcat

2006-09-15 Thread Eric Berry
This will fail in later versions of Tomcat 5. appBase should not equal docbase. The correct configuration is: Does this mean that there must be a "ROOT" directory under "/opt/projects/www/host1/web"? In my current configuration I have "/opt/projects/www/host1/web/[index.jsp,jsp/,html/,ima

Re: Three hostnames in one instance of tomcat

2006-09-14 Thread Mark Thomas
Eric Berry wrote: > Here's the jist of what I have: > > > This will fail in later versions of Tomcat 5. appBase should not equal docbase. The correct configuration is: Mark - To start a new topic, e-mail: users@tomca

Fwd: Three hostnames in one instance of tomcat

2006-09-14 Thread Eric Berry
-- Forwarded message -- From: Eric Berry <[EMAIL PROTECTED]> Date: Sep 14, 2006 11:11 AM Subject: Re: Three hostnames in one instance of tomcat To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> In the ${tomcat_instance}/conf/server.xml files just change the sin

Re: Three hostnames in one instance of tomcat

2006-09-13 Thread Eric Berry
I have my development box setup how I think you want yours done (though, I only access it locally from that machine). The 3 hosts should have separate app bases and the context paths should be empty (meaning the default path). What you've done up there should work if you have your hosts file point

Re: Three hostnames in one instance of tomcat

2006-09-13 Thread Ben Stringer
I'm interested to hear other ideas, but I have used multiple entries to achieve this. In my case, each hostname has a dedicated IP and a DNS entry. Having multiple service entries allows you to have separation of almost all the config elements, like ports, appbase, logging etc. Cheers, Ben On W

RE: Three hostnames in one instance of tomcat

2006-09-13 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Three hostnames in one instance of tomcat > > Users would hit URL's such as: > > http://host1/ > http://host2/ > http://host3/ What version (exactly) of Tomcat are you using? For versions 5.0 and 5.5,

Three hostnames in one instance of tomcat

2006-09-13 Thread gurkan
I want to configure Tomcat so that I can have three hostnames live on the same physical machine, but each have their own separate areas. with one instance of Tomcat? Users would hit URL's such as: http://host1/ http://host2/ http://host3/ where each host should have its own webapps directory on