CancelledKeyException

Hi, all. I’m writing a JRuby gem that wraps a Java library that does
some
networking stuff. When I run rspec, after the tests all pass and I get
the
success output, I see the exception output I pasted into
https://gist.github.com/keithrbennett/5570290.

Anyone know what’s up with this?

Also, it says “RubyThread-14”. I’m only running in 1 thread. The Java
library may be creating additional threads – would they be named
“RubyThread”?

Thanks,
Keith

looks like you’re using the “logging” gem and have some kind of
networked
log appender which is raising the error (it’s a java error because jruby
is
using the java libraries for implementing the IO and friends). the extra
ruby thread was probably created by the appender, and either the
appender
doesn’t clean up after itself, or the shutdown causes a situation which
the
appender didn’t expect.

T#