IBM Support

Error received when installing Liberty additional features using the featureManager command

Troubleshooting


Problem

If you have Java Developer Kit Version 6.x or 7.x installed with WebSphere Application Server Liberty Profile Version 8.5.5.3 or previous versions, you might receive an error message when installing Liberty additional features using the featureManager command.

Symptom

You might receive an error message similar to the following example:

[root@lava05 ˜]# /opt/IBM/WebSphere/Liberty/bin/featureManager install com.ibm.websphere.appserver.webCacheMonitor-1.0
CWWKF1203E: Unable to obtain the following features: [com.ibm.websphere.appserver.webCacheMonitor-1.0]

Cause

The Java Developer Kit overrides the SSLSocketFactory and SSLServerSockerFactory provider implementation class, which is not present in the Liberty installation.

Resolving The Problem

Choose from the following options to resolve this problem:

  • This issue is resolved in WebSphere Application Server Liberty Profile Version 8.5.5.4 or above. Update to resolve the issue.
  • Modify the java\jre\lib\security\java.security file. Comment out the following lines in the file:
    ssl.SocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLSocketFactory
    ssl.ServerSocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLServerSocketFactory

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Install","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.5.5.2","Edition":"Liberty","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21674184