https://issues.apache.org/bugzilla/show_bug.cgi?id=43968

--- Comment #5 from qingkang xu <xuqingka...@163.com> 2011-05-26 09:19:16 UTC 
---
I used ipv6_for_1230.patch on 64bit's linux OS, But it also failed when
workers.properties file's host is ipv6 address.

my works.properties is like following:
-----------
worker.list=lb1

worker.ci1.type=ajp13
worker.ci1.host=2001::178
worker.ci1.port=18009
worker.ci1.lbfactor=50
worker.ci1.socket_connect_timeout=3000

worker.ci2.type=ajp13
worker.ci2.host=2001::178
worker.ci2.port=28009
worker.ci2.lbfactor=50
worker.ci2.socket_connect_timeout=3000

worker.lb1.type=lb
worker.lb1.balance_workers=ci1,ci2
worker.lb1.sticky_session=false
worker.lb1.sticky_session_force=false
worker.lb1.retries=0
-----------

I patched the ipv6_for_1230.patch and rebuilded jk
----
$patch -p1 < ipv6_for_1230.patch
$cd tomcat-connector-1.2.30-src/native
$CFLAGS="-m64" ./configure --with-apxs=$apache2.2.15_root/bin/apxs && make &&
make install
$$apache2.2.15_root/bin/apachectl -k start
----

then,vi $apache2.2.15_root/logs/mod_jk.log, Threr are following error messages
---
ajp_validate::jk_ajp_common.c (2619): worker ci1 can't resolve tomcat address
2001::178
ajp_validate::jk_ajp_common.c (2624): worker ci1 contact is disabled
...

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

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

Reply via email to