Forum Discussion

bkols's avatar
bkols
New Contributor
15 years ago

JMS tesing with IBM Websphere MQ

Hallo,
I am trying to publish a message in a cluster queue of a IBM MQ Queue manager.
When adding a JMS endpoint i am able to see this session and the queues. But when i am trying to send a message, i am getting an error "ERROR:java.lang.AbstractMethodError".

when i try to send the same message to the activeMQSession in the queue testQ1, it works.
Is there a special configuration which i would need to do to write to a IBM MQ Queue manager?


Thanks in advance,
Bhaskar

10 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    could you please send content of error log here.

    Thanks in advance

    Nebojsa
    eviware.com
  • bkols's avatar
    bkols
    New Contributor
    Hi,

    here is the error in SOAPUI
    Fri Feb 05 10:56:18 CET 2010:ERROR:java.lang.AbstractMethodError
      java.lang.AbstractMethodError
      at com.eviware.soapui.impl.wsdl.submit.transports.jms.HermesJmsRequestTransport.messageSend(HermesJmsRequestTransport.java:258)
      at com.eviware.soapui.impl.wsdl.submit.transports.jms.HermesJmsRequestSendTransport.execute(HermesJmsRequestSendTransport.java:42)
      at com.eviware.soapui.impl.wsdl.submit.transports.jms.HermesJmsRequestTransport.sendRequest(HermesJmsRequestTransport.java:99)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Fri Feb 05 10:56:18 CET 2010:ERROR:java.lang.NullPointerException
      java.lang.NullPointerException
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:129)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)-

    heres the log from yesterday:
    Thu Feb 04 17:11:38 CET 2010:ERROR:An error occured [com.ibm.mq.jms.MQQueueSession.createProducer(Ljavax/jms/Destination;)Ljavax/jms/MessageProducer;], see error log for details
    Thu Feb 04 17:11:38 CET 2010:ERROR:Exception in request: java.lang.NullPointerException
  • bkols's avatar
    bkols
    New Contributor
    Yes, actually i have configured the MQ Queue Manager using HERMES JMS and can see them. When i try to publish a message over HERMES JMS in this queue, it works.
    In SoapUI also, i can when i try to configure "Add JMS endpoint", i see the session and the queues. The endpoint is also automatically created by SOAP UI like jms://::queue_::queue_.

    Cheers,
    Bhaskar
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    I digg into this and find out that the problem is in version of JMS  specification .
    You must be using some older IBM MQ middleware which use JMS 1.0.2 specification and SoapUI unfortunatelly supports ( so far )  JMS 1.1 specification.

    We will look into this and solve it in some latter release , so stay tuned.

    Thanks
    Nebojsa
    eviware.com
  • bkols's avatar
    bkols
    New Contributor
    Great that you found the problem. Will await the resolution!!!

    Cheers,
    Bhaskar
  • Hi,

    When do you plan to support JMS 1.0.2 ?
    I am currently facing the same issue.
    And I don't see anything about it in the "Feature Requests" tracker.

    Thanks,
    Ludovic.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    JMS 1.0.2 support is not currently planned, we'll have to look into it in more detail..

    regards!

    /Ole
    eviware.com