Unable to Connect to Discussion Server From Within WebCenter Spaces, Error Log shows: Failed to load credentials. Inner Exception: [Keystore was tampered with, or password was incorrect] (Doc ID 1102013.1)

Last updated on FEBRUARY 15, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 and later
Information in this document applies to any platform.
Checked for relevance on 11-Feb-2016

Symptoms


When attempting to access Discussions from within WebCenter Spaces, the following error occurs:

Failure to authenticate the user weblogic, due to: Unable to connect to discussion server


Steps To Reproduce

The issue can be reproduced at will with the following steps:

  1. Configure Webcenter with Discussion Services as indicated here:

    Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter
    11g Release 1 (11.1.1)
    12 Managing the Announcements and Discussions Services

  2. Restart WCS_Spaces and WCS_Services managed servers.
  3. Access WebCenter Spaces and login.
  4. Click on Discussiohs icon in left toolbar.  The error will occur.


The WLS_Services-diagnostic.log shows the following error:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
...
Caused by: org.apache.ws.security.components.crypto.CredentialException: Failed to load credentials. Inner Exception: [Keystore was tampered with, or password was incorrect]
at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:141)
at org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:97)
at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)




Cause

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