Date: Wed, 27 Feb 2008 18:44:52 GMT From: Chris St Denis <chris@smartt.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121149: www/tomcat* choaks on ip6 Message-ID: <200802271844.m1RIiqia043760@www.freebsd.org> Resent-Message-ID: <200802271850.m1RIo1Gv042759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121149 >Category: ports >Synopsis: www/tomcat* choaks on ip6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 27 18:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Chris St Denis >Release: FreeBSD 7 >Organization: SmarttNet >Environment: FreeBSD carbon.smartt.com 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Mon Feb 25 11:51:25 PST 2008 cstdenis@carbon.smartt.com:/usr/obj/usr/src/sys/CARBON i386 >Description: Starting Tomcat causes "java.net.BindException: Can't assign requested address" errors. After spending several hours searching I found that it seems to have problems with IP6 and needs to be forced to IP4. The other person with the problem was running tomcat 5.5 under RELENG_6 and I am using tomcat 4.1 under RELENG_7_0 so this probably affects all Tomcat on FreeBSD >= 6. IMO the solution of jakarta_tomcat55_java_opts="-Djava.net.preferIPv4Stack=true" should be default, or at least mentioned in the pkg_message. Or perhaps a ports fix of some sort be applies a the java port level. Mailing list reference with the solution: http://lists.freebsd.org/mailman/htdig/freebsd-java/2005-November/004623.html >How-To-Repeat: >Fix: jakarta_tomcat55_java_opts="-Djava.net.preferIPv4Stack=true" in rc.conf >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802271844.m1RIiqia043760>