colinsurprenant / redstorm

JRuby on Storm
Other
298 stars 56 forks source link

jars in gems #86

Closed colinsurprenant closed 11 years ago

colinsurprenant commented 11 years ago

There seems to be a classloading issue for jar included in gems, as reported in issue #81. Verify if this is specific to java.sql.DriverManager or problematic for all classes in gem jars.

Also, building the cluster topology jar will result in including the gem jars into the cluster topology jar. jar-in-jar typically don't work but since this is within the JRuby context which calls require on the jar - how is this going to work?

colinsurprenant commented 11 years ago

specific to java.sql.DriverManager and jars in gems are correctly loaded on require. Note that classes loaded by the JRuby classloaded will not be visible to a Java container or any code which uses the system classloader.