tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36155] - tomcat chooses wrong host if using mod_jk
Date Thu, 12 Jan 2006 19:58:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36155>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36155





------- Additional Comments From skoehler@upb.de  2006-01-12 20:58 -------
Created an attachment (id=17404)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17404&action=view)
testcase for the problem i described

There are two hosts in tomcat: host1 and host2
They point to /tmp/host1 and /tmp/host2 (which is also in the tgz)
There are two hosts in apache: host1/alias1 and host2/alias2
There are two workers defined, but only one is in use from both virtualhosts
Put the line "127.0.0.1 host1 host2 alias1 alias2" in /etc/hosts

If you run "./test.sh alias1" and "./test.sh alias2" in two terminals you
should see only "host1" in one window, and "host2" in the other window.

What i experience is, that "./test.sh alias2" output "host1" sometimes - or
"./test.sh alias1" outputs "host2". When i change apache's virtualhosts to use
two different workers, the problem is gone.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message