You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/11/30 10:03:57 UTC

[Bug 60433] New: java.nio.BufferOverflowException at java.nio.HeapByteBuffer.put(Unknown Source)

https://bz.apache.org/bugzilla/show_bug.cgi?id=60433

            Bug ID: 60433
           Summary: java.nio.BufferOverflowException at
                    java.nio.HeapByteBuffer.put(Unknown Source)
           Product: Tomcat 9
           Version: 9.0.0.M13
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: sean.wrynn@citylearning.com
  Target Milestone: -----

Created attachment 34491
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34491&action=edit
An error log from Tomcat9 containing 4 records in one second, possibly covering
2 requests (2 errors each)

This bug may be similar to 60372, but I'm not strong enough in this area to
know if its the same. Feel free to delete or modify if so.

I am building an archival system on a LAN to host old webapps from production
servers slated for decommissioning. Our business line once required us to make
new Java webapps as a matter of routine, fortunately now we usually add static
content to a smaller number of existing webapps.

This new system is based on Tomcat 9.0.0.M13, unlike production versions which
are all various versions of Tomcat 5, 6 and 7, which are all working fine. Like
our production servers, it will have a large number of webapps, unlike
production servers, it will rarely if ever have more than 2 concurrent users. I
have the following information about the host machine:

Dell OptiPlex 780USFF
Windows 7 32 bit
Intel Core2Duo E7500, 4GB Ram
Java is Version 8 Update 111, build 1.8.0_111-b14
Accessed directly by HTTP connector (e.g. http://machinename:8080), AJP is not
being used here.

I copied a number of webapps from a production server to this server weeks ago,
but since that time have not added any more, only configured each one to adapt
to the new environment, updating database drivers, editing web.xml in each etc.
For reasons that are to me unclear, the whole thing began misbehaving
yesterday.

The symptoms affect mainly pages that require active processing, servlets and
jsp files, though static pages can be affected as well. They include, browsers
complaining that the "The connector was reset" or simply not able to see the
server at all (which can affect both static and dynamic pages), also sometimes
pages do run but with images or style sheets missing, especially dynamic pages. 

The error logs record extensive details in each instance, each time recording
an error of type: BufferOverflowException at
java.nio.HeapByteBuffer.put(Unknown Source). I've included a log file
containing 4 errors that occurred in one second during testing yesterday. I
think it covers 2 individual requests during that second, 2 errors each. From
yesterday evening on these became regular occurrences.

Unfortunately I cannot advise how to reproduce this, mainly because I have no
idea what caused it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60433] java.nio.BufferOverflowException at java.nio.HeapByteBuffer.put(Unknown Source)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60433

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Violeta Georgieva <vi...@apache.org> ---
Hi,

The issue is the same as 60372.

Regards,
Violeta

*** This bug has been marked as a duplicate of bug 60372 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60433] java.nio.BufferOverflowException at java.nio.HeapByteBuffer.put(Unknown Source)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60433

Sean <se...@citylearning.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
                 CC|                            |sean.wrynn@citylearning.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org