JMSException not compliant with JMS 1.1 spec
--------------------------------------------

         Key: GERONIMO-499
         URL: http://nagoya.apache.org/jira/browse/GERONIMO-499
     Project: Apache Geronimo
        Type: Bug
  Components: specs  
    Reporter: Michael Gaffney
    Priority: Blocker
 Attachments: jms_exception.patch

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to