Re: openjdk11 and tomcat
Hi, With lang/openjdk11-1.11.0.10.9nb1, www/apache-tomcat9 works for me now. Please update lang/openjdk11 to the latest and try again. Thank you. David Brownlee writes: > On Tue, 30 Jun 2020 at 21:26, Tobias Nygren wrote: >> >> On Tue, 30 Jun 2020 15:17:52 +0100 >> David Brownlee wrote: >> >> > [... apache-tomcat & wildfly issues...] >> > This is amd64 under netbsd-9, and netbsd-9 binaries running under a >> > current kernel. >> >> There something wrong with non-blocking I/O (possibly kqueue >> related). You don't need to debug it with tomcat, it can be reproduced >> by running jtreg on the openjdk test suite. There are also some other >> test cases that fail on NetBSD that need to be analyzed and fixed. > > Ah, thanks. Is this something that maybe a bounty might help towards > rewarding someone to take a look? > > David -- Ryo ONODERA // r...@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Re: openjdk11 and tomcat
On Tue, 30 Jun 2020 at 21:26, Tobias Nygren wrote: > > On Tue, 30 Jun 2020 15:17:52 +0100 > David Brownlee wrote: > > > [... apache-tomcat & wildfly issues...] > > This is amd64 under netbsd-9, and netbsd-9 binaries running under a > > current kernel. > > There something wrong with non-blocking I/O (possibly kqueue > related). You don't need to debug it with tomcat, it can be reproduced > by running jtreg on the openjdk test suite. There are also some other > test cases that fail on NetBSD that need to be analyzed and fixed. Ah, thanks. Is this something that maybe a bounty might help towards rewarding someone to take a look? David
Re: openjdk11 and tomcat
On Tue, 30 Jun 2020 15:17:52 +0100 David Brownlee wrote: > Can anyone run a listening webserver under openjdk11 (eg: > apache-tomcat, wildfly)? > > Whenever I try it never seems to handle any connections, but > everything works under openjdk8. > > Its easy to test with packages from pkgsrc: > Install openjdk8 openjdk11 apache-tomcat9 > > # env JRE_HOME=/usr/pkg/java/openjdk8 /etc/rc.d/tomcat onestart > # ftp -o - http://localhost:8080/ > (happy output) > > # /etc/rc.d/tomcat onestop > > # env JRE_HOME=/usr/pkg/java/openjdk11 /etc/rc.d/tomcat onestart > # ftp -o - http://localhost:8080/ > Trying 127.0.0.1:8080 ... > Requesting http://localhost:8080/ > (some time passes) > ftp: Receiving HTTP reply: EOF received > > This is amd64 under netbsd-9, and netbsd-9 binaries running under a > current kernel. There something wrong with non-blocking I/O (possibly kqueue related). You don't need to debug it with tomcat, it can be reproduced by running jtreg on the openjdk test suite. There are also some other test cases that fail on NetBSD that need to be analyzed and fixed.
openjdk11 and tomcat
Can anyone run a listening webserver under openjdk11 (eg: apache-tomcat, wildfly)? Whenever I try it never seems to handle any connections, but everything works under openjdk8. Its easy to test with packages from pkgsrc: Install openjdk8 openjdk11 apache-tomcat9 # env JRE_HOME=/usr/pkg/java/openjdk8 /etc/rc.d/tomcat onestart # ftp -o - http://localhost:8080/ (happy output) # /etc/rc.d/tomcat onestop # env JRE_HOME=/usr/pkg/java/openjdk11 /etc/rc.d/tomcat onestart # ftp -o - http://localhost:8080/ Trying 127.0.0.1:8080 ... Requesting http://localhost:8080/ (some time passes) ftp: Receiving HTTP reply: EOF received This is amd64 under netbsd-9, and netbsd-9 binaries running under a current kernel. Thanks David