Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.8
-
Fix Version/s: JRuby 0.9.8
-
Component/s: None
-
Labels:None
-
Environment:JRuby trunk version, GlassFish 9.1, Rails 1.1.6,
-
Number of attachments :
Description
null
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in `require_or_load'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in `depend_on'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:84:in `require_association'
from /abc/jruby-src/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require_dependency'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:124:in `const_missing'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in `send'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in `const_missing'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:75:in `reset_after_dispatch'
from /abc/jruby-src/jruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:46:in `dispatch'
from file:/home/ashish/gf91/glassfish/appserv-http-engine/modules/rails/rails-module-0.3-MODIFIED-SNAPSHOT.jar!/dispatch.rb:56
from :-1
1. Download the following
rails-module-0.3-MODIFIED-SNAPSHOT.jar
start-main.sh
2. Modify the CLASSPATH variable and JRUYB_BASE and the arg[0](RAILS_ROOT) to com.sun.grizzly.rails.standalone.Main in start-main.sh
3. If running in glassfish(ie using appserv-rt.jar as opposed to just the grizzly jar binary)then, supply the corrrect($INSTANCE_ROOT + /applications/rails will be the RAILS_ROOT) value for the system property -Dcom.sun.aas.instanceRoot, else arg[0] will be used as RAILS_ROOT
4. Run start-main.sh and send a request to port 8888
Workaround this issue by configuring
config.breakpoint_server to false in #{RAILS_ROOT}/config/environments/development.rb