RE: NPE with JMS Publisher to Websphere MQ version 6
What about this bug report: http://issues.apache.org/bugzilla/show_bug.cgi?id=40363 It describes exactly what I am seeing. And the fix mentioned in this bug report does not seem to be in Jmeter 2.2 Publisher.java file. Is this bug applicable to Websphere MQ also? Hugh -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:54 PM To: JMeter Users List Subject: Re: NPE with JMS Publisher to Websphere MQ version 6 it looks like jmeter couldn't connect ot the jms server, I would double check the settings peter On 10/26/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: I am getting the following error when I try to publish to a topic using Websphere MQ version 6 and Jmeter version 2.2 2006/10/26 10:08:09 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval 2006/10/26 10:08:09 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 is done 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2006/10/26 10:08:09 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local) 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2006/10/26 10:10:56 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2006/10/26 10:15:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Write Notification Tests Thread Group. Ramp up = 1. 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2006/10/26 10:15:47 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 started 2006/10/26 10:15:47 INFO - jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial context factory 2006/10/26 10:15:47 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher .java:86) at org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:63 ) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi sherSampler.java:110) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:134) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:121) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) I have checked all of my JNDI settings and they are OK. I wrote a standalone JMS Publisher Java program and a separate subscriber standalone Java program. They were able to pub/sub between themselves using the same JNDI settings that I am trying to use with Jmeter. (My JMS Point-to-Point works in Jmeter with the same JNDI context factory and provider URL). Any help is appreciated. Hugh Rodgers Lockheed Martin ISS Bldg 42, Room 017, M/S 4211 1300 S. Litchfield Rd Goodyear, AZ 85338 623-925-7785 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NPE with JMS Publisher to Websphere MQ version 6
It could be related. I've tested the pub/sub samplers against weblogic, activemq, openjms and orion. I'll look into the bug and try to apply the fix. peter On 10/28/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: What about this bug report: http://issues.apache.org/bugzilla/show_bug.cgi?id=40363 It describes exactly what I am seeing. And the fix mentioned in this bug report does not seem to be in Jmeter 2.2 Publisher.java file. Is this bug applicable to Websphere MQ also? Hugh -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:54 PM To: JMeter Users List Subject: Re: NPE with JMS Publisher to Websphere MQ version 6 it looks like jmeter couldn't connect ot the jms server, I would double check the settings peter On 10/26/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: I am getting the following error when I try to publish to a topic using Websphere MQ version 6 and Jmeter version 2.2 2006/10/26 10:08:09 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval 2006/10/26 10:08:09 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 is done 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2006/10/26 10:08:09 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local) 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2006/10/26 10:10:56 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2006/10/26 10:15:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Write Notification Tests Thread Group. Ramp up = 1. 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2006/10/26 10:15:47 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 started 2006/10/26 10:15:47 INFO - jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial context factory 2006/10/26 10:15:47 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher .java:86) at org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:63 ) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi sherSampler.java:110) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:134) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:121) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) I have checked all of my JNDI settings and they are OK. I wrote a standalone JMS Publisher Java program and a separate subscriber standalone Java program. They were able to pub/sub between themselves using the same JNDI settings that I am trying to use with Jmeter. (My JMS Point-to-Point works in Jmeter with the same JNDI context factory and provider URL). Any help is appreciated. Hugh Rodgers Lockheed Martin ISS Bldg 42, Room 017, M/S 4211 1300 S. Litchfield Rd Goodyear, AZ 85338 623-925-7785 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NPE with JMS Publisher to Websphere MQ version 6
Thanks! I would REALLY appreciate that! Hugh -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Saturday, October 28, 2006 4:30 PM To: JMeter Users List Subject: Re: NPE with JMS Publisher to Websphere MQ version 6 It could be related. I've tested the pub/sub samplers against weblogic, activemq, openjms and orion. I'll look into the bug and try to apply the fix. peter On 10/28/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: What about this bug report: http://issues.apache.org/bugzilla/show_bug.cgi?id=40363 It describes exactly what I am seeing. And the fix mentioned in this bug report does not seem to be in Jmeter 2.2 Publisher.java file. Is this bug applicable to Websphere MQ also? Hugh -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:54 PM To: JMeter Users List Subject: Re: NPE with JMS Publisher to Websphere MQ version 6 it looks like jmeter couldn't connect ot the jms server, I would double check the settings peter On 10/26/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: I am getting the following error when I try to publish to a topic using Websphere MQ version 6 and Jmeter version 2.2 2006/10/26 10:08:09 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval 2006/10/26 10:08:09 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 is done 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2006/10/26 10:08:09 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local) 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2006/10/26 10:10:56 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2006/10/26 10:15:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Write Notification Tests Thread Group. Ramp up = 1. 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2006/10/26 10:15:47 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 started 2006/10/26 10:15:47 INFO - jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial context factory 2006/10/26 10:15:47 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher .java:86) at org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:63 ) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi sherSampler.java:110) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:134) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:121) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) I have checked all of my JNDI settings and they are OK. I wrote a standalone JMS Publisher Java program and a separate subscriber standalone Java program. They were able to pub/sub between themselves using the same JNDI settings that I am trying to use with Jmeter. (My JMS Point-to-Point works in Jmeter with the same JNDI context factory and provider URL). Any help is appreciated. Hugh Rodgers Lockheed Martin ISS Bldg 42, Room 017, M/S 4211 1300 S. Litchfield Rd Goodyear, AZ 85338 623-925-7785 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NPE with JMS Publisher to Websphere MQ version 6
I am getting the following error when I try to publish to a topic using Websphere MQ version 6 and Jmeter version 2.2 2006/10/26 10:08:09 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval 2006/10/26 10:08:09 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 is done 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2006/10/26 10:08:09 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local) 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2006/10/26 10:10:56 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2006/10/26 10:15:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Write Notification Tests Thread Group. Ramp up = 1. 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2006/10/26 10:15:47 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 started 2006/10/26 10:15:47 INFO - jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial context factory 2006/10/26 10:15:47 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher .java:86) at org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:63 ) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi sherSampler.java:110) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:134) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:121) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) I have checked all of my JNDI settings and they are OK. I wrote a standalone JMS Publisher Java program and a separate subscriber standalone Java program. They were able to pub/sub between themselves using the same JNDI settings that I am trying to use with Jmeter. (My JMS Point-to-Point works in Jmeter with the same JNDI context factory and provider URL). Any help is appreciated. Hugh Rodgers Lockheed Martin ISS Bldg 42, Room 017, M/S 4211 1300 S. Litchfield Rd Goodyear, AZ 85338 623-925-7785 [EMAIL PROTECTED]
Re: NPE with JMS Publisher to Websphere MQ version 6
it looks like jmeter couldn't connect ot the jms server, I would double check the settings peter On 10/26/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: I am getting the following error when I try to publish to a topic using Websphere MQ version 6 and Jmeter version 2.2 2006/10/26 10:08:09 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval 2006/10/26 10:08:09 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 is done 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2006/10/26 10:08:09 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local) 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2006/10/26 10:10:56 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2006/10/26 10:15:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Write Notification Tests Thread Group. Ramp up = 1. 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2006/10/26 10:15:47 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 started 2006/10/26 10:15:47 INFO - jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial context factory 2006/10/26 10:15:47 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher .java:86) at org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:63 ) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi sherSampler.java:110) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:134) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:121) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) I have checked all of my JNDI settings and they are OK. I wrote a standalone JMS Publisher Java program and a separate subscriber standalone Java program. They were able to pub/sub between themselves using the same JNDI settings that I am trying to use with Jmeter. (My JMS Point-to-Point works in Jmeter with the same JNDI context factory and provider URL). Any help is appreciated. Hugh Rodgers Lockheed Martin ISS Bldg 42, Room 017, M/S 4211 1300 S. Litchfield Rd Goodyear, AZ 85338 623-925-7785 [EMAIL PROTECTED]