Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CED129148 for ; Mon, 19 Mar 2012 16:52:59 +0000 (UTC) Received: (qmail 89961 invoked by uid 500); 19 Mar 2012 16:52:59 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 89893 invoked by uid 500); 19 Mar 2012 16:52:59 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 89885 invoked by uid 99); 19 Mar 2012 16:52:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 16:52:59 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 16:52:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3121729C54 for ; Mon, 19 Mar 2012 16:52:38 +0000 (UTC) Date: Mon, 19 Mar 2012 16:52:38 +0000 (UTC) From: "John Liptak (Updated) (JIRA)" To: dev@activemq.apache.org Message-ID: <1392897382.31901.1332175958202.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1989563125.31878.1332175600807.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AMQ-3773) org.apache.activemq.ra.ActiveMQEndpointWorker run should not be synchronized MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Liptak updated AMQ-3773: ----------------------------- duplicate of https://issues.apache.org/jira/browse/AMQ-3748, sorry. > org.apache.activemq.ra.ActiveMQEndpointWorker run should not be synchronized > ---------------------------------------------------------------------------- > > Key: AMQ-3773 > URL: https://issues.apache.org/jira/browse/AMQ-3773 > Project: ActiveMQ > Issue Type: Bug > Components: JCA Container > Environment: JBoss AS 7.1 > Reporter: John Liptak > Labels: jboss, jca, resource > > from http://activemq.2283324.n4.nabble.com/ActiveMQEndpointWorker-run-method-cannot-be-synchronized-td4330542.html > There has been a discussion on the JBoss 7 forums about errors getting the ActiveMQ resource adapter working correctly in JBoss (see https://community.jboss.org/message/648857) > When JBoss attempts to deploy the rar file, it was throwing this error: > ERROR [org.apache.activemq.ra.ActiveMQEndpointWorker] (MSC service thread 1-4) Work Manager did not > accept work: : javax.resource.spi.work.WorkException: IJ000257: > org.apache.activemq.ra.ActiveMQEndpointWorker$1: Run method is synchronized > One member on the forum modified the source code for org.apache.activemq.ra.ActiveMQEndpointWorker and took out the "synchronized" keyword from the "run" method (line 97), and this fixed the problem. I modified the code as well and it fixed my problem too. According to a JBoss representative, ActiveMQ is out of spec on this, and claims that this should be fixed on the ActiveMQ side. > Please consider modifying this class. Otherwise, nobody will be able to use the resource adapter with JBoss. > -- 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