-
-
Notifications
You must be signed in to change notification settings - Fork 921
-
-
Notifications
You must be signed in to change notification settings - Fork 921
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
jopenssl/load - Unable to deploy on jBoss 7.1.1.Final using jRuby 1.7.10 #1413
Comments
is there any white space in deploy directory somehow involved (just to make |
@mkristian no. I had noticed the other similar tickets involving white space and double checked my path before opening this ticket. The entire deployment path is |
I was able to deploy by adding to openssl & bouncy castle to the Gemfile:
I was under the impression that this was not required for the newest versions of jRuby and Rails 4.x - but that is what fixed it. |
well, let's call it a workaround but jruby-1.7.x has both those gems as default gems so the problem is somewhere else. for me this is related to #1119 and it looks like jars from gems can load their vendored jar files but jruby itself can not load those jars - which are jars inside jars. so let's keep it open. |
@mkristian, so some change between 1.7.9 and 1.7.10 removed the bouncy-castle-java gem from the default gems. I see the bouncy-castle-java.gemspec in |
@mkristian, @jkutner: It looks like with jruby 1.7.10 warbler will fail to include bouncy-castle-java in the war file because bouncy-castle-java is no longer included as a default gem and is instead just a file in the stdlib directory: |
that is kind of desired. there are currently 8 default gems in jruby-1.7.10 I agree that a war file build with warbler highly depends on the jruby any ways not including the gem in the war file should be not a problem - what happens if you $ bundle update with jruby-1.7.10 ? why does bundler |
Ya we had jruby-openssl in our gemfile and bouncy-castle-java was a dependency of jruby-openssl. We are able to workaround this issue by removing jruby-openssl from the gemfile and then moving the krypt, jopenssl, and bouncycastle jars into the WEB-INF/lib directory of our war file. So I agree all these problems would go away if we could get the embedded jars to load in websphere. |
Update for jRuby 1.7.11 - my previous workaround of adding:
no longer works. Warbler complains:
and of course since warbler doesn't find it, jBoss complains:
|
I just merge a patch from @mkristian that may fix this: |
@lightswitch05 and let me know if that helps. I needed to add this for most servlet containers when I worked on https://github.com/mkristian/war-pack. will be not needed for the next jruby 1.7.12. |
is this still an issue with JRuby >= 1.7.16 (+ jruby-openssl 0.9.6) or can we close this one ? |
Error:
See entire log file
deploy
The text was updated successfully, but these errors were encountered: