• 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:


      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
      e.g., 'asadmin osgi lb -l' prints the following output:
      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.


        Sanjeeb Sahoo created issue -
        Sanjeeb Sahoo made changes -
        Field Original Value New Value
        Fix Version/s 4.0_b58 [ 15647 ]
        Paul Davies made changes -
        Fix Version/s 4.0 [ 10970 ]
        Fix Version/s 4.0_b58 [ 15647 ]
        Paul Davies made changes -
        Fix Version/s 4.0_b76_EE7MS5 [ 16105 ]
        Fix Version/s 4.0 [ 10970 ]
        Mike Fitch made changes -
        Fix Version/s 4.0_b77 [ 16106 ]
        Fix Version/s 4.0_b76_EE7MS5 [ 16105 ]
        Mike Fitch made changes -
        Assignee Paul Davies [ pauldavies ] grisdal [ grisdal ]
        Gail Risdal made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Gail Risdal made changes -
        Fix Version/s 4.0_b84 [ 16113 ]
        Fix Version/s 4.0_b77 [ 16106 ]
        Gail Risdal made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 4.0_b83 [ 16112 ]
        Fix Version/s 4.0_b84_RC1 [ 16113 ]
        Resolution Fixed [ 1 ]


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


            • Created: