Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.0.0 GA
    • Fix Version/s: 5.2.0 GA
    • Component/s: JBossAS
    • Labels:
      None
    • Release Notes Text:
      Hide
      https://issues.jboss.org/browse/SOA-2042

      The jboss-service.xml file was being parsed incorrectly. The parser was not ignoring white space. A code change has been applied and, as a result, this file is now parsed correctly.
      Show
      https://issues.jboss.org/browse/SOA-2042 The jboss-service.xml file was being parsed incorrectly. The parser was not ignoring white space. A code change has been applied and, as a result, this file is now parsed correctly.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      In the server/<config>/conf/jboss-service.xml file there is mbean's attributes configured as following:

      <server>
      <mbean ... name="jboss:service=Naming" ...>
      ...
      <attribute name="BindAddress">
      <value-factory bean="ServiceBindingManager" method="getStringBinding">
      <parameter>jboss:service=Naming</parameter>
      <parameter>Port</parameter>
      <parameter><null/></parameter>
      </value-factory>
      </attribute>
      ...
      </mbean>
      ...
      </server>

      This exact configuration is fine. But while I change element formatting as follows, the </null> parameter parsing fails.
      ...
      <attribute name="BindAddress">
      <value-factory bean="ServiceBindingManager" method="getStringBinding">
      <parameter>jboss:service=Naming</parameter>
      <parameter>Port</parameter>
      <parameter>
      <null/>
      </parameter>
      </value-factory>
      </attribute>
      ...

      It seems the parser that parses this file doesn't ignore white-spaces around the <null/> element and the mbean behaves in different way.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  pmacik Pavel Macik
                  Writer:
                  David Le Sage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: