Hmm. I am aware of rails 2.2.2 failure on glassfish v3 but the stack
expected is:
[#|2010-01-15T11:43:33.410-0800|SEVERE|glassfishv3.0|org.glassfish.scripting.jruby.JRubyContainer|_ThreadID=23;_ThreadName=pool-4-thread-1;|undefined
local variable or method `preload_frameworks' for
#<Rails::Configuration:0x45c948cb>
<script>:1: undefined local variable or method `preload_frameworks' for
#<Rails::Configuration:0x45c948cb> (NameError)
...internal jruby stack elided...
from (unknown).(unknown)(:1)
This issue is identified and fixed but not yet integrated in to v3
trunk. The fix should go in to v3 update release. glassfish gem 1.0.2
has this fix.
I can not reproduce the LinkageError with jruby 1.3.1 and rails 2.2.2.
Please repot an issue ticket with information about how to reproduce. I
would also recommend posting message to user_at_jruby.codehaus.org as well.
-vivek.
glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>