NullPointerException with Connection on Demand

[] [] [] [] [] [] [] [] [] [] []

  1. Connection leak in Configuration ManagerSymptom HTTP threads hang in com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.getConnection() Other terms HTTP read threads; connection leak Reason and Prerequisites Read data from Configuration manager using stream. If some exception is thrown during closing of stream...

Symptom

In case of an error while sending a message using the Connection on Demand feature, a NullPointerException is thrown.
Other terms

JMS Adapter, automatic reconnection, On Demand Connection, Connection on Demand
Reason and Prerequisites

A new feature for On Demand Connection was introduced to allow connections to Websphere MQ to be created on demand. Please refer to SAP Note 1305390 for details of this feature.
As part of this feature the code for creating the connection underwent major refactoring. A bug was introduced as part of this code change which resulted in a null pointer to be used.
Solution

Kindly refer to the SP Patch Level section for details of the released patches and deploy the relevant one to resolve this issue.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment