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 248937905 for ; Wed, 9 Nov 2011 18:24:16 +0000 (UTC) Received: (qmail 73333 invoked by uid 500); 9 Nov 2011 18:24:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 73308 invoked by uid 500); 9 Nov 2011 18:24:15 -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 73300 invoked by uid 99); 9 Nov 2011 18:24:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 18:24:15 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD 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; Wed, 09 Nov 2011 18:24:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 78C1B44BCC for ; Wed, 9 Nov 2011 18:23:51 +0000 (UTC) Date: Wed, 9 Nov 2011 18:23:51 +0000 (UTC) From: "Jason Dillon (Commented) (JIRA)" To: dev@activemq.apache.org Message-ID: <1869613197.15035.1320863031496.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1922586337.15034.1320863031452.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3584) ActiveMQ Performance module is not useable per instructions 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-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147204#comment-13147204 ] Jason Dillon commented on AMQ-3584: ----------------------------------- Probably need to configure a basic terse logging configuration as well, so that logging doesn't affect the perf numbers. > ActiveMQ Performance module is not useable per instructions > ----------------------------------------------------------- > > Key: AMQ-3584 > URL: https://issues.apache.org/jira/browse/AMQ-3584 > Project: ActiveMQ > Issue Type: Bug > Reporter: Jason Dillon > > I was looking at http://activemq.apache.org/activemq-performance-module-users-manual.html to see how well (or poorly) the http transport was over the tcp transport and I've run into some issues just following the instructions. > svn co http://svn.apache.org/repos/asf/activemq/sandbox/activemq-perftest/ > cd activemq-perftest > mvn activemq-perf:broker -Durl=broker:tcp://localhost:61616 > {noformat} > [INFO] Scanning for projects... > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.apache.activemq:activemq-perftest:5.2-SNAPSHOT (/Users/jason/ws/reference/activemq-perftest/pom.xml) has 1 error > [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.activemq:activemq-parent:pom:5.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 22, column 13 -> [Help 2] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > {noformat} > If I change the version to 5.5.1: > {noformat} > Index: pom.xml > =================================================================== > --- pom.xml (revision 1199413) > +++ pom.xml (working copy) > @@ -22,7 +22,7 @@ > > activemq-parent > org.apache.activemq > - 5.2-SNAPSHOT > + 5.5.1 > > activemq-perftest > {noformat} > mvn activemq-perf:broker -Durl=broker:tcp://localhost:61616 > {noformat} > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building the effective model for org.apache.activemq:activemq-perftest:jar:5.5.1 > [WARNING] 'build.plugins.plugin.version' for org.apache.activemq.tooling:maven-activemq-perf-plugin is missing. @ line 35, column 21 > [WARNING] 'build.plugins.plugin.version' for org.apache.activemq.tooling:maven-activemq-memtest-plugin is missing. @ line 39, column 21 > [WARNING] > [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. > [WARNING] > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] Building ActiveMQ :: Performance Test 5.5.1 > [INFO] ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-activemq-perf-plugin:5.5.1:broker (default-cli) @ activemq-perftest --- > Java Runtime: Apple Inc. 1.6.0_26 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > Heap sizes: current=83008k free=60712k max=517760k > JVM args: -Xmx512m -XX:MaxPermSize=128m -Dclassworlds.conf=/Users/jason/tools/maven/maven3/bin/m2.conf -Dmaven.home=/Users/jason/tools/maven/maven3 > ACTIVEMQ_HOME: /Users/jason/.m2/repository/org/apache/activemq/activemq-console > ACTIVEMQ_BASE: /Users/jason/.m2/repository/org/apache/activemq/activemq-console > Loading message broker from: broker:tcp://localhost:61616 > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. > Failed to execute main task. Reason: java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder > {noformat} > So I configured logback & upgraded slf4j: > {noformat} > Index: pom.xml > =================================================================== > --- pom.xml (revision 1199413) > +++ pom.xml (working copy) > @@ -22,7 +22,7 @@ > > activemq-parent > org.apache.activemq > - 5.2-SNAPSHOT > + 5.5.1 > > activemq-perftest > @@ -35,6 +35,18 @@ > > org.apache.activemq.tooling > maven-activemq-perf-plugin > + > + > + org.slf4j > + slf4j-api > + 1.6.2 > + > + > + ch.qos.logback > + logback-classic > + 1.0.0 > + > + > > > org.apache.activemq.tooling > {noformat} > ... and now it seems to function. -- 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