users@glassfish.java.net

Re: Problem with deploy JRuby application (redmine) to glassfish v3

From: <glassfish_at_javadesktop.org>
Date: Fri, 15 Jan 2010 10:39:40 PST

Actually my stack trace is a bit different, but the main exception remains LinkageError:

/app/mediacast/mediacast/config/../vendor/rails/railties/lib/initializer.rb:259:in `require_frameworks': library `socket' could not be loaded: java.lang.LinkageError: org/jruby/ext/socket/RubySocket (RuntimeError)
        from /app/mediacast/mediacast/config/../vendor/rails/railties/lib/initializer.rb:133:in `process'
        from /app/mediacast/mediacast/config/../vendor/rails/railties/lib/initializer.rb:112:in `run'
        from /app/mediacast/mediacast/config/environment.rb:22
        from /app/mediacast/mediacast/config/environment.rb:31:in `require'
        from /app/mediacast/jruby-1.3.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from file:/app/mediacast/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:98:in `load_application'
        from file:/app/mediacast/glassfishv3/glassfish/modules/grizzly-jruby.jar!/rack/adapter/rails.rb:75:in `initialize'
        from file:/app/mediacast/glassfishv3/glassfish/modules/grizzly-jruby.jar!/jruby/rack/rails.rb:25:in `new'
        from <script>:1
[Message sent by forum member 'iminar' (iiminar_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=381233