Can the UCM "Database Unavailable" Error Message Which Shows Connection Information be Stopped or Masked? (Doc ID 864062.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle WebCenter Content - Version 10.1.3.3.0 to 10.1.3.5.0 [Release 10gR3]
Information in this document applies to any platform.
Checked for Relevance 23-JAN-2014

Goal

UCM database unavailable error message as this is a potential security problem . The current message displays the full details of the database connect string when the database is not available:


UCM Server Access Denied
Access denied to UCM Server managed resource. Error receiving response from master server for user authentication check. (Unable to execute service CHECK_USER_CREDENTIALS and function
remoteCredentialsCheck. (System Error: Unable to create database connection for the database
'SystemDatabase' with connection string 'jdbc:oracle:thin:@NNN.NNN.NNN.NNN:NNNN:ucmtst'. Please make sure that the connection string, user and password are correct. Listener refused the
connection with the following error: ORA-12505, TNS:listener does not currently know of SID given
in connect descriptor The Connection descriptor used by the client was:
NNN.NNN.NNN.NNN:NNNN:ucmtst))


How can one hide these details in the error message?


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms