Discussions Server Authentication Fails When Accessed through WebCenter with "java.lang.RuntimeException: CryptoFactory: Cannot load properties: keystore.properties" In Version 11.1.1.2.0 and 11.1.1.3.0 (Doc ID 1326498.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 to 11.1.1.3.0 [Release 11g]
Information in this document applies to any platform.
This note applies only to WebCenter PS1 (11.1.1.2) and WebCenter PS2 (11.1.1.3).
Starting from WebCenter PS3 (11.1.1.4) the connection configuration between WebCenter and Discussion forum has changed.


Symptoms


Discussions Server authentication fails from within WebCenter Spaces discussion forums task flow.

The error reported in the WLS_Service slog file is the following:

[2011-05-26T16:55:06.953+03:00] [WLS_Services] [ERROR] [] [org.codehaus.xfire.handler.DefaultFaultHandler] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 0000J0g__8uEKQWzLwBT8A1Dr_eh000009,0] [APP: owc_discussions#11.1.1.2.0] [dcid: c5d6bd3a05d3ddc2:-966f292:1302c930b2d:-8000-0000000000000662] Fault occurred![[
java.lang.RuntimeException: CryptoFactory: Cannot load properties: keystore.properties
at org.apache.ws.security.components.crypto.CryptoFactory.getProperties(CryptoFactory.java:254)
at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:171)
at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.java:349)
at org.apache.ws.security.handler.WSHandler.decodeSignatureParameter2(WSHandler.java:850)
at org.apache.ws.security.handler.WSHandler.doReceiverAction(WSHandler.java:232)
at org.codehaus.xfire.security.wss4j.WSS4JInHandler.invoke(WSS4JInHandler.java:126)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:39)
at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:287)
at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:130)
at org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

Changes

This is a brand new WebCenter installation where the discussion forum was configured following the documentation below:

Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter
11g Release 1 (11.1.1)
Part Number E12405-05
23.8.1.2 Configuring the Discussions Server for a Simple Topology




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