Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-499

JMSException not compliant with JMS 1.1 spec

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: specs
    • Labels:
      None

      Description

      The serialized form of Geronimo's javax.jms.JMSException is not compatible with the serialized form of the javax.jms.JMSException defined in the JMS 1.1 specification.

      Using the serialver tool I obtained the serialVersionUID for the javax.jms.JMSException class from the three sources. Here are the sources along with their serialVersionUID values:
      JMS Spec: serialVersionUID = 8951994251593378324L;
      JBoss : serialVersionUID = 8951994251593378324L;
      geronimo: serialVersionUID = 2368476267211489441L;

      OK, I know this may seem trivial but while I was working on integrating ActiveMQ with JBoss this problem popped up over and over again. The problem is that the 'setLinkedException(..)' method needs to be declared 'synchronized'.

      I will attach a patch immediately.

        Attachments

        1. jms_exception.patch
          0.5 kB
          Michael Gaffney

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgaffney Michael Gaffney
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: