Re: [jetty-users] What does this exception mean?

2022-07-25 Thread John English

On 25/07/2022 10:55, John English wrote:

On 25/07/2022 04:52, Greg Wilkins wrote:

How was the exception logged?

Normally we try to suppress such IO exceptions, as they can happen at 
any time if a client closes the connection (goes into a tunnel, closes 
laptop lid etc.).   But perhaps this one has slipped through.


I catch IOException in my webapp and ignore, but this one was from 
Jetty, not my webapp, so it hit my if-all-else-fails handler which sends 
me an email message when anything unhandled happens:


   
     java.lang.Exception
     /error
   


Incidentally, I have to handle IOException in my webapp because I quite 
often used to get "unexpected EOF" type errors reported by email. But 
since the IOException is normally wrapped inside a Jetty-specific 
exception, I have to deal with it as follows to avoid Jetty-specific 
code in my webapp:


catch (Throwable e) {
  if (e instanceof IOException ||
  e.getCause() instanceof IOException) {
...
  }
}

--
John English

--
This email has been checked for viruses by AVG.
https://www.avg.com

___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users


Re: [jetty-users] What does this exception mean?

2022-07-25 Thread John English

On 25/07/2022 04:52, Greg Wilkins wrote:

How was the exception logged?

Normally we try to suppress such IO exceptions, as they can happen at 
any time if a client closes the connection (goes into a tunnel, closes 
laptop lid etc.).   But perhaps this one has slipped through.


I catch IOException in my webapp and ignore, but this one was from 
Jetty, not my webapp, so it hit my if-all-else-fails handler which sends 
me an email message when anything unhandled happens:


  
java.lang.Exception
/error
  

--
John English

--
This email has been checked for viruses by AVG.
https://www.avg.com

___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users


Re: [jetty-users] What does this exception mean?

2022-07-24 Thread Greg Wilkins
How was the exception logged?

Normally we try to suppress such IO exceptions, as they can happen at any
time if a client closes the connection (goes into a tunnel, closes laptop
lid etc.).   But perhaps this one has slipped through.


On Thu, 21 Jul 2022 at 20:48, Simone Bordet  wrote:

> Hi,
>
> On Thu, Jul 21, 2022 at 12:30 PM John English 
> wrote:
> > java.io.IOException: Close
> > SendCallback@7c34392e
> [PROCESSING][i=HTTP/1.1{s=302,h=5,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@3b37d5e3
> ]
> > in state PROCESSING
>
> I'm guessing the client closed the connection while the server was
> writing a 302 redirect.
> --
> Simone Bordet
> ---
> Finally, no matter how good the architecture and design are,
> to deliver bug-free software with optimal performance and reliability,
> the implementation technique must be flawless.   Victoria Livschitz
> ___
> jetty-users mailing list
> jetty-users@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
>


-- 
Greg Wilkins  CTO http://webtide.com
___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users


Re: [jetty-users] What does this exception mean?

2022-07-21 Thread Simone Bordet
Hi,

On Thu, Jul 21, 2022 at 12:30 PM John English  wrote:
> java.io.IOException: Close
> SendCallback@7c34392e[PROCESSING][i=HTTP/1.1{s=302,h=5,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@3b37d5e3]
> in state PROCESSING

I'm guessing the client closed the connection while the server was
writing a 302 redirect.
-- 
Simone Bordet
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz
___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users


Re: [jetty-users] What does this exception mean?

2022-07-21 Thread John English

On 20/07/2022 17:34, Joakim Erdfelt wrote:

Not enough information to work with.

What Jetty version?


9.4.41


And what is the full stacktrace?


java.io.IOException: Close 
SendCallback@7c34392e[PROCESSING][i=HTTP/1.1{s=302,h=5,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@3b37d5e3] 
in state PROCESSING
at 
org.eclipse.jetty.util.IteratingCallback.close(IteratingCallback.java:428)

at org.eclipse.jetty.server.HttpConnection.onClose(HttpConnection.java:519)
at org.eclipse.jetty.io.ssl.SslConnection.onClose(SslConnection.java:363)
at 
org.eclipse.jetty.io.SelectorManager.connectionClosed(SelectorManager.java:345)
at 
org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint.run(ManagedSelector.java:1104)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036)

at java.lang.Thread.run(Thread.java:748)

--
John English

--
This email has been checked for viruses by AVG.
https://www.avg.com

___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users


Re: [jetty-users] What does this exception mean?

2022-07-20 Thread Joakim Erdfelt
Not enough information to work with.

What Jetty version?
And what is the full stacktrace?

Joakim Erdfelt / joa...@webtide.com


On Wed, Jul 20, 2022 at 4:26 AM John English  wrote:

> I know it's probably not significant, but this turned in my error log
> the other day and I have no idea what it means:
>
> java.io.IOException: Close
> SendCallback@7c34392e
> [PROCESSING][i=HTTP/1.1{s=302,h=5,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@3b37d5e3]
>
> in state PROCESSING
>
> Just curious!
> --
> John English
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> ___
> jetty-users mailing list
> jetty-users@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
>
___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users


[jetty-users] What does this exception mean?

2022-07-20 Thread John English
I know it's probably not significant, but this turned in my error log 
the other day and I have no idea what it means:


java.io.IOException: Close 
SendCallback@7c34392e[PROCESSING][i=HTTP/1.1{s=302,h=5,cl=-1},cb=org.eclipse.jetty.server.HttpChannel$SendCallback@3b37d5e3] 
in state PROCESSING


Just curious!
--
John English

--
This email has been checked for viruses by AVG.
https://www.avg.com

___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users