Forum: JRuby CancelledKeyException

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
486ca04f06d968004643ce5b47376ded?d=identicon&s=25 Keith B. (keith_b)
on 2013-05-13 20:25
(Received via mailing list)
Hi, all.  I'm writing a JRuby gem that wraps a Java library that does
networking stuff.  When I run rspec, after the tests all pass and I get
success output, I see the exception output I pasted into

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

Theo Hultberg (Guest)
on 2013-06-03 08:56
(Received via mailing list)
looks like you're using the "logging" gem and have some kind of
log appender which is raising the error (it's a java error because jruby
using the java libraries for implementing the IO and friends). the extra
ruby thread was probably created by the appender, and either the
doesn't clean up after itself, or the shutdown causes a situation which
appender didn't expect.

This topic is locked and can not be replied to.