Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0BBAD839 for ; Sat, 17 Nov 2012 21:24:13 +0000 (UTC) Received: (qmail 469 invoked by uid 500); 17 Nov 2012 21:24:12 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 433 invoked by uid 500); 17 Nov 2012 21:24:12 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 340 invoked by uid 99); 17 Nov 2012 21:24:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2012 21:24:12 +0000 Date: Sat, 17 Nov 2012 21:24:12 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: <1848872830.128097.1353187452667.JavaMail.jiratomcat@arcas> In-Reply-To: <245550560.121719.1353025152297.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (APLO-269) NoSuchMethodError in HawtDispatch after updating from Apollo 1.4 to 1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499523#comment-13499523 ] Hiram Chirino commented on APLO-269: ------------------------------------ Could you run 'mvn dependency:tree' and copy the results into this issue? Thanks. > NoSuchMethodError in HawtDispatch after updating from Apollo 1.4 to 1.5 > ----------------------------------------------------------------------- > > Key: APLO-269 > URL: https://issues.apache.org/jira/browse/APLO-269 > Project: ActiveMQ Apollo > Issue Type: Bug > Affects Versions: 1.5 > Environment: java version "1.7.0_09" > Java(TM) SE Runtime Environment (build 1.7.0_09-b05) > Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode) > Dependencies used from public Maven repositories: > org.apache.activemq:apollo-broker:1.5 > org.apache.activemq:apollo-web:1.5 > org.apache.activemq:apollo-stomp:1.5 > Reporter: Markus Lang > > After updating from ActiveMQ Apollo from version 1.4 to 1.5 I do receive NoSuchMethodErrors triggered by the HawtDispatch library: > Exception in thread "hawtdispatch-DEFAULT-1" java.lang.NoSuchMethodError: org.fusesource.hawtdispatch.transport.TransportServer.setBlockingExecutor(Ljava/util/concurrent/Executor;)V > at org.apache.activemq.apollo.broker.AcceptingConnector._start(Connector.scala:246) > at org.apache.activemq.apollo.util.BaseService$$anonfun$start_task$1$1.do_start$1(BaseService.scala:88) > at org.apache.activemq.apollo.util.BaseService$$anonfun$start_task$1$1.apply$mcV$sp(BaseService.scala:104) > at org.fusesource.hawtdispatch.package$$anon$3.run(hawtdispatch.scala:357) > at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:96) > at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77) > While trying to send some messages I do run into the following NoSuchMethodErrors: > Exception in thread "hawtdispatch-DEFAULT-1" java.lang.NoSuchMethodError: org.fusesource.hawtdispatch.transport.TcpTransportServer.setSendBufferSize(I)V > at org.apache.activemq.apollo.broker.AcceptingConnector.update_buffer_settings(Connector.scala:298) > at org.apache.activemq.apollo.broker.Broker$$anonfun$tune_send_receive_buffers$1.apply(Broker.scala:452) > at org.apache.activemq.apollo.broker.Broker$$anonfun$tune_send_receive_buffers$1.apply(Broker.scala:451) > at scala.collection.MapLike$DefaultValuesIterable$$anonfun$foreach$4.apply(MapLike.scala:203) > at scala.collection.MapLike$DefaultValuesIterable$$anonfun$foreach$4.apply(MapLike.scala:203) > at scala.collection.mutable.LinkedHashMap.foreach(LinkedHashMap.scala:129) > at scala.collection.MapLike$DefaultValuesIterable.foreach(MapLike.scala:203) > at org.apache.activemq.apollo.broker.Broker.tune_send_receive_buffers(Broker.scala:451) > at org.apache.activemq.apollo.broker.Broker$$anonfun$_start$2.apply$mcV$sp(Broker.scala:374) > at org.apache.activemq.apollo.util.BaseService$$anonfun$schedule$1$1.apply$mcV$sp(BaseService.scala:171) > at org.fusesource.hawtdispatch.package$$anon$3.run(hawtdispatch.scala:357) > at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:96) > at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77) > While building my project with Gradle I've noticed that at least one of the three referenced Maven artefacts does resolve to HawtDispatch in version 1.11 whereas version 1.12 of the library is used at runtime. If I downgrade my project again to ActiveMQ Apollo in version 1.4 everything works as expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira