Service Virtualization

  • 1.  VSE Recorder for MQ giving NoClassDefFoundError

    Posted Mar 24, 2017 10:02 AM

    While initiating Virtual Service Image Recorder, after giving image file name, Transport protocol as 'IBM MQ Series' & other details, as I click on 'Next' it's not going to next screen &  in system messages it's givng below Error:
    ERROR - Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class com.ibm.mq.jms.MQQueueConnectionFactory

     

    Please help on how to resolve this?



  • 2.  Re: VSE Recorder for MQ giving NoClassDefFoundError

    Posted Mar 24, 2017 11:26 AM

    Make sure your version of MQ is supported.

    Then, make sure the MQ JARs associated with your version have been placed in LISA_HOME/lib. 

     

    Check this post and see if it is helpful:  Recording IBM WebSphere MQ -- Missing required IBM JMS jar files  



  • 3.  Re: VSE Recorder for MQ giving NoClassDefFoundError

    Posted Mar 27, 2017 09:23 AM

    Hi,

     

    you are probably missing this JAR: javax.jms-api-2.0.jar. You can find a link to this in the post that Joel linked earlier.

     

    Also do you have a reason why you are using the deprecated MQ Series Protocol?

    Jan