-
-
Notifications
You must be signed in to change notification settings - Fork 942
Description
I've read through a bunch of issues and related pages with regard to this issue such as:
- jopenssl/load - Unable to deploy on jBoss 7.1.1.Final using jRuby 1.7.10 #1413
- bouncy-castle-java JARs missing when warbling with JRuby 1.7.10 #1435
- openssl issue with rails and installed default gems #1549
- Pull request 241
But using jruby 1.7.22 and warbler 1.4.9 I am still running into the load error: jopenssl/load error when deploying to glassfish.
I've tried adding jruby-openssl, bouncy-castle, and neither, and each independently to my gem file. All I've managed to do with that is get jruby-openssl-version doesn't exist (which is expected as there is a "skipping" warning when warring things up). I've even tried using the config.move_jars_to_webinf_lib = true option in my config/warble.rb. I'm very much at a loss and would appreciate any help or ideas. Here is my Gemfile:
I can get a rails 4.1.x app to build by locking down jruby-openssl to 0.8.8 but that won't work for rails 4.2.x.
source 'https://rubygems.org'
gem 'rails', '4.2.0'
gem 'jquery-rails'
gem 'jruby-jars', '=1.7.22'
gem "activerecord-jdbc-adapter", "~> 1.3.8", platform: :jruby
gem "activerecord-jdbcpostgresql-adapter", platform: :jruby
gem 'activerecord-bogacs', :require => 'active_record/bogacs'
gem 'warbler','~> 1.4.9'
# Assets
gem 'sass-rails', '~> 5.0'
gem 'font-awesome-sass'
gem 'bootstrap-sass'
gem 'uglifier', '>= 1.3.0'
gem 'therubyrhino'And here is my config/warble.rb
Warbler::Config.new do |config|
app_name = File.read(File.join(File.dirname(__FILE__),"application.name")).strip
config.jar_name = app_name
config.webxml.jruby.min.runtimes = 2
config.webxml.jruby.max.runtimes = 10
end