I have a class which tries to look up a Queue/QueueConnectionFactory and then submits message.
The code works fine with Weblogic9.x but throws the following exception in Webshpere6.1.
com.ibm.mq.jms.MQQueue incompatible with javax.jms.Queue
Any help would be appreciated.
Thanks and Regards,
Joined: May 20, 2011
Can you provide me full error, which you are getting..
Reason: If a .jar file contains a Java Extension class (javax.*.class) file which is also provided by WebSphere, then it must not be included in your Shared Library or application, or else a ClassCastException or similar error will occur. If the javax.*.class is NOT provided by WebSphere Application Server, then feel free to use that .jar in your application or Shared Library.