Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-76

ServiceContainerMXBean.getServiceStatus cannot accept queryServiceNames value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR1
    • 1.0.0.Beta7
    • None
    • None

      If I list the services using the ServiceContainerMXBean.queryServiceNames there are non-simple names like these paths:

      jboss.server.path."java.home"
      jboss.server.path."jboss.home.dir"
      jboss.server.path."jboss.server.base.dir"
      jboss.server.path."jboss.server.config.dir"
      jboss.server.path."jboss.server.data.dir"
      jboss.server.path."jboss.server.log.dir"
      jboss.server.path."jboss.server.temp.dir"
      jboss.server.path."jboss.transactions.object.store.path"
      jboss.server.path."user.dir"
      jboss.server.path."user.home"

      Inputting one of these names into the getServiceStatus method in jconsole results in a null result. Trying to quote the name along the lines of the following:

      jboss.server.path.\"jboss.home.dir\"
      "jboss.server.path.\"jboss.home.dir\""
      'jboss.server.path."jboss.home.dir"'

      either results in a null or an illegal character error from jconsole.

            dlloyd@redhat.com David Lloyd
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: