glassfish
  1. glassfish
  2. GLASSFISH-3595

GlassFish/Grizzly rails support does not initialize runtimes right

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: V3
    • Component/s: jruby
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      3,595
    • Status Whiteboard:
      Hide

      as91-na,as91ur1-na

      Show
      as91-na,as91ur1-na

      Description

      If you have a rails app that accesses ARGV, the constant containing command-line
      parameters, it will fail under the grizzly Rails support. This is because the
      JRuby runtime needs to be initialized with ARGV. We have not yet decided to make
      JRuby automatically prepare ARGV, since it generally needs to come from outside
      the runtime; but it seems like this should be added to the connector so that the
      runtimes are fully functional. Even an empty list would be sufficient.

        Activity

        Hide
        Dhiru Pandey added a comment -

        Assigned to jfarcand

        Show
        Dhiru Pandey added a comment - Assigned to jfarcand
        Hide
        Dhiru Pandey added a comment -

        Not release stopper for V2/9.1. Targeted for ur1

        Show
        Dhiru Pandey added a comment - Not release stopper for V2/9.1. Targeted for ur1
        Hide
        jfarcand added a comment -

        Will fix it in v3 if I can start working on v3 JRuby is not supported by
        default unfortunately....

        Show
        jfarcand added a comment - Will fix it in v3 if I can start working on v3 JRuby is not supported by default unfortunately....
        Hide
        jfarcand added a comment -

        Re-assign to Pramod, which is the new JRuby master...

        Show
        jfarcand added a comment - Re-assign to Pramod, which is the new JRuby master...
        Hide
        pramodgo added a comment -

        This support is already in place.
        This was how the -n and -c command line arguments were added to the glassfish
        gem v0.1.1 that is present on RubyForge.

        closing this bug.

        Show
        pramodgo added a comment - This support is already in place. This was how the -n and -c command line arguments were added to the glassfish gem v0.1.1 that is present on RubyForge. closing this bug.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: