JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-427

JRuby on Rails 1.1.6 under GlassFish appears to try loading breakpoint library

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical 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 :
      2

      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

        Activity

        Hide
        Ashish Sahni added a comment -

        Workaround this issue by configuring
        config.breakpoint_server to false in #

        {RAILS_ROOT}

        /config/environments/development.rb

        Show
        Ashish Sahni added a comment - Workaround this issue by configuring config.breakpoint_server to false in # {RAILS_ROOT} /config/environments/development.rb
        Hide
        Charles Oliver Nutter added a comment -

        Updating title to better reflect the problem.

        Show
        Charles Oliver Nutter added a comment - Updating title to better reflect the problem.
        Hide
        Charles Oliver Nutter added a comment -

        This one needs a refresh...is it still happening? Why does the breakpoint server get loaded when running under the rails module but not under WEBrick? It seems like this could be a problem with how the rails module (and rails integration) handle development mode...some property or env var being set that shouldn't or something similar?

        Marking as post-1.0 since there's no demonstrable flaw in anyhting JRuby's doing.

        Show
        Charles Oliver Nutter added a comment - This one needs a refresh...is it still happening? Why does the breakpoint server get loaded when running under the rails module but not under WEBrick? It seems like this could be a problem with how the rails module (and rails integration) handle development mode...some property or env var being set that shouldn't or something similar? Marking as post-1.0 since there's no demonstrable flaw in anyhting JRuby's doing.
        Hide
        Ashish Sahni added a comment -

        I don't think this is still an issue. Fixed in 0.9.8
        Please go ahead and close it.

        Show
        Ashish Sahni added a comment - I don't think this is still an issue. Fixed in 0.9.8 Please go ahead and close it.
        Hide
        Charles Oliver Nutter added a comment -

        Thanks Ashish! Closing as fixed in 0.9.8.

        Show
        Charles Oliver Nutter added a comment - Thanks Ashish! Closing as fixed in 0.9.8.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Ashish Sahni
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: