Failed to get WcmApiConfig.properties

Source

http://www.notonlyanecmplace.com/what-to-do-after-a-p8-cpit-installation/   Or:

http://techienotes.com/failed-get-configuration-file-wcmapiconfig-properties/
khanhpham
January 13, 2014

Problem

Failed to get configuration file WcmApiConfig.properties

When trying to launch Process Configuration Console, Process Administrator or Process Designer from WorkplaceXT, you might be prompted a login dialog and after submit login request the system reports error saying “Failed to get configuration file WcmApiConfig.properties” event though the credential is correct

  • IBM FileNet P8 Platform version 5.2 (or 5.0/5.1)
  • WebSphere 8.5
  • WorkplaceXT 1.1.5.2
  • JRE at client machine: 7

Root Cause

There could be one of the following reasons:

  1. JSESSONId cookies are different for each request because HTTPOnlyCookies is enable.
  2. Java security at client site

Solution

To resolve, follow steps below to disable HTTPOnlyCookies. This is to resolve the issue for root cause #1.

  1. Check for “com.ibm.ws.security.addHttpOnlyAttributeToCookies” in Security > Global Security > Custom properties.  If found, delete it.
  2. Check for the custom property “com.ibm.ws.webcontainer.HTTPOnlyCookies” in Server > Server Types > WebSphere application servers > server_name > Web Container Settings > Web Container > Custom properties.  If found, delete it.
  3. Go to Applications > Application Types > WebSphere enterprise applications > Workplace XT > Modules >Manage Modules > WorkplaceXT > Session Management.
  4. Under General Properties, check the box next to “Override session management” and click Apply.
  5. Enable cookies should be checked. Click the “Enable cookies” link in the Session tracking mechanism section.
  6. Under General properties, verify that Cookie name is set to JSESSIONID and uncheck “Restrict cookies to HTTPS sessions” and “Set session cookies to HTTPONly to help prevent cross-site scripting attacks” (WAS 8.x)
  7. Go to Applications > Application Types > WebSphere enterprise applications > Workplace XT > Web Module Properties >Session Management.
  8. Under General Properties, check the box next to “Override session management” and click Apply.
  9. Enable cookies should be checked. Click the Enable cookies link in the Session tracking mechanism section.
  10. Under General properties, verify that the Cookie name is set to JSESSIONID and uncheck “Restrict cookies to HTTPS sessions” and “Set session cookies to HTTPONly to help prevent cross-site scripting attacks” (WAS 8.x) and click Apply.
  11. Save the changes to the master configuration and restart WebSphere. If the application is running in a cluster, all nodes and the deployment manager must be restarted.
  12. Clear the Java cache at the browser level

The root cause #2 is mostly happening on client machine which is running with JRE 7. To resolve it, make the following change

  1. Open file $JAVA_HOME/jre/lib/security/java.security
  2. Set “jdk.certpath.disabledAlgorithms=” (empty) instead of “jdk.certpath.disabledAlgorithms=MD2?

Reference

https://www.ecmplace.com/~ecmplace/viewtopic.php?f=102&t=24798
http://www-01.ibm.com/support/docview.wss?uid=swg21597635

2 Responses to Failed to get WcmApiConfig.properties

  1. Pingback: FileNet CPIT 5.2.1 | Ian Wilson

Leave a Reply

Your email address will not be published. Required fields are marked *