Release 10.1 troubleshooting

Jump to

CWWKF0042E error

If you see the following error in the log file,

com.ibm.ws.kernel.feature.internal.FeatureManager
E CWWKF0042E: A feature definition cannot be found for the restfulwsclient-3.1 feature.
  1. Go to wlp/bin and run the following command to install all the corresponding features listed in the Updating Application server features.

     ./installUtility install <featurename> 
    
  2. Restart the Application server.

Operation/Application Center/Analytics console and services are not working over HTTPS

The <liberty_directory>/usr/servers/<server_instances>/logs/messages.log file shows following message.

00002b71 com.ibm.mfp.admin.ui.servlet.ServiceProxy                    
E FWLSE3301E: Problem with SSL certificates. Possible fixes: Put the application server's certificate into the truststore. Or define the JNDI property mfp.admin.ui.cors.strictssl to false (not in production environments).
00002b71 com.ibm.mfp.admin.ui.servlet.ServiceProxy                    
E Exception (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while redirecting request to https://<ipaddress></ipaddress>>/mfp-admin/management-apis/2.0/runtimes?fullInfo=true
00002f03 com.ibm.mfp.admin.ui.servlet.ServiceProxy                    
E Received status 500 for GET https://<ipaddress>/mfp-admin/management-apis/2.0/runtimes?fullInfo=true

To resolve, complete the steps listed in the Configuring secure connections topic.

“Context Root Not Found” error message while accessing PMF Operations, Application Center, or Analytics consoles

The <liberty_directory>/usr/servers/<server_instances>/logs/messages.log file shows following message.

0000002a com.ibm.ws.webcontainer.webapp                               E SRVE0266E: Error occured while initializing servlets: java.lang.UnsupportedClassVersionError: com/ibm/mfp/admin/ui/servlet/ConsoleServicesServlet has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
  1. Check if the JAVA_HOME environment variable is set and correctly points to JAVA 21.

    The Java version used to start the PMF server instance is listed at the beginning of the messages.log file.

     ********************************************************************************
     product = Open Liberty 25.0.0.9
     wlp.install.dir = /opt/wlp/
     java.home = /usr/lib/jvm/java-21-openjdk-amd64
     java.version = 21.0.10
     java.runtime = OpenJDK Runtime Environment (21.0.10+7-LTS)
     os = Linux (6.8.0-90-generic; amd64) (en_IN)
    

Error or warnings while deploying adapters

You see the following error message on the PMF Operations console.

FWLSE0300E: <adapter_name> is a Javax adapter. Needs migration to jakarta library to be functional
  1. Build the adapter using Jakarta-compliant libraries and redeploy it. For more information, see Adapter readiness checklist.

Compilation failure while building adapter

You see the following error in the build log file.

[ERROR]   bad class file: /home/psl/.m2/repository-package-script/com/ibm/mfp/adapter-maven-api/10.1.0/adapter-maven-api-10.1.0.jar(/com/ibm/mfp/adapter/api/ConfigurationAPI.class)
[ERROR]     class file has wrong version 65.0, should be 61.0
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.
  1. Use Java 21 to build adapter. 2.Check java and java_home path by using the following command to ensure Java 21 is set.

     java -v
     echo $JAVA_HOME
    
Last modified on