title: WebSphere MQ Configuration issues
body: <p>getting below error after i configure MQ connection factory.</p>
  
  <blockquote>
    <p>java.lang.ClassCastException: com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle incompatible with com.ibm.mq.jms.MQQueueConnectionFactory</p>
  </blockquote>
  
  <p>my code snippet where the exception is pointing to :</p>
  
  <blockquote>
    <p>String queueConnectionJndi = props.getProperty(queueConnection + MQ_CONN);
    queueConnectionFactory = MQQueueConnectionFactory)initialContext.lookup(queueConnectionJndi);</p>
  </blockquote>
  
  <p>I am not able to find out the root cause of this. </p>
  
  <p>can any body please help me on this, Thanks in advance.</p>