On Tuesday, January 27, 2015 15:50 CET, Stuart Henderson <st...@openbsd.org> wrote: > On 2015/01/27 14:13, Sebastian Reitenbach wrote: > > Building Java eats up quite a bit of resources, however, would it be an > > option to > > also hook up the with_ipv6 FLAVOR to bulk builds, or alternatively, make > > this the default? > > Hook up the flavour? Possibly, though it will increase my levels of > grumpiness with the intermittent build failures on i386. > > Switch the default to the with_ipv6 version which binds to v6 sockets > only? No, IPv4 is still far more important at this stage. > > Java does actually have support for OS where binding to v6 doesn't > automatically get you v4 connections, see about "separate-stack" in > http://docs.oracle.com/javase/8/docs/technotes/guides/net/ipv6_guide/ > - iirc Windows is like this too. But it doesn't seem to be used here.. > With the with_ipv6 flavor of java, I don't get it to startup at all, however I try to specify the IP to listen on, I get:
tried 0.0.0.0, ::, ::0 [::] [::0], I gave the hostname, and also left out the configuration at all (where it picked 127.0.0.1 as default) I also tried starting it up with the -Djava.net.preferIPv6Addresses=true and/or -Djava.net.preferIPv6Stack=true however, don't get it to work. Also tried to bind it to IPv4 this way, but to no avail. Building that with_ipv6 flavor, doesn't seem to be helpful. Sebastian 2015-01-28 10:25:06,354 WARN [o.e.j.u.c.AbstractLifeCycle] FAILED ServerConnector@19cb3c7{SSL-HTTP/1.1}{0.0.0.0:8081}: java.net.SocketException: Invalid argument java.net.SocketException: Invalid argument at sun.nio.ch.Net.socket0(Native Method) ~[na:1.7.0_71] at sun.nio.ch.Net.serverSocket(Net.java:427) ~[na:1.7.0_71] at sun.nio.ch.ServerSocketChannelImpl.<init>(ServerSocketChannelImpl.java:88) ~[na:1.7.0_71] at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:56) ~[na:1.7.0_71] at java.nio.channels.ServerSocketChannel.open(ServerSocketChannel.java:105) ~[na:1.7.0_71] at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:276) ~[puppetdb.jar:na] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[puppetdb.jar:na] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:218) ~[puppetdb.jar:na] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [puppetdb.jar:na] at org.eclipse.jetty.server.Server.doStart(Server.java:336) [puppetdb.jar:na] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [puppetdb.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71] ...