Error - CancelledKeyException
book
Article ID: KB0075734
calendar_today
Updated On:
Description
We're seeing the following in our logs:
com.streambase.sb.sbd.net.NetServer - Main acceptor has exception: CancelledKeyException"
Can you give us any potential causes of this exception or even a description of what this exception tells us?
Resolution
There are two likely scenarios:
- A client opened a connection to the StreamBase Server URI, and immediately closed it while the server was getting the remote socket address to complete the connection, or:
- The connection was closed by a third party, e.g. 'sbadmin killConnection' was used, or a network device was reset.
In either case, the client involved should report that the connection was lost, and if programmed to do so, reconnect.
Issue/Introduction
Error - CancelledKeyException
Feedback
thumb_up
Yes
thumb_down
No