Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the log4j gem a hard requirement or does log4j just need to be on the classpath #71

Open
rtyler opened this issue Nov 14, 2014 · 1 comment

Comments

@rtyler
Copy link

rtyler commented Nov 14, 2014

When using jruby-gradle to build JRuby-based Storm topology jars that need to be uploaded into a running Storm cluster, I've got the challenge of log4j already being pulled in as a transitive dependency of other libraries for the topology jar.

I'm wondering if the require 'log4j' is necessary in java_base.rb or if the requirement is that log4j.jar is somewhere in the JVMs classpath

This is perhaps somewhat related #63

@slyphon
Copy link
Contributor

slyphon commented Nov 15, 2014

honestly, it's been over 2 years since I've run the JRuby jar in anger.
Zookeeper has a dependency on log4j being present, so I included it. I'm
not sure what the particulars of the require 'log4j' are in terms of its
effect on the classpath, it's just too long ago for me to remember the
details.

Maybe try running the code sans require line and see what happens?

Sorry I don't have more insight for you.

On Fri, Nov 14, 2014 at 12:12 PM, R. Tyler Croy [email protected]
wrote:

When using jruby-gradle to build JRuby-based Storm topology jars that
need to be uploaded into a running Storm cluster, I've got the challenge of
log4j already being pulled in as a transitive dependency of other libraries
for the topology jar.

I'm wondering if the require 'log4j' is necessary in java_base.rb or if
the requirement is that log4j.jar is somewhere in the JVMs classpath

This is perhaps somewhat related #63
#63


Reply to this email directly or view it on GitHub
#71.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants