Skip to content

jopenssl load error on jruby 1.7.22, warbler 1.4.9, and glassfish #3404

@mwarnock

Description

@mwarnock

I've read through a bunch of issues and related pages with regard to this issue such as:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions