Bug#895866: tomcat8: Errors thrown when connecting to default HTTP connector (localhost:8080)

Michael Welsh Duggan mwd at md5i.com
Tue Apr 17 01:19:47 BST 2018


Package: tomcat8
Version: 8.5.30-1
Severity: normal

Dear Maintainer,

I had recently done an apt-get updgrade, and afterward I cannot connect
to localhost:8080, where I run a solr instance.  The logs have me
failing with the following error thrown:

    16-Apr-2018 19:57:50.564 SEVERE [http-nio-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)

The container is configured thusly:

    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

Tomcat 8 is running under the following Java:
    openjdk version "1.8.0_162"
    OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-1-b12)
    OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)

I have attached a full log from starting tomcat8 until the failed server
request.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tomcat8 depends on:
ii  adduser                3.117
ii  debconf [debconf-2.0]  1.5.66
ii  lsb-base               9.20170808
ii  tomcat8-common         8.5.30-1
ii  ucf                    3.0038

Versions of packages tomcat8 recommends:
ii  authbind       2.1.2
ii  libtcnative-1  1.2.16-1

Versions of packages tomcat8 suggests:
pn  tomcat8-admin     <none>
pn  tomcat8-docs      <none>
pn  tomcat8-examples  <none>
pn  tomcat8-user      <none>

-- debconf information:
  tomcat8/username: tomcat8
  tomcat8/javaopts: -Djava.awt.headless=true -XX:+UseConcMarkSweepGC
  tomcat8/groupname: tomcat8

-- 
Michael Welsh Duggan
(md5i at md5i.com)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20180416/c127f619/attachment-0001.ksh>


More information about the pkg-java-maintainers mailing list