IBM Support

z/OS Connect server startup fails with Error: zosconnect command /bin/java was not found check JAVA_HOME is correct

Question & Answer


Question

Why is the z/OS Connect Enterprise Edition (EE) task LIBERTY initialization failing with the following error:

 Error: zosconnect command /usr/lpp/java/J7.0   00400016/bin/java was not found, check JAVA_HOME is correct

You recently installed z/OS Connect EE V3.0. There are two started tasks that should be running. One started task is ANGEL and the other one is LIBERTY. The task ANGEL is up and running in the system, but the task LIBERTY is failing. 

You are sure that Java™ home path is correct, but the LIBERTY task is still failing with this error indicating the path was not found.

Cause

The z/OS Connect server is failing to start due to sequence numbers (00400016) in columns 73-80 of the STDENV DD input statements. The same sequence numbers can be seen in the error message that is returned. This can be seen in the following STC log snippet:

    -     BULFIN1   1 0s         00   0001M   C                                                                                                     
     m  STARTING   BULFIN1                                                                                                                          
     m  BULFIN1 PROC                                                                                                                                
  d  m  ZCON   BPXBATSL:  STARTINGi  0M   4Gk  PGM /usr/lpp/IBM/zosconnect/v2r0/bin/zosconnect run bulfin1 --cleanl  1440 00                        
     >  STDOUT.  *¢  BULFIN.BULFIN1.STC51639.D0000102.?                                                                                             
     >  STDERR.  *¢  BULFIN.BULFIN1.STC51639.D0000103.?                                                                                             
    a>  STDIN                                                                                                                                       
     >  STDENV       ¢  BULFIN.BULFIN1.STC51639.D0000101.?                                                                                          
 #_CEE_RUNOPTS=TERMTHDACT(UADUMP),RPTOPTS(ON)                                                                                                       
 _BPX_SHAREAS=YES                                                                                                                                   
 JAVA_HOME=/java/J64                                                     00400016                                                                   
 #JVM_OPTIONS=-verbose:gc -verbose:class                                                                                                            
 #JVM_OPTIONS=<Optional JVM parameters>                                                                                                             
 Error: zosconnect command /java/J64                                                     00400016/bin/java was not found, check JAVA_HOME is correct

Answer

Remove the sequence numbers from cols 73-80 in the STDENV input and restart the z/OS Connect server.

[{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"ARM Category":[{"code":"a8m0z00000007b1AAA","label":"Java"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"ARM Category":[{"code":"a8m0z0000008Zu9AAE","label":"Java"}],"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Versions"}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server;zCEE

Document Information

Modified date:
24 April 2024

UID

dwa1283518