Hide Forgot
Jython and JRuby does not work when used in Camel routes. JRuby jar file does not contain any classes. Jython is missing dependencies - at least - Guava - Jython - antlr-runtime There are three solutions to this situation 1) We do not support it - REMOVE the libs 2) We do not support it but want it as TP - FIX and mark in release notes as TP 3) We do support it - FIX
This is probably caused by a GAV change for the JRuby classes in question. Can we find the correct GAV for newer JRuby?
Which version is the "newer" JRuby we want? The IP BOM has it at 1.7.2 and based on the empty jar name in FSW, it looks like we want 1.7.5? If so, that version appears to be available in Central: http://repo1.maven.org/maven2/org/jruby/jruby/1.7.5/
Fixed by SHA 54a2f06988890d5f3baa5d67b3f7006f5d2d3541 in build
In addition to removing the jython and jruby modules, the camel-script module.xml needs to be updated to remove dependencies on those modules: <module name="org.python" export="true"> <imports> <include path="META-INF/services" /> </imports> <exports> <include path="META-INF/services" /> </exports> </module> <module name="org.jruby" export="true"> <imports> <include path="META-INF/services" /> </imports> <exports> <include path="META-INF/services" /> </exports> </module>
Further fixes under SHA b35849ff24c13648a7280c2e801bf86c05ad911b
Verified in CR1