Your message dated Tue, 4 May 2010 21:43:42 +0200
with message-id <[email protected]>
and subject line Re: Bug#560056: »net.ipv6.bindv6only=1 breaks java networking« 
still present in 6b18-1.8-2
has caused the Debian Bug report #560056,
regarding net.ipv6.bindv6only=1 breaks java networking
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
560056: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openjdk-6-jdk
Version: 6b16-1.6.1-2
Severity: important

Netbase has recently introduced the sysctl-setting
net.ipv6.bindv6only=1 in /etc/sysctl.d/bindv6only.conf and this setting
will probably be the default in squeeze.

This setting breaks networking in java, and any traffic will for openjdk
always result in a "java.net.NoRouteToHostException: Network is
unreachable".

It should probably be an rc-bug, but setting as important for now, since
users can easily rectify the issue.

Quick fix for users hit by this:

sudo sed -i 's/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/' \
/etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart


This is present in both Sun's Java6 and OpenJDK6.

cheers, 
Heikki



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openjdk-6-jdk depends on:
ii  dpkg                   1.15.5.4          Debian package management system
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libgcc1                1:4.4.2-3         GCC support library
ii  libx11-6               2:1.3.2-1         X11 client-side library
ii  openjdk-6-jre          6b16-1.6.1-2      OpenJDK Java runtime, using Hotspo
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages openjdk-6-jdk recommends:
pn  libxt-dev                     <none>     (no description available)

Versions of packages openjdk-6-jdk suggests:
pn  openjdk-6-demo                <none>     (no description available)
pn  openjdk-6-source              <none>     (no description available)
pn  visualvm                      <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
On Tue, May 4, 2010 at 9:19 PM, Paul Menzel <[email protected]> wrote:
> Shoot. Have I messed up the Java version because I choose to use OpenJDK
> for my project and Eclipse is using Sun’s Java from non-free?
>
>        $ java -version
>        java version "1.6.0_20"
>        Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
>        Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
>
> Please advice, how to proceed and sorry if I got this wrong!

Please use update-alternatives to switch to OpenJDK. I am closing this
bug again. (There are separate bug reports for sun-java6.)

Torsten


--- End Message ---

Reply via email to