Hello, Which activemq jar did you put in <jmeter>/lib folder ? Regards Philippe M. http://www.ubik-ingenierie.com
On Mon, Mar 26, 2012 at 6:24 PM, Ben Stover <bxsto...@yahoo.co.uk> wrote: > When I try to run an existing TestPlan with v5,5,1 of JMeter an a certain > computer with 64bit Win7 > then it crashes. No JMS message is sent to the MessageBroker ActiveMQ > (see jmeter.log below) > The same TestPlan works on other computers without a problem. > > So whats the problem? > > Ben > > > 2012/03/25 14:43:49 INFO - jmeter.util.JMeterUtils: Setting Locale to > en_US > 2012/03/25 14:43:49 INFO - jmeter.JMeter: Loading user properties from: > D: \java\JMeter\v2.6.0free\bin\user.properties > 2012/03/25 14:43:49 INFO - jmeter.JMeter: Loading system properties from: > D: \java\JMeter\v2.6.0free\bin > \system.properties > 2012/03/25 14:43:49 INFO - jmeter.JMeter: Copyright (c) 1998-2012 The > Apache Software Foundation > 2012/03/25 14:43:49 INFO - jmeter.JMeter: Version 2.6 r1237317 > 2012/03/25 14:43:49 INFO - jmeter.JMeter: java.version=1.6.0_27 > 2012/03/25 14:43:49 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) > Client VM > 2012/03/25 14:43:49 INFO - jmeter.JMeter: os.name=Windows 7 > 2012/03/25 14:43:49 INFO - jmeter.JMeter: os.arch=x86 > 2012/03/25 14:43:49 INFO - jmeter.JMeter: os.version=6.1 > 2012/03/25 14:43:49 INFO - jmeter.JMeter: file.encoding=Cp1252 > 2012/03/25 14:43:49 INFO - jmeter.JMeter: Default Locale=Deutsch > (Deutschland) > 2012/03/25 14:43:49 INFO - jmeter.JMeter: JMeter Locale=Englisch > (Vereinigte Staaten von Amerika) > 2012/03/25 14:43:49 INFO - jmeter.JMeter: JMeterHome=D: > \java\JMeter\v2.6.0free > 2012/03/25 14:43:49 INFO - jmeter.JMeter: user.dir =D: > \java\JMeter\v2.6.0free\bin > 2012/03/25 14:43:49 INFO - jmeter.JMeter: PWD =D: > \java\JMeter\v2.6.0free\bin > 2012/03/25 14:43:49 INFO - jmeter.JMeter: IP: 192.168.0.20 Name: munich > FullName: munich > 2012/03/25 14:43:49 INFO - jmeter.JMeter: Loaded icon properties from > org/apache/jmeter/images/icon.properties > 2012/03/25 14:43:50 INFO - jmeter.engine.util.CompoundVariable: Note: > Function class names must contain the string: > '.functions.' > 2012/03/25 14:43:50 INFO - jmeter.engine.util.CompoundVariable: Note: > Function class names must not contain the string: > '.gui.' > 2012/03/25 14:43:50 INFO - jmeter.gui.action.LookAndFeelCommand: Using > look and feel: > javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform] > 2012/03/25 14:43:51 INFO - jmeter.util.BSFTestElement: Registering JMeter > version of JavaScript engine as work-round for > BSF-22 > 2012/03/25 14:43:51 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Cannot find .className property for htmlParser, > using default > 2012/03/25 14:43:51 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/html is > 2012/03/25 14:43:51 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for application/xhtml+xml is > 2012/03/25 14:43:51 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for application/xml is > 2012/03/25 14:43:51 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/xml is > 2012/03/25 14:43:51 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/vnd.wap.wml is > org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > 2012/03/25 14:43:51 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Reuse SSL session context on subsequent > iterations: true > 2012/03/25 14:43:51 INFO - jmeter.gui.util.MenuFactory: Skipping > org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui > 2012/03/25 14:43:52 INFO - jmeter.samplers.SampleResult: Note: Sample > TimeStamps are START times > 2012/03/25 14:43:52 INFO - jmeter.samplers.SampleResult: > sampleresult.default.encoding is set to ISO-8859-1 > 2012/03/25 14:43:52 INFO - jmeter.samplers.SampleResult: > sampleresult.useNanoTime=true > 2012/03/25 14:43:52 INFO - jmeter.samplers.SampleResult: > sampleresult.nanoThreadSleep=5000 > 2012/03/25 14:44:04 INFO - jmeter.services.FileServer: Default base='D: > \java\JMeter\v2.6.0free\bin' > 2012/03/25 14:44:04 INFO - jmeter.gui.action.Load: Loading file: D: > \java\JMeter\myTests\myTestsuite.jmx > 2012/03/25 14:44:04 INFO - jmeter.services.FileServer: Set new base='D: > \java\JMeter\myTests' > 2012/03/25 14:44:04 INFO - jmeter.save.SaveService: Testplan (JMX) > version: 2.2. Testlog (JTL) version: 2.2 > 2012/03/25 14:44:04 INFO - jmeter.save.SaveService: Using SaveService > properties file encoding UTF-8 > 2012/03/25 14:44:04 INFO - jmeter.save.SaveService: Using SaveService > properties file version 1234216 > 2012/03/25 14:44:04 INFO - jmeter.save.SaveService: Using SaveService > properties version 2.2 > 2012/03/25 14:44:04 INFO - jmeter.save.SaveService: All converter > versions present and correct > 2012/03/25 14:44:04 INFO - jmeter.services.FileServer: Set new base='D: > \java\JMeter\myTests' > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: Listeners > will be started after enabling running version > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: To revert > to the earlier behaviour, define > jmeterengine.startlistenerslater=false > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: Running > the test! > 2012/03/25 14:44:14 INFO - jmeter.gui.util.JMeterMenuBar: > setRunning(true,*local*) > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 > threads for group testsuite (send 1 XML msg; > request only). > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: Thread > will continue on error > 2012/03/25 14:44:14 INFO - jmeter.threads.JMeterThread: > jmeterthread.startearlier=true (see jmeter.properties) > 2012/03/25 14:44:14 INFO - jmeter.threads.JMeterThread: Running > PostProcessors in forward order > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: All > threads have been started > 2012/03/25 14:44:14 INFO - jmeter.threads.JMeterThread: Thread started: > testsuite 1-1 > 2012/03/25 14:44:14 ERROR - jmeter.protocol.jms.sampler.JMSSampler: > org/slf4j/impl/StaticLoggerBinder > java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder > at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:230) > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) > at > org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:112) > at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:275) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261) > at > org.apache.activemq.ActiveMQPrefetchPolicy.<clinit>(ActiveMQPrefetchPolicy.java:38) > at > org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:88) > at > org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:131) > at > org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:127) > at > org.apache.activemq.jndi.ActiveMQInitialContextFactory.createConnectionFactory > (ActiveMQInitialContextFactory.java:202) > at > org.apache.activemq.jndi.ActiveMQInitialContextFactory.createConnectionFactory > (ActiveMQInitialContextFactory.java:141) > at > org.apache.activemq.jndi.ActiveMQInitialContextFactory.getInitialContext(ActiveMQInitialContextFactory.java:66) > at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) > at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) > at javax.naming.InitialContext.init(Unknown Source) > at javax.naming.InitialContext.<init>(Unknown Source) > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.getInitialContext(JMSSampler.java:423) > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:318) > at > org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:579) > at > org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:974) > at > org.apache.jorphan.collections.HashTree.traverse(HashTree.java:959) > at > org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:551) > at > org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:539) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:266) > at java.lang.Thread.run(Unknown Source) Caused by: > java.lang.ClassNotFoundException: > org.slf4j.impl.StaticLoggerBinder > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > ... 26 more > > 2012/03/25 14:44:14 WARN - jmeter.protocol.jms.sampler.JMSSampler: > Session may not be null while creating message > java.lang.IllegalStateException: Session may not be > null while creating message > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.createMessage(JMSSampler.java:179) > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.sample(JMSSampler.java:140) > at > org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:416) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271) > at java.lang.Thread.run(Unknown Source) > > 2012/03/25 14:44:14 INFO - jmeter.threads.JMeterThread: Thread finished: > testsuite (send 1 XML msg; request only) 1-1 > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: Ending > thread testsuite (send 1 XML msg; request only) 1- > 1 > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: Notifying > test listeners of end of test > 2012/03/25 14:44:14 INFO - jmeter.gui.util.JMeterMenuBar: > setRunning(false,*local*) > 2012/03/25 14:44:14 INFO - jmeter.engine.StandardJMeterEngine: Test has > ended on host null > 2012/03/25 14:45:33 INFO - jmeter.engine.StandardJMeterEngine: Running > the test! > 2012/03/25 14:45:33 INFO - jmeter.gui.util.JMeterMenuBar: > setRunning(true,*local*) > 2012/03/25 14:45:33 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 > threads for group testsuite (send 1 XML msg; > request only). > 2012/03/25 14:45:33 INFO - jmeter.engine.StandardJMeterEngine: Thread > will continue on error > 2012/03/25 14:45:33 INFO - jmeter.engine.StandardJMeterEngine: All > threads have been started > 2012/03/25 14:45:33 INFO - jmeter.threads.JMeterThread: Thread started: > testsuite (send 1 XML msg; request only) 1-1 > 2012/03/25 14:45:33 ERROR - jmeter.protocol.jms.sampler.JMSSampler: Could > not initialize class > org.apache.activemq.ActiveMQPrefetchPolicy java.lang.NoClassDefFoundError: > Could not initialize class > org.apache.activemq.ActiveMQPrefetchPolicy > at > org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:88) > at > org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:131) > at > org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:127) > at > org.apache.activemq.jndi.ActiveMQInitialContextFactory.createConnectionFactory > (ActiveMQInitialContextFactory.java:202) > at > org.apache.activemq.jndi.ActiveMQInitialContextFactory.createConnectionFactory > (ActiveMQInitialContextFactory.java:141) > at > org.apache.activemq.jndi.ActiveMQInitialContextFactory.getInitialContext(ActiveMQInitialContextFactory.java:66) > at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) > at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) > at javax.naming.InitialContext.init(Unknown Source) > at javax.naming.InitialContext.<init>(Unknown Source) > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.getInitialContext(JMSSampler.java:423) > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:318) > at > org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:579) > at > org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:974) > at > org.apache.jorphan.collections.HashTree.traverse(HashTree.java:959) > at > org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:551) > at > org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:539) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:266) > at java.lang.Thread.run(Unknown Source) > > 2012/03/25 14:45:33 WARN - jmeter.protocol.jms.sampler.JMSSampler: > Session may not be null while creating message > java.lang.IllegalStateException: Session may not be null while creating > message > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.createMessage(JMSSampler.java:179) > at > org.apache.jmeter.protocol.jms.sampler.JMSSampler.sample(JMSSampler.java:140) > at > org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:416) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271) > at java.lang.Thread.run(Unknown Source) > > 2012/03/25 14:45:33 INFO - jmeter.threads.JMeterThread: Thread finished: > testsuite (send 1 XML msg; request only) 1-1 > 2012/03/25 14:45:33 INFO - jmeter.engine.StandardJMeterEngine: Ending > thread testsuite (send 1 XML msg; request only) 1- > 1 > 2012/03/25 14:45:33 INFO - jmeter.engine.StandardJMeterEngine: Notifying > test listeners of end of test > 2012/03/25 14:45:33 INFO - jmeter.gui.util.JMeterMenuBar: > setRunning(false,*local*) > 2012/03/25 14:45:33 INFO - jmeter.engine.StandardJMeterEngine: Test has > ended on host null > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > For additional commands, e-mail: user-h...@jmeter.apache.org > > -- Cordialement. Philippe Mouawad.