Yoav,
Thanks for your feedback. My findings are interleaved below.
Bill.
Question 1: Is this hosts-file approach feasible? Does tomcat care HOW
domain names
are mapped to IP addresses?
It's more of a Java networking question that Tomcat question. I'm not
sure how java's InetAddress class
Laba diena.
Dkojame, kad mums parate.
Js atsista inut isaugota ms duomen bazje.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
The mapping of domain names to ip's is done (as usual) in the IP stack.
Thus, using the /hosts /files on
tomcat client and server boxes works fine for development scenarios
where you do not want to
expose you production domain names to the Internet via DNS. I
originally
asked the question
Hi,
1. In development, the clients and tomcat will be on an intranet. I
plan
to use the hosts files of the client and tomcat boxes to map domain
names to IP addresses, thereby preempting invocation of DNS, and thus
exposure of our product-specific domain names to the Internet at-large,
until the
I did something similar with mine. I have a server on an intranet. I have
my host file setup with names that point to the same ip address. apache is
setup with virtual host, each virtual host represents a name (dev1, dev2,
qa, stage) something like that. worker2.properties file has those
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Subject: RE: Virtual Hosting Questions
It's more of a Java networking question that Tomcat question. I'm not
sure how java's InetAddress class likes hosts files: my guess
is they're ignored.
Using the hosts file is the responsibility
you can see it in the logs too ..
INFO | jvm 1 | 2004/11/17 15:09:03 | Nov 17, 2004 3:09:03 PM
org.apache.jk.common.ChannelSocket init
INFO | jvm 1 | 2004/11/17 15:09:03 | INFO: JK2: ajp13 listening on
/0.0.0.0:9009
I seem to recall seeing code in some component of Tomcat that
Bill,
I believe I know what you are trying to do. I have
done the a smiliar thing. Let me answer your
questions one at a time.
I need to set up a few virtual hosts for a
development project, and
being new to Tomcat virtual hosts, have a couple of
questions:
By virtual hosts, I assume you
Nikola Milutinovic [EMAIL PROTECTED] writes:
hello,
If you're running Tomcat-standalone, then you need Host elements,
but in Warp it should work without them. I think Warp Engine should
ignore Host elements. Or maybe it doesn't. Maybe it is used to
setup different appBase-s for each of the