Howdy -
BrB looks like a great tool and I'm excited to use it. I can get BrB to work just fine when I'm using the standard ruby interpreter ("ruby"/MRI). When I start up the service, I see that the service is listening on the socket I specified:
ruby 29263 jps 8u IPv4 0x12669ee8 0t0 TCP localhost:6005 (LISTEN)
However, in my application I really need to start up the service inside a jruby process. When I do this, the verbose logging output (e.g. [BrB] Start service on brb://localhost:6005, [BrB] Service started on brb://localhost:6005) comes out like I'd expect, but the socket is immediately in a CLOSED state:
java 34272 jps 33u IPv4 0x1d3fdb58 0t0 TCP localhost:6005 (CLOSED)
Has anyone had this issue, and if so any ideas on a solution?
Incidentally, I did already use
https://github.com/jruby/jruby/wiki/FAQs to get around the fact that jruby wants to use ipv6 by default for localhost sockets.
Thanks, JP