Service Virtualization

  • 1.  JMS ClientID for WebSphere MQ already in Use

    Posted 03-19-2018 07:40 AM

    Hi All,

     

    We have published few MQ services on the VSE listening on queues defined in the websphere MQ server. When we tried to consume them, we are able to get the response for the first time but for the subsequent calls ,getting the below error.

     

     com.ibm.msg.client.jms.DetailedInvalidClientIDException: JMSCC0111: WebSphere MQ classes for JMS attempted to set a pre-existing client ID on a Connection or JMSContext. An application attempted to set the client ID property of a valid Connection or JMSContext to the value 'XXXXX1' but this value was already in use.

     

    After some analysis, I presume if the queues on which the virtual services are listening, if configured as durable might cause the issue ?  as far as I understand, we are not sending any client ID when trying to consume from the workstation. Please advice how we can get around with this issue? 

     

    Regards,

    Shivakumar.

     

     

     

     

     

     

     

     



  • 2.  Re: JMS ClientID for WebSphere MQ already in Use

    Posted 03-19-2018 12:37 PM

    Can you attach the full stack trace and screenshots of how you configured the VSE Listen step?



  • 3.  Re: JMS ClientID for WebSphere MQ already in Use
    Best Answer

    Posted 03-23-2018 06:38 AM

    Hi Kevin,

     

    The issue is fixed now. Looks like we are trying to explicitly send the clientID from the work station which is not required. Without clientID from the workstation, the MQ requests are going through.

     

    Regards,

    Shivakumar