You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Davies (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/01 17:59:56 UTC

[jira] [Resolved] (AMQ-3748) ActiveMQEndpointWorker$1: Run method is synchronized

     [ https://issues.apache.org/jira/browse/AMQ-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-3748.
-----------------------------

    Resolution: Fixed

Fixed by SVN 1295672
                
> 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
>            Assignee: Rob Davies
>             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