VSE logs shows the error: java.nio.charset.spi.CharsetProvider: Provider com.ibm.mq.jmqi.CustomCharsetProvider not a subtype
search cancel

VSE logs shows the error: java.nio.charset.spi.CharsetProvider: Provider com.ibm.mq.jmqi.CustomCharsetProvider not a subtype

book

Article ID: 231866

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

After deploying the service in VSE and hitting the service from SOAPUI, getting the below error in http listener step itself.

===========================================================================
| java.util.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.ibm.mq.jmqi.CustomCharsetProvider not a subtype
============================================================================
| Step:        Virtual HTTPS Listener 12755
----------------------------------------------------------------------------
| Message:     java.nio.charset.spi.CharsetProvider: Provider com.ibm.mq.jmqi.CustomCharsetProvider not a subtype
----------------------------------------------------------------------------
| Trapped Exception: java.nio.charset.spi.CharsetProvider: Provider com.ibm.mq.jmqi.CustomCharsetProvider not a subtype
| Trapped Message:   java.util.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.ibm.mq.jmqi.CustomCharsetProvider not a subtype
 

Note: If the service is hit from LISA UI page, service is working fine and getting the valid response.

Environment

Release : 10.7 or newer

Component : DevTest Virtual Service

Cause

VSM is customized and expects Content Type : application/xml  in  the request header. 

Resolution

 Service is working fine in VSE servers when we add request headers (Content-Type: application/xml, Accept: application/xml) for requests, and hit the Virtual service. 

This is expected behavior.