tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: virtual hosts in Tomcat and Apache
Date Tue, 15 Jul 2003 12:27:21 GMT

Yes, in general you need a VirtualHost in httpd.conf for all virtual hosts 
in server.xml.  Otherwise, AFAIK, Tomcat will use the defaultHost defined 
in the Engine container, which is typically set to "localhost" by default.

John

On Tue, 15 Jul 2003 13:17:03 +1000, <achana@saysit.com> wrote:

> Hi again, Apache2+Tomcat+mod_jk working find until...
> I used a virtual host directive in server.xml, that's fine; but
> When I start adding virtual hosts in Apache, one for each developer's
> directory, I got following error message :
> ********
> RemoteORAClient: set URL to http://www.myhost.com/myhost/RemoteORAServer
> java.io.FileNotFoundException:
> http://www.myhost.com/myhost/RemoteORAServer
> at sun.net.www.protocol ...bla
> ********
> As soon as I remove the virtual host directives in APACHE2, all okay
> again.
> I am beginning to wonder whether I need a corresponding virtual host in
> Server.xml for each virtual host in Apache2 ???
> Where do I start with this problem, I coded the a2s and I don't remember
> hardcoding any FQDN anywhere... ???
> But errare humanum est
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message