Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b59
    • Fix Version/s: 4.0_b83
    • Component/s: docs
    • Labels:
      None

      Description

      Please find below the new technique for using OSGi shell. This replaces the earlier techniques:

      For GlassFish 4.0 and above: We no longer open a separate port to access the shell. We have finally
      integrated the OSGi shell commands with asadmin, so you can now access the OSGi shell
      commands via asadmin tool. We have added an asadmin remote command called osgi which
      accepts subcommands which are fed to the OSGi shell and their result returned via asadmin. This
      integration allows you to secure the OSGi commands using GlassFish admin credentials as well. If
      you have turned on "secure admin" feature in GlassFish, then you can even access the shell via
      asadmin osgi command from remote hosts.
      The general syntax for osgi command is as shown below:
      asadmin osgi <Your sub command as you would have typed had you connected to shell using
      telnet>
      e.g., 'asadmin osgi lb -l' prints the following output:
      START LEVEL 3
      ID|State |Level|Location
      0|Active | 0|System Bundle
      1|Active | 1|file:/tmp/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar
      2|Active | 1|file:/tmp/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar

      We are also likely to introduce another command called osgi-shell as described in GLASSFISH-19124. Please watch the issue so that you can make appropriate doc changes when that happens.

        Activity

        Hide
        Gail Risdal added a comment -

        The osgi and osgi-shell man pages are available in current GlassFish builds.

        Show
        Gail Risdal added a comment - The osgi and osgi-shell man pages are available in current GlassFish builds.
        Hide
        Gail Risdal added a comment -

        Should have mentioned that the osgi-shell subcommand has also been documented.

        Man pages for osgi and osgi-shell will become accessible in GlassFish when the next main-docs build is promoted and picked up by GlassFish builds.

        Show
        Gail Risdal added a comment - Should have mentioned that the osgi-shell subcommand has also been documented. Man pages for osgi and osgi-shell will become accessible in GlassFish when the next main-docs build is promoted and picked up by GlassFish builds.
        Hide
        Gail Risdal added a comment -

        The OSGi subcommand has been documented.

        The man page will become accessible in GlassFish when the next main-docs build is promoted and picked up by GlassFish builds.

        Show
        Gail Risdal added a comment - The OSGi subcommand has been documented. The man page will become accessible in GlassFish when the next main-docs build is promoted and picked up by GlassFish builds.

          People

          • Assignee:
            Gail Risdal
            Reporter:
            Sanjeeb Sahoo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: