require OpenSSL fails when run in JNLP
--------------------------------------
Key: JRUBY-1566
URL: http://jira.codehaus.org/browse/JRUBY-1566
Project: JRuby
Issue Type: Bug
Components: OpenSSL
Affects Versions: JRuby 1.1
Environment: windows NT, Sun WebStart JNLP
Reporter: Adam Payne
Priority: Minor
Attachments: jnlp-openssl-test.xml, jruby-openssl-test.jnlp,
MainRunner.java
When trying to require openssl via rubygems installed into userhome\.jruby, the
require fails with this stacktrace:
C:/Documents and
Settings/Owner/.jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require': IO error -- jopenssl (LoadError)
from C:/Documents and
Settings/Owner/.jruby/lib/ruby/gems/1.8/gems/jruby-openssl-0.0.4/lib/openssl.rb:17:in
`require'
from <script>:1:in `require'
from <script>:1:in `require'
...internal jruby stack elided...
It's failing to load the jopenssl.jar file, so this could be a larger issue of
not being able to load jar files in JNLP.
Attached ant build file demonstrates the bug. Please set storepass and alias
attributes in the signjar tags, and save to your trunk copy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email