IBM Support

java.util.MissingResourceException when creating z/OS Connect EE server

Question & Answer


Question

Hi, I have installed z/OS Connect EE and performed the post installation tasks, but when I try to create a server using: zosconnect create server1 --template=zosconnect:default it fails with:

Exception in thread "main" java.util.MissingResourceException: Can't find resource for bundle com.ibm.ws.kernel.boot.resources.LauncherMessages, key error.badBitmode                                                                                                           at java.util.ResourceBundle.getObject(ResourceBundle.java:461)                                                                      at java.util.ResourceBundle.getString(ResourceBundle.java:418)                                                                      at com.ibm.ws.kernel.boot.cmdline.EnvCheck.badBitMode(EnvCheck.java:78)                                                             at com.ibm.ws.kernel.boot.cmdline.EnvCheck.main(EnvCheck.java:51)                                                                   at com.ibm.ws.kernel.boot.cmdline.EnvCheck.main(EnvCheck.java:35)

Am I missing something?

Answer

Hi

The significant part of the error message is "error.badBitmode". z/OS Connect EE requires a 64-bit Java SDK, but a 31-bit SDK was being used to run the zosconnect command.

Ensure that you are using a 64-bit Java SDK. The zosconnect command searches for the java command in this order: JAVA_HOME property, JRE_HOME property, and system PATH property.

Regards Sue (IBM z/OS Connect EE)

[{"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

dwa1509594