I am trying to run MQ program from my machine to a JMS configured Websphere server.I am getting the following error when I am trying to get a connection.
Can some tell what is wrong :
java.lang.NoSuchMethodError: com.ibm.mq.MQEnvironment: method addConnectionPoolToken()Lcom/ibm/mq/MQPoolToken; not found
at com.ibm.mq.jms.MQConnection.<init>(MQConnection.java:145)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:89)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:76)
com.i21.epay.mq.JMSMessenger>> closing JMS resources
com.i21.epay.mq.JMSMessenger>> JMS resources closed
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:143)
at com.i21.epay.mq.JMSMessenger.sendMessageWith2PC(JMSMessenger.java:75)
at com.i21.epay.ejb.EpayTestClient.main(EpayTestClient.java:66)
Exception in thread "P=354918
=0:CT"
mq.jar and other files are already there in the classpath.
Thanks for the hlep in advance.