We are a BI platform that we distribute to our clients as a jar file
contains our web server. We develop in JRuby, then have a build process
that constructs a jar that bootstraps jruby, loads our ruby files (all
compiled to .class files), and runs a web server.
I’m trying to diagnose a crash bug that is taking down our web server,
in the process of checking out thread dumps I noticed something strange.
One aspect of our app is a scheduler that performs regular tasks. This
scheduler runs in its own ruby thread. What I’m confused about is the
difference between this thread’s dump between jruby and the jar.
This is not related to my crash bug (which deserves its own post), but I
found it peculiar that the thread dump varies when no other thread dump
does, and really the loading process from a java perspective is
the same. There may not be enough information here to know but…is this