glassfish
  1. glassfish
  2. GLASSFISH-11363

Rails 2.2.2 applications fail on GlassFish v3

    Details

      Description

      There is a bug in JRuby container of Glassfish v3 where it fails to run Rails 2.2.2
      applications. 'reload_frameworks' method was added in Rails 2.3.2 and so the
      check to determine whether the framework is running threadsafe or not fails.

      [#|2009-12-23T11:03:58.271-
      0800|INFO|glassfishv3.0|org.glassfish.scripting.jruby.JRubyContainer|_ThreadID
      =25;_ThreadName=Thread-1;|New instance of rails created in 10,073
      milliseconds|#]

      [#|2009-12-23T11:03:58.279-
      0800|SEVERE|glassfishv3.0|org.glassfish.scripting.jruby.JRubyContainer|_Thread
      ID=25;_ThreadName=Thread-1;|undefined local variable or method
      `preload_frameworks' for #<Rails::Configuration:0x1faccfb7>
      from <script>:1

      file:/Users/vivek/dev/glassfishv3/glassfish/modules/grizzly-
      jruby.jar!/jruby/rails_path.rb:5:in `threadsafe?': undefined local variable or
      method `preload_frameworks' for #<Rails::Configuration:0x1faccfb7>
      (NameError)
      from <script>:1
      ...internal jruby stack elided...
      from Rails::Configuration.threadsafe?(<script>:1)
      from (unknown).(unknown)(:1)

      #]

        Activity

        Hide
        vivekp added a comment -

        Fixed. It will be integrated in v3 trunk soon.

        Show
        vivekp added a comment - Fixed. It will be integrated in v3 trunk soon.
        Hide
        kumara added a comment -

        GlassFish project is no longer enhancing scripting support and unfortunately these issues have to be closed.

        Show
        kumara added a comment - GlassFish project is no longer enhancing scripting support and unfortunately these issues have to be closed.

          People

          • Assignee:
            vivekp
            Reporter:
            vivekp
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: