IBM Support

CWWKE0017E when invoking WebSphere Liberty securityUtility command on z/OS from OMVS

Question & Answer


Question

I am using z/OS Connect Enterprise Edition (zCEE) V3.0.6 and when invoking the WebSphere Liberty securityUtility command to encode a password...

 securityUtilityencode --encoding=hash password

I receive the following error message:

 CWWKE0017E: The process detected a 31-bit JVM which is not supported.
 The runtime environment requires 64-bit Java 6 or higher.

I have set JAVA_HOME=/usr/lpp/java/current which is symlinked to:
/sharedprods/java/J8.0_64/SR5.

I am running the 64 bit JRE version of Java 8.0, so why is the sercurityUtility picking up a 31-bit version?

Answer

After you go into OMVS, enter the following commands:

 echo $JAVA_HOME
 echo $PATH
 printenv

then check these variable setting to see if they include a 31 bit Java path.

If you see a 31 bit Java, next change directory to the /etc/ directory and see if there is a 'profile' file that exports a 31 bit Java path.

If there is nothing in /etc/ profile, next change directory to your /u/ directory for your userid and see if you have a '.profile' file that exports a 31 bit Java.

If you cannot find a 31 bit Java path anywhere that could result in the CWWKE0017E message, I would try changing directory back to your

/service/usr/lpp/IBM/zosconnect/v3r0/wlp/bin

and enter the command:

 echo $PATH

and copy the full path returned and enter command:

 export PATH=$PATH:/sharedprods/java/J8.0_64/SR5/bin

Enter another echo $PATH command and confirm it shows the 64 bit Java in the path and then try the securityUtility command again.

Bill Bulfin
IBM zCEE L2 Support

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

zCEE

Document Information

Modified date:
14 February 2023

UID

dwa1454485