Websphere Liberty password consumer java.lang.NullPointerException

book

Article ID: 4539

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction

Using Websphere Liberty with an Oracle password consumer. PUPMAgent_Trace.log shows the password being returned correctly, but a connection is not made with the following in the Websphere Liberty console.log 

[ERROR ] J2CA0046E: Method createManagedConnectionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/myoracle, throwing ResourceAllocationException. Original exception: <=================================>Exception Message -> null 

java.lang.NullPointerException 

Cause

In you server.xml the following was used: 

CAJDBCPropertyRealDataSourceClass 

Environment

Release: ACP1M005900-12.9-Privileged Identity Manager
Component:

Resolution

It should be: 

CAJDBCPropertyRealDatasourceClass

Note the lower case s in source.