Date: 14 Feb 2003 10:24:33 +0100 From: "Georg-W. Koltermann" <g.w.k@web.de> To: Geoff Coleman <freebsd@ugc.ab.ca> Cc: Alexey Zelkin <phantom@FreeBSD.org.ua>, freebsd-java@freebsd.org Subject: [SUCCESS] Re: IPV6 vs IPV4 (Re: JDK14 Patchset 2 and Oracle JDBC Drivers) Message-ID: <1045214673.812.18.camel@hunter.muc.mscsoftware.com> In-Reply-To: <3E4BB8C1.12849.ECECF1B@localhost> References: <3E4A7C9D.14549.9FBDFA6@localhost> <3E4BB8C1.12849.ECECF1B@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
(re-adding -java to CC:) Thanks a lot Geoff, with that change I can now start up Tomcat 4.1.18 with JDK14, launch the application that we are developing, and connect to the database. -- Regards, Georg. Am Do, 2003-02-13 um 23.24 schrieb Geoff Coleman: > Georg and Alexey > > I think the e-mail below explains a whole buch. I'm not running IPV6 currently although > it is configured into my kernel ( I did remove it from my kernel last night but it didn't help > my problem). > > > in net_util_md.c if I put in a: > return JNI_FALSE; > > At the start of IPv6_supported() > > things start working a whole lot better for me (I can now go the the netbeans update > and update the IDE, it crashes when I restart it but that is for another day :-) ). > > > Geoff > > > > > > On 13 Feb 2003 at 19:11, Georg-W. Koltermann wrote: > > > Geoff, > > > > it works for me, although the output of running it in jdk14 looks a > > little suspicious (I modified the program to quit after reading one null > > line, when I stop sending it input): > > > > hunter[85]$ java -version > > java version "1.3.1-p7" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-gwk-030207-09:20) > > Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) > > hunter[86]$ java receiver > > INA: localhost/127.0.0.1 > > Server Socket opened: ServerSocket[addr=localhost/127.0.0.1,port=0,localport=62001] > > PAst accept > > hi > > ho > > null > > hunter[87]$ > > > > (continuing in another window with different PATH): > > > > hunter[39]$ java -version > > java version "1.4.1-p2" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p2-gwk_12_feb_2003_16_32) > > Java HotSpot(TM) Client VM (build 1.4.1-p2-gwk_12_feb_2003_14_08, mixed mode) > > hunter[40]$ java receiver > > INA: localhost/0:0:0:0:0:0:0:1 > > Server Socket opened: ServerSocket[addr=localhost/0:0:0:0:0:0:0:1,port=0,localport=62001] > > PAst accept > > hi > > ho > > null > > hunter[41]$ uname -a > > FreeBSD hunter.muc.mscsoftware.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 30 23:11:35 CET 2003 gwk@hunter.muc.mscsoftware.com:/usr/src/sys/i386/compile/HUNTER i386 > > hunter[42]$ > > > > > > So it seems JDK14 is using IPv6 while JDK131 uses IPv4. > > > > And when I remove the IPv6 address: > > > > hunter# ifconfig lo0 inet6 delete ::1 > > hunter# ifconfig lo0 > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > > inet 127.0.0.1 netmask 0xff000000 > > hunter# > > > > (continuing in the JDK14 window): > > > > hunter[43]$ java receiver > > INA: localhost/0:0:0:0:0:0:0:1 > > new server socket: java.net.BindException: Can't assign requested address > > Exception in thread "main" java.lang.NullPointerException > > at receiver.<init>(receiver.java:59) > > at receiver.main(receiver.java:81) > > hunter[44]$ > > > > Now, when I remove the IPv6 entry for localhost in /etc/hosts: > > > > hunter[44]$ java receiver > > INA: localhost/127.0.0.1 > > new server socket: java.net.BindException: Can't assign requested address > > Exception in thread "main" java.lang.NullPointerException > > at receiver.<init>(receiver.java:59) > > at receiver.main(receiver.java:81) > > hunter[45]$ > > > > And the JDK131 still works. > > > > Tired for today, going home. Maybe I'll check my email later again from home. > > > > -- > > Thanks, > > Regards, > > > > Georg. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1045214673.812.18.camel>