IBM Support

z/OS Connect EE 2.0 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 failing with:

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

I have recently installed z/OS Connect EE V2.0. There are two stated 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.

I have updated the right Java home path, but still the task is failing with above error. (See STC log snippet below):

    -     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

The error is 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:

alt text

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

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

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server;zCEE

Document Information

Modified date:
14 February 2023

UID

dwa1283518