Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: openjdk11 and tomcat
On Tue, 30 Jun 2020 15:17:52 +0100
David Brownlee <abs%absd.org@localhost> 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.
Home |
Main Index |
Thread Index |
Old Index