Saturday, August 27, 2011

Content Server won't start with CSDS failing to get initialized in UCM 11g

Recently I got the below error, because of which my managed server (content server) in UCM 11g was getting started with errors but the application won't come up.

Failed to initialize the application 'CSDS' due to error com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte..

CSDS is the datasource for the DB that UCM connects to. The CSDS datasource configuration and test connection can be done from the Weblogic Server(WLS) console.

The configuration for CSDS that is viewed through the WLS console is stored in the file
cs-ds-jdbc.xml

The file is located in the below path
$MiddlewareHOME/user_projects/domains/YOUR_DOMAIN/config/jdbc/cs-ds-jdbc.xml

The above mentioned error is due to the encrypted password getting corrupted and to resolve it just replace the encrypted password with its corresponding clear text value in the file cs-ds-jdbc.xml

The password is the schema password to connect to the UCM schema.

Then restart the server, it should start without any errors and the application should come up.

Hope this helps someone.

1 comment:

Anonymous said...

Thanks! It helped a lot!