Public bug reported:

Testing tomcat8 (8.5.30-1ubuntu1) with openjdk-8-jdk-headless on Ubuntu
bionic I noticed the following error when connecting to Tomcat on the
default HTTP connector:

25-Apr-2018 13:44:00.135 SEVERE [http-nio-127.0.0.1-8080-exec-1] 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading 
request, ignored
 java.lang.NoSuchMethodError: 
java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
        at 
org.apache.coyote.http11.Http11InputBuffer.init(Http11InputBuffer.java:688)
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:672)
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)

This same configuration was working ~2 weeks ago in early 2018-04.
Looking at the tomcat8 publishing history for Ubuntu bionic[0] I see the
package was recently synced from Debian sid. There is currently an open
bug for this in Debian[1], the resolution of which states that tomcat8
8.5.30-1 was compiled with OpenJDK 9 and therefore will not run with
OpenJDK 8.

[0] https://launchpad.net/ubuntu/+source/tomcat8/+publishinghistory
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895866

** Affects: tomcat8 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: tomcat8 (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #895866
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895866

** Also affects: tomcat8 (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895866
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766882

Title:
  tomcat8: Errors thrown when connecting to default HTTP connector
  (localhost:8080)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1766882/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to