Re: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-22 Thread John Turner
internet there is not a configuration example of running different webapps on 2 domains on the same Tomcat instance, there must be hundreds of people doing it? Thanks David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED] Sent: 21 August 2003 15:39 To: Tomcat Users List

Re: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-22 Thread John Turner
Advice: Forget about servlets. Forget about serving all content from a servlet. Too many variables, causing you too much confusion. Take it one step at a time. First: set up Tomcat so that you have 2 virtual hosts. Each virtual host needs a SEPARATE appBase. If BOTH virtual hosts are to b

Re: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-22 Thread John Turner
David Wynter wrote: Hi, It seems that the second VirtualHost I have set up for my second domain name is not paasing the requests through mod_jk to Tomcat. It is not even clear that you can support 2 virtualhosts for different domains with the same IP address and port 80. This is a separate proble

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-22 Thread David Wynter
Hi, I have read dozens of archived posts on virtualhost. I have distilled my httpd.conf and server.xml back to what seems to be the recommended approach, see below. But now I can see no sites on any URL. I have a suspicous "End event threw exception" in the catalina.out log, which suggests a probl

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
this. I need some sleep. Regards, David > -Original Message- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: 21 August 2003 20:39 > To: Tomcat Users List > Subject: Re: 2 VirtualHosts same IP address and port on Tomcat not > working > > > > Did you remov

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
of people doing it? Thanks David > -Original Message- > From: David Wynter [mailto:[EMAIL PROTECTED] > Sent: 21 August 2003 15:39 > To: Tomcat Users List > Subject: RE: 2 VirtualHosts same IP address and port on Tomcat not > working > > > Actually I should

Re: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread John Turner
Did you remove the Context entries for some reason? They are critical. Also, in httpd.conf you have: # Static files Alias /rwsite "/usr/local/tomcat/webapp1/rwsite" and later JkMount /rwsite/servlet/* worker1 JkMount /rwsite/*.vm worker1 Thus, the URLs that Apache would expect would

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Actually I should qualify what I said. I have stpenable as the default Host so you can see www.stpenable.com/se/servlet/se/templates/index.vm but for some reason you cannot see www.roamware.co.uk/rwsite/servlet/rwsite/templates/index.vm which is the second of the VirtualHosts in my conf file. They

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Sent: 21 August 2003 14:59 > To: Tomcat Users List > Subject: Re: 2 VirtualHosts same IP address and port on Tomcat not > working > > > > I think there's some confusion...you only need this in workers.properties: > > # BEGIN workers.properties > worker.list=ajp13

Re: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread John Turner
I think there's some confusion...you only need this in workers.properties: # BEGIN workers.properties worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 ".host" = "location of Tomcat" When I first started trying to connect Tomcat and Apache a year ago, I

2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Hi,. I have read John Turner HowTo and the Galatea ones too. I have tried multiple different combinations of these. I found John's assetion that Tomcat does not generate multi VirtualHosts, but you can take the generated one, insert at the bottom of the httpd.conf and modify it to work. I know mod