activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Hoeger (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3748) ActiveMQEndpointWorker$1: Run method is synchronized
Date Thu, 01 Mar 2012 08:46:03 GMT
ActiveMQEndpointWorker$1: Run method is synchronized
----------------------------------------------------

                 Key: AMQ-3748
                 URL: https://issues.apache.org/jira/browse/AMQ-3748
             Project: ActiveMQ
          Issue Type: Bug
          Components: JCA Container
    Affects Versions: 5.6.0
         Environment: JBoss AS 7.1
            Reporter: Thorsten Hoeger
             Fix For: 5.6.0


As posted in this mail [0] by Ed Keen there is a issue in the ActiveMQEndpointWorker.

I checked the spec the JBoss guys mentioned and in section 10.3.2 it is clearly stated:
"Both the run and release methods in the Work implementation may contain
synchronization blocks but they must not be declared as synchronized methods."

Removing the "synchronized" worked for some people trying this. But I think it was added intentionally,
so somebody should check an appropriate alternative.

This bug prevents ActiveMQ from being deployed on JBoss AS 7.1


[0]: http://mail-archives.apache.org/mod_mbox/activemq-users/201202.mbox/%3CCAC=rkz2XZmJo3D03kHG6nfz0c800-Mh=9JH6qb=zeGQyU=MNXQ@mail.gmail.com%3E
[1]: http://download.oracle.com/otn-pub/jcp/connector_architecture-1.6-fr-oth-JSpec/connector-1_6-final-spec.pdf

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message