Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4431

json nodes with escape characters not being processed correctly by cli

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 7.1.1.Final
    • CLI
    • standalone but should occur with domain as well.

    • Hide

      See description.

      Show
      See description.

      The address for 'subsystem=mail/mail-session=java:jboss/mail/Default' must be escaped because of the ':' and '/' characters in the 'mail-session' node.

      Log in via the DMR cli shell and you're able to browse the same node via '/subsystem=mail/mail-session=java\:jboss\/mail\/Default/:read-resource' If you attempt to read the same node via escaped json you get:

      failureDescription=JBAS014807: Management resource '[
      ("subsystem" => "mail"),
      ("mail-session" => "java\\:jboss\\/mail
      /Default")
      ]' not found, rolledBack=true}

              olubyans@redhat.com Alexey Loubyansky
              spinder Simeon Pinder (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: