Since 1.7.4 of jRuby, I have been unable to successfully run my
application on WebSphere (8.5) (WAS is running on my Dev PC along with
WEBrick)
I installed jRuby 1.7.8 and started clean with a bundle install (I
deleted the Gem Lock file). I’m using Warbler 1.4
The WAR deploys ok to WAS but on application start, I get:
NameError: uninitialized constant Krypt::ASN1::BOOLEAN
Reading that removing the jruby-openssl reference from the Gem file
might fix this, I removed the reference, did a bundle update and
deployed a new WAR.
Now I get this error:
NameError: missing class or uppercase package name
(`org.jruby.ext.openssl.OSSLLibrary’)
Any ideas on how to work around this problem?
BTW, my application runs fine with WEBrick with and without the
jruby-openssl gem defined in the gem file.
Here are my gems:
bundler-1.3.5
rake-10.1.0
i18n-0.6.5
minitest-4.7.5
multi_json-1.8.2
atomic-1.1.14-java
thread_safe-0.1.3-java
tzinfo-0.3.38
activesupport-4.0.1
builder-3.1.4
erubis-2.7.0
rack-1.5.2
rack-test-0.6.2
actionpack-4.0.1
mime-types-1.25
polyglot-0.3.3
treetop-1.4.15
mail-2.5.4
actionmailer-4.0.1
activemodel-4.0.1
activerecord-deprecated_finders-1.0.3
arel-4.0.1
activerecord-4.0.1
activerecord-jdbc-adapter-1.3.3
jdbc-mysql-5.1.27
activerecord-jdbcmysql-adapter-1.3.3
hike-1.2.3
jruby-jars-1.7.8
json-1.5.0-java
json-jruby-1.5.0-java
net-ldap-0.3.1
thor-0.18.1
railties-4.0.1
tilt-1.4.1
sprockets-2.10.0
sprockets-rails-2.0.1
rails-4.0.1
rest-client-1.6.7
rufus-scheduler-3.0.2
ken_e
November 20, 2013, 10:08pm
2
When you say “Since 1.7.4” you mean 1.7.5 and higher? I have 1.7.4
running fine on WebSphere, but later releases of JRuby haven’t been
working. This is a known issue(s). I think some of these issues are
relevant:
opened 10:03PM - 01 Oct 13 UTC
closed 01:07PM - 22 Oct 13 UTC
It looks like an application with the jruby-openssl gem (ie a Rails app created … under JRuby) may in some way be conflicting with the jruby-openssl shipped inside JRuby itself now.
This is with a local build of JRuby 1.7.5.dev:
```
$ gem install rails -v "~> 3.2.x"
$ rails new blah
$ cd blah
$ script/rails server
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PKCS1_PADDING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant SSLV23_PADDING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NO_PADDING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PKCS1_OAEP_PADDING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant UNIVERSAL_TAG_NAME
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant EOC
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant BOOLEAN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant INTEGER
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant BIT_STRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OCTET_STRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NULL
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OBJECT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OBJECT_DESCRIPTOR
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant EXTERNAL
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant REAL
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant ENUMERATED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant EMBEDDED_PDV
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant UTF8STRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant RELATIVE_OID
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant SEQUENCE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant SET
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NUMERICSTRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PRINTABLESTRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant T61STRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant VIDEOTEXSTRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant IA5STRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant UTCTIME
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant GENERALIZEDTIME
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant GRAPHICSTRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant ISO64STRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant GENERALSTRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant UNIVERSALSTRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant CHARACTER_STRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant BMPSTRING
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant COMPAT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant RFC2253
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant ONELINE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant MULTILINE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DEFAULT_OBJECT_TYPE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OBJECT_TYPE_TEMPLATE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_OK
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_UNABLE_TO_GET_ISSUER_CERT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_UNABLE_TO_GET_CRL
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CERT_SIGNATURE_FAILURE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CRL_SIGNATURE_FAILURE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CERT_NOT_YET_VALID
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CERT_HAS_EXPIRED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CRL_NOT_YET_VALID
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CRL_HAS_EXPIRED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_OUT_OF_MEM
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_SELF_SIGNED_CERT_IN_CHAIN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CERT_CHAIN_TOO_LONG
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CERT_REVOKED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_INVALID_CA
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_PATH_LENGTH_EXCEEDED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_INVALID_PURPOSE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CERT_UNTRUSTED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_CERT_REJECTED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_SUBJECT_ISSUER_MISMATCH
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_AKID_SKID_MISMATCH
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_AKID_ISSUER_SERIAL_MISMATCH
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_KEYUSAGE_NO_CERTSIGN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_ERR_APPLICATION_VERIFICATION
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_FLAG_CRL_CHECK
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant V_FLAG_CRL_CHECK_ALL
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_SSL_CLIENT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_SSL_SERVER
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_NS_SSL_SERVER
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_SMIME_SIGN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_SMIME_ENCRYPT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_CRL_SIGN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_ANY
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant PURPOSE_OCSP_HELPER
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TRUST_COMPAT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TRUST_SSL_CLIENT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TRUST_SSL_SERVER
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TRUST_EMAIL
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TRUST_OBJECT_SIGN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TRUST_OCSP_SIGN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TRUST_OCSP_REQUEST
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DEFAULT_CERT_AREA
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DEFAULT_CERT_DIR
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DEFAULT_CERT_FILE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DEFAULT_CERT_DIR_ENV
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DEFAULT_CERT_FILE_ENV
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DEFAULT_PRIVATE_DIR
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant Signer
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant TEXT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NOCERTS
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NOSIGS
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NOCHAIN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NOINTERN
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NOVERIFY
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant DETACHED
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant BINARY
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NOATTR
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant NOSMIMECAP
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant VERIFY_NONE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant VERIFY_PEER
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant VERIFY_FAIL_IF_NO_PEER_CERT
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant VERIFY_CLIENT_ONCE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_ALL
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_NO_TICKET
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_SINGLE_ECDH_USE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_SINGLE_DH_USE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_EPHEMERAL_RSA
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_CIPHER_SERVER_PREFERENCE
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_TLS_ROLLBACK_BUG
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_NO_SSLv2
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_NO_SSLv3
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_NO_TLSv1
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_PKCS1_CHECK_1
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_PKCS1_CHECK_2
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_NETSCAPE_CA_DN_BUG
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant VERSION
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OPENSSL_VERSION
/home/bbrowning/src/jruby/lib/ruby/shared/jruby-openssl.rb:16 warning: already initialized constant OPENSSL_VERSION_NUMBER
=> Booting WEBrick
=> Rails 3.2.14 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-10-01 13:56:02] INFO WEBrick 1.3.1
[2013-10-01 13:56:02] INFO ruby 1.9.3 (2013-10-01) [java]
[2013-10-01 13:56:02] INFO WEBrick::HTTPServer#start: pid=21813 port=3000
```
opened 09:06PM - 11 Oct 13 UTC
closed 07:39AM - 27 Feb 15 UTC
openssl
I get the following exception when trying to boot a rails app with jruby-openssl… 0.9.2 on jruby 1.7.4 or jruby 1.7.5 using warbler. But if I use jruby-openssl 0.8.8 things are fine.
Stacktrace:
https://gist.github.com/atambo/6941849
Maybe this is somewhat related to: https://github.com/jruby/jruby/issues/1071
opened 07:16PM - 29 Oct 13 UTC
closed 04:37PM - 20 Mar 15 UTC
openssl
Using jruby-1.6.7 or jruby-1.6.7.1, I get the following warnings and a `Too many… redirects` error when running bundle update.
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PKCS1_PADDING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant SSLV23_PADDING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NO_PADDING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PKCS1_OAEP_PADDING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant UNIVERSAL_TAG_NAME
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant EOC
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant BOOLEAN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant INTEGER
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant BIT_STRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OCTET_STRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NULL
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OBJECT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OBJECT_DESCRIPTOR
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant EXTERNAL
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant REAL
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant ENUMERATED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant EMBEDDED_PDV
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant UTF8STRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant RELATIVE_OID
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant SEQUENCE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant SET
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NUMERICSTRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PRINTABLESTRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant T61STRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant VIDEOTEXSTRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant IA5STRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant UTCTIME
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant GENERALIZEDTIME
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant GRAPHICSTRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant ISO64STRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant GENERALSTRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant UNIVERSALSTRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant CHARACTER_STRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant BMPSTRING
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant COMPAT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant RFC2253
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant ONELINE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant MULTILINE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DEFAULT_OBJECT_TYPE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OBJECT_TYPE_TEMPLATE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_OK
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_UNABLE_TO_GET_ISSUER_CERT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_UNABLE_TO_GET_CRL
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CERT_SIGNATURE_FAILURE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CRL_SIGNATURE_FAILURE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CERT_NOT_YET_VALID
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CERT_HAS_EXPIRED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CRL_NOT_YET_VALID
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CRL_HAS_EXPIRED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_OUT_OF_MEM
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_SELF_SIGNED_CERT_IN_CHAIN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CERT_CHAIN_TOO_LONG
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CERT_REVOKED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_INVALID_CA
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_PATH_LENGTH_EXCEEDED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_INVALID_PURPOSE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CERT_UNTRUSTED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_CERT_REJECTED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_SUBJECT_ISSUER_MISMATCH
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_AKID_SKID_MISMATCH
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_AKID_ISSUER_SERIAL_MISMATCH
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_KEYUSAGE_NO_CERTSIGN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_ERR_APPLICATION_VERIFICATION
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_FLAG_CRL_CHECK
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant V_FLAG_CRL_CHECK_ALL
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_SSL_CLIENT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_SSL_SERVER
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_NS_SSL_SERVER
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_SMIME_SIGN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_SMIME_ENCRYPT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_CRL_SIGN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_ANY
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant PURPOSE_OCSP_HELPER
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TRUST_COMPAT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TRUST_SSL_CLIENT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TRUST_SSL_SERVER
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TRUST_EMAIL
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TRUST_OBJECT_SIGN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TRUST_OCSP_SIGN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TRUST_OCSP_REQUEST
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DEFAULT_CERT_AREA
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DEFAULT_CERT_DIR
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DEFAULT_CERT_FILE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DEFAULT_CERT_DIR_ENV
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DEFAULT_CERT_FILE_ENV
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DEFAULT_PRIVATE_DIR
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant Signer
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant TEXT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NOCERTS
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NOSIGS
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NOCHAIN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NOINTERN
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NOVERIFY
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant DETACHED
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant BINARY
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NOATTR
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant NOSMIMECAP
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant VERIFY_NONE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant VERIFY_PEER
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant VERIFY_FAIL_IF_NO_PEER_CERT
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant VERIFY_CLIENT_ONCE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_ALL
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_NO_TICKET
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_SINGLE_ECDH_USE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_SINGLE_DH_USE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_EPHEMERAL_RSA
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_CIPHER_SERVER_PREFERENCE
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_TLS_ROLLBACK_BUG
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_NO_SSLv2
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_NO_SSLv3
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_NO_TLSv1
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_PKCS1_CHECK_1
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_PKCS1_CHECK_2
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_NETSCAPE_CA_DN_BUG
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant VERSION
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OPENSSL_VERSION
/home/tofubean/.rvm/gems/jruby-1.6.7@global/gems/jruby-openssl-0.9.4/lib/jopenssl/load.rb:15 warning: already initialized constant OPENSSL_VERSION_NUMBER
Fetching source index from http://rubygems.org/
Resolving dependencies...
Too many redirects
The Gemfile I used is the following:
source 'http://rubygems.org'
gem 'sinatra', '~> 1.2.6'
gem 'uuid', '~> 2.3.3'
gem 'sequel', '~> 3.27.0'
gem 'active_support', '~> 3.0.0'
gem 'bcrypt-ruby', '~> 3.0.1'
opened 04:01PM - 30 Oct 13 UTC
closed 04:39PM - 20 Mar 15 UTC
The PKCS5 functionality in jruby-openssl depends on krypt, but the gem does not … specify that dependency.
We can't simply add it, either, since krypt only supports Ruby compat 1.9.3 and higher.
If we add it, it will fail to install on JRuby 1.6. Are we ready to do that?
See #1185
ken_e
November 20, 2013, 11:11pm
3
Yes, 1.7.4 works fine. Our production version is stuck at 1.7.4 until I
can get 1.7.8 to work.
What is also interesting is removing jruby-openssl from the Gem file
causes a different error. Maybe if this problem is fixed, then
everything will work.
ken_e
November 24, 2013, 7:42pm
4
if I look the jruby-jars then the following jar files are vendored:
lib/ruby/shared/bcpkix-jdk15on-1.47.jar
lib/ruby/shared/bcprov-jdk15on-1.47.jar
lib/ruby/shared/kryptproviderjdk.jar
lib/ruby/shared/kryptcore.jar
lib/ruby/shared/jopenssl.jar
sticking them into WEB-INF/lib could indeed help or maybe any subset of
them. please let me know if that really helps.
ken_e
November 29, 2013, 3:16pm
5
Thanks…this worked!
I copied all 5 jar files to my lib directory, removed the reference to
jruby-openssl in my Gem file, deployed my app and it works.
I suspect if I included the Gem reference to jruby-openssl, then I would
just need the two krypt jar files.
ken_e
November 24, 2013, 6:21pm
6
Ken:
I had similar looking issues , wonder if this works for you, put the
following in your load path or class path. I am packaging with warbler
and I keep the following jars in my lib directory I also push said
directory explicitly in to the load path so that its accessible when the
app sever explodes the war
jars:
bcmail-jdk15-146.jar
bcprov-jdk15on-1.47.jar
jopenssl.jar
Please do let me know if this helps, curious.
Charles
ken_e
December 26, 2013, 4:39pm
7
I updated to jRuby 1.7.9 and now getting this error in WAS:
ERROR: initialization
failed:.org.jruby.rack.RackInitializationException: no such file to load
– classpath:C:/META-INF/jruby.home/lib/ruby/shared/krypt_missing
Any ideas?
ken_e
November 29, 2013, 4:34pm
8
Sure and great news.
BTW, I was also encountering issues where it was picking up the wrong
bouncy castle jars, now I was in the flux between 1.7.4 and 1.7.8 which
now warbler automatically uses , so perhaps just a dev artifact of where
I was but anyhow thats why Im including those explictly. It seems to be
that when in doubt and when you just dont have time , just include those
jars in the local lib directory , perhaps in the vendored directory (not
tried packing up with bundler), Warbler uses that also as a one of its
config.dirs.
Hate to sidetrack, but I was hoping that Christians Jbundler would
basically do that for me i.e. put the jar dependencies in the lib dir
when used with bundler, but have not tried to figure it out. Just
including it in my gem file at the top did not seem to do that.
Charles
ken_e
December 26, 2013, 7:36pm
9
Are you running under Windows ? If I recall in Windows once the app
server explodes the war if the path where the war is exploded has spaces
you will get that error.
Let me know I bumped into that but under Windows 2003 server, had to
change the users temp location vars which in my case was where Jetty was
exploding the war.
-Charles
ken_e
December 26, 2013, 10:13pm
10
Yes, I am running WAS on Windows.
Note however, 1.7.8 worked OK (after I moved the ssl jars into my LIB
directory). I figured a new bug was introduced with 1.7.9.
With 1.7.9, I get this error no matter if the ssl jars exist or don’t
exist in LIB.
The WAS file path to the exploded WAR file has no spaces in the path.
This is the backtrace:
LoadError: no such file to load –
classpath:C:/META-INF/jruby.home/lib/ruby/shared/krypt_missing
require at org/jruby/RubyKernel.java:1083
require_relative at classpath:/jruby/kernel19/kernel.rb:21
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/krypt.rb:37
require at org/jruby/RubyKernel.java:1083
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/krypt/ossl.rb:1
require at org/jruby/RubyKernel.java:1083
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/krypt/ossl.rb:33
load at org/jruby/RubyKernel.java:1099
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/jopenssl19/openssl.rb:1
require at org/jruby/RubyKernel.java:1083
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/jopenssl19/openssl.rb:23
require at org/jruby/RubyKernel.java:1083
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/jopenssl/load.rb:1
require at org/jruby/RubyKernel.java:1083
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/jopenssl/load.rb:20
require at org/jruby/RubyKernel.java:1083
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/openssl.rb:1
require at org/jruby/RubyKernel.java:1083
(root) at
classpath:/META-INF/jruby.home/lib/ruby/shared/openssl.rb:1
require at org/jruby/RubyKernel.java:1083
(root) at
C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/IBM-23H4ECBETIINode01Cell/USPTrack.ear/USPTrack.war/WEB-INF/gems/gems/activesupport-4.0.2/lib/active_support/key_generator.rb:1
require at org/jruby/RubyKernel.java:1083
(root) at
C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/IBM-23H4ECBETIINode01Cell/USPTrack.ear/USPTrack.war/WEB-INF/gems/gems/activesupport-4.0.2/lib/active_support/key_generator.rb:2
require at org/jruby/RubyKernel.java:1083
(root) at
C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/IBM-23H4ECBETIINode01Cell/USPTrack.ear/USPTrack.war/WEB-INF/gems/gems/railties-4.0.2/lib/rails/application.rb:1
(root) at
C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/IBM-23H4ECBETIINode01Cell/USPTrack.ear/USPTrack.war/WEB-INF/gems/gems/railties-4.0.2/lib/rails/application.rb:3
(root) at
C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/IBM-23H4ECBETIINode01Cell/USPTrack.ear/USPTrack.war/WEB-INF/gems/gems/railties-4.0.2/lib/rails.rb:1
The path seems to be working for the other files in the call stack with
the only difference being the require_relative call.
I am running WAS on my dev PC and Webrick works without any problems.
I’m baffled and not sure where to look next.
ken_e
December 26, 2013, 11:10pm
11
Yes, I just noticed
classpath:C:/META-INF/jruby.home/lib/ruby/shared/krypt_missing
is different from
classpath:/META-INF/jruby.home/lib/ruby/shared/krypt.rb:37
C:/ is inserted in the path.
Looks like a bug.
I guess I will stick with 1.7.8 for now.
ken_e
December 26, 2013, 10:21pm
12
This looks the only change between 1.7.8 and 1.7.9 that could have
caused the issue:
committed 11:05PM - 27 Nov 13 UTC
ken_e
January 2, 2014, 11:23pm
13
a quote :
"I can workaround this issue by copying the krypt*.jars from the
jruby-stdlib jar and place them directly into the WEB-INF/lib directory.
from here:
opened 09:06PM - 11 Oct 13 UTC
closed 07:39AM - 27 Feb 15 UTC
openssl
I get the following exception when trying to boot a rails app with jruby-openssl… 0.9.2 on jruby 1.7.4 or jruby 1.7.5 using warbler. But if I use jruby-openssl 0.8.8 things are fine.
Stacktrace:
https://gist.github.com/atambo/6941849
Maybe this is somewhat related to: https://github.com/jruby/jruby/issues/1071
perhaps helpful
Charles