On 12/05/2009, Kamil Kukołowicz <[email protected]> wrote:
> Hello,
>  I have problem running JMeter with MQseries.
>  jmeter.log
>
>  2009/05/12 16:34:15 ERROR - jmeter.threads.JMeterThread: Test failed!
>  java.lang.IllegalStateException: QueueConnectionFactory expected, but got
>  com.ibm.mq.jms.MQConnectionFactory
>   at
>  
> org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:286)
>
>  I downloaded source code and find the line that caused problem:
>  JMSSampler.java line 283
>
>  Object obj = context.lookup(getQueueConnectionFactory());
>    if (!(obj instanceof QueueConnectionFactory)) {
>  it returns false, although com.ibm.mq.jms.MQConnectionFactory implements
>  QueueConnectionFactory interface.
>  I put libraries to /lib directory of JMeter so the class is recognized and
>  loaded.
>
>  I wonder why is it?

Any other errors?

What version of Java are you using?

Could it be that the MQ jar needs a different version?

This is really a Java question, rather than a JMeter one...

>  Any ideas welcomed.
>
>  Kamil Kukołowicz from Poland.
>
>
>  --
>
> Kamil Kukołowicz
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to