Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

2397

MQRC_JSSE_ERROR (X'095D')MQ REASON CODE · CHECKED 2026-11-14
Checked against IBM documentation

Java Secure Socket Extension (JSSE) reported an error in a Java or JMS program, for example while making a TLS connection to a queue manager.

QUICK ANSWER

Java Secure Socket Extension (JSSE) reported an error in a Java or JMS program, for example while making a TLS connection to a queue manager.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. JSSE raised an error while a TLS connection to a queue manager was being set up.
  2. The real problem is described only by the wrapped JSSE exception, not by the reason code itself.
  3. The program is a Java or JMS application (the code is not used by other languages).

CHECKED 14 Nov 2026 IBM: 2397 (095D) (RC2397): MQRC_JSSE_ERROR - IBM MQ 10.0.x

MOST LIKELY

JSSE raised an error while a TLS connection to a queue manager was being set up.

FIRST CHECK

Call getCause() on the MQException to get the JSSE exception.

TRY IT ▸

Site search

What it means

This code applies only to Java applications. The MQException carries the underlying JSSE exception, which can be retrieved with getCause(); in JMS the MQException is linked to the JMSException that was thrown.

IBM's response is to examine that causal exception to find the specific JSSE error.

Typical causes

  • JSSE raised an error while a TLS connection to a queue manager was being set up.
  • The real problem is described only by the wrapped JSSE exception, not by the reason code itself.
  • The program is a Java or JMS application (the code is not used by other languages).

How to fix it

  1. Call getCause() on the MQException to get the JSSE exception.
  2. In JMS, follow the linked exception from the JMSException to the MQException and read its cause.
  3. Act on the specific JSSE error the causal exception reports.

Example

Illustrative only; names and values are invented.

MQJE001: Completion Code '2', Reason '2397'.
Caused by: javax.net.ssl.SSLHandshakeException: ...