Forum: JRuby CancelledKeyException

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

8c21306523b16ba5dd35c3549bf90994?d=identicon&s=25 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.

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.