Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3883

Add a setNodeIdentifier config method that accepts a byte array

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.1.Final
    • Transaction Core

      The CoreEnvironmentBean config method for setting the nodeIdentifier assumes the value is encoded using the UTF-8 character set. But UTF-8 is a variable width character set so a) there is no guarantee that it will respect the length restriction on node names, and b) if the input string was encoded with a different charset then when we read the bytes using UTF-8 the resulting length is indeterminate. The proposal is to add a config method to set the node identifier bytes explicitly.

              rhn-engineering-mmusgrov Michael Musgrove
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: