On Dec 18, 2013, at 1:40 PM, André Warnier <a...@ice-sa.com> wrote:

> Jesse Barnum wrote:
>> On Dec 18, 2013, at 12:27 PM, Jesse Barnum <jsb_tom...@360works.com> wrote:
>>> I'm seeing this error a lot in my log files. It happens when I am trying to 
>>> read from the request InputStream. Should I be concerned about this, or is 
>>> it just the equivalent of the user clicking 'stop' in their browser?
>>> 
>>>> SEVERE: An error occurred while handling request 
>>>> /WSMRegister/LicenseCheck/handshake
>>>> java.io.EOFException
>> Forgot to mention, I'm running version 7.0.35 on Ubuntu Linux on Amazon EC2.
> 
> Well, it seems that you have the explanation right there.
> If "com.prosc.licensecheck.LicenseCheck.doPost" is your code, then that's 
> where the problem is : you are trying to read from the request input stream, 
> when there is no more data to read and you have already seen it's EOF.
> Why there is no more data to read is another question, and it could be that 
> the client did something wrong.  But the code in those classes who do the 
> read, obviously is not coping well with that case.
> 

Yes, com.prosc.licensecheck.ListCheck.doPost is my code. It would not be hard 
to catch the exception there and ignore it.

I guess another way to phrase the question is, "what would cause a 
java.io.EOFException to get thrown?" I don't want to ignore it if it's trying 
to tell me something important.

I am used to seeing "ClientAbortException: java.net.SocketException: Broken 
pipe". Is the EOFException basically the same thing? My concern is that there 
might be some misconfiguration between the Apache front end and the Tomcat NIO 
connector that might be causing it.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to