activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jzhang <jzh...@wellington.com>
Subject Re: Can I run Performance Module from desktop to measure brokers on remote host?
Date Wed, 18 Aug 2010 20:15:23 GMT

Dejan,

Thanks for the input. I am giving up the performance module. As for JMS
Tester, what do you think comparing to SPECJMS 2007
(http://www.spec.org/jms2007/)?

-J


Dejan Bosanac wrote:
> 
> Hi,
> 
> that test tries to run the broker on your desktop machine.
> 
> You should checkout
> http://jmstester.fusesource.org/documentation/manual/index.html for
> performing tests you required.
> 
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 
> 
> 
> On Fri, Aug 13, 2010 at 10:57 PM, jzhang <jzhang@wellington.com> wrote:
>>
>> I am trying to run perf test
>> (http://activemq.apache.org/activemq-performance-module-users-manual.html)
>> to benchmark brokers. I ran:
>>
>> mvn activemq-perf:broker -Durl=broker:tcp://lab_host.mycompany.com:61617
>>
>> It throws error:
>>
>> Loading message broker from: broker:tcp://lab_host.mycompany.com:61617
>> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
>> java.io.IOException: Failed to bind to server socket:
>> tcp://lab_host.mycompany.com:61617 due to: java.net.BindException: Cannot
>> assign requested address: JVM_Bind
>> java.lang.RuntimeException: Failed to execute start task. Reason:
>> java.io.IOException: Failed to bind to server socket:
>> tcp://lab_host.mycompany.com:61617 due to: java.net.BindException: Cannot
>> assign requested address: JVM_Bind
>>        at
>> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:98)
>>        at
>> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>>        at
>> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:136)
>>        at
>> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>>        at
>> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:82)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
>>        at org.apache.activemq.console.Main.main(Main.java:107)
>>        at
>> org.apache.activemq.maven.ServerMojo.execute(ServerMojo.java:107)
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>        at
>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>        at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: java.io.IOException: Failed to bind to server socket:
>> tcp://lab_host.mycompany.com:61617 due to: java.net.BindExcepti
>> on: Cannot assign requested address: JVM_Bind
>>        at
>> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
>>        at
>> org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:139)
>>        at
>> org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:60)
>>        at
>> org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:131)
>>        at
>> org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:1909)
>>        at
>> org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:236)
>>        at
>> org.apache.activemq.broker.DefaultBrokerFactory.createBroker(DefaultBrokerFactory.java:54)
>>        at
>> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>>        at
>> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>>        at
>> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>>        at
>> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
>>        ... 30 more
>> Caused by: java.net.BindException: Cannot assign requested address:
>> JVM_Bind
>>        at java.net.PlainSocketImpl.socketBind(Native Method)
>>        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
>>        at java.net.ServerSocket.bind(ServerSocket.java:319)
>>        at java.net.ServerSocket.<init>(ServerSocket.java:185)
>>        at
>> javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)
>>        at
>> org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)
>>        ... 39 more
>> ERROR: java.lang.Exception: java.io.IOException: Failed to bind to server
>> socket: tcp://lab_host.mycompany.com:61617 due to:
>> java.net.BindException:
>> Cannot assign requested address: JVM_Bind
>>
>> I am running it from my desktop and broker is on remote machine. There is
>> no
>> communication problem between two. I can run JMS example from my PC to
>> talk
>> to remote broker. Any ideas?
>>
>> -J
>> --
>> View this message in context:
>> http://old.nabble.com/Can-I-run-Performance-Module-from-desktop-to-measure-brokers-on-remote-host--tp29432977p29432977.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

-- 
View this message in context: http://old.nabble.com/Can-I-run-Performance-Module-from-desktop-to-measure-brokers-on-remote-host--tp29432977p29475572.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message