IBM Support

PH59389: DFHSJ1206 WHEN EXEC CICS LINK TO A SPRINGBEAN @CICSPROGRAM WHEN USING JAKARTA EE 9

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DFHSJ1206 with insert PROXY_CLASS_NOT_FOUND when issuing an EXEC
    CICS LINK to an @CICSProgram of type SPRINGBEAN in a Jakarta EE
    9 application in a Liberty JVM server.
    
    messages.log will contain:
    
    CWWKM0483I: The javax.annotation.PostConstruct annotation is
    ignored on classes in the ... application.  Jakarta EE
    applications must use the jakarta.annotation.PostConstruct
    annotation.
    
    and these exceptions:
    
    com.ibm.cics.wlp.link.LinkableInvocationException: Failed to
    lookup proxy for POJO
    
    javax.naming.NameNotFoundException
    
    com.ibm.cics.server.InvalidRequestException: CICS INVREQ
    Condition(RESP=INVREQ, RESP2=48)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: EXEC CICS LINK to @CICSProgram fails    *
    *                      INVREQ/48 with DFHSJ1206 issued when    *
    *                      the Liberty JVMSERVER is configured for *
    *                      Jakarta EE 9 and above.                 *
    ****************************************************************
    A Java application is developed which contains @CICSProgram
    annotations so that methods can be invoked using EXEC CICS LINK.
    The Java application uses Jakarta EE 9 functionality.  The
    application is deployed to a Liberty JVM server configured for
    Jakarta EE 9 and above, for example by adding the servlet-5.0
    feature.
    
    When the application is deployed a CWWKM0483I message may be
    issued by Liberty to messages.log indicating that a javax
    annotation has been ignored.
    
    A PROGRAM definition is created by the cicsts:link-1.0 feature
    as expected, however when a LINK is issued this will fail INVREQ
    with a RESP2 of 48.  Message DFHSJ1206 will be issued with
    insert PROXY_CLASS_NOT_FOUND.  Reviewing the JVM server's
    jvmlog or stderr will show a LinkableInvocationException caused
    by a NameNotFoundException.
    

Problem conclusion

  • The proxy classes created by the CICS Annotation Processor in
    order to LINK to Spring or CDI applications that use Jakarta EE
    9 and above functionality have been updated to support Jakarta
    EE environments in addition to Java EE environments.
    
    In order to LINK to Jakarta EE applications, they must be
    rebuilt using the version of the CICS Annotation Processor from
    this APAR as well as having this APAR applied to the CICS region
    in which they are deployed.  CICS Explorer will be updated with
    the version of the CICS Annotation Processor by APAR IJ51689.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH59389

  • Reported component name

    CICS TS Z/OS V6

  • Reported component ID

    5655YA100

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-01-25

  • Closed date

    2024-08-30

  • Last modified date

    2024-10-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PH62005 UI98231

Modules/Macros

  • DFJ@H356 DFJ@H444 DFJ@H467 DFJ@H473 DFJ@H611 DFJ@H641 DFJ@H642
    DFJ@H643
    

Fix information

  • Fixed component name

    CICS TS Z/OS V6

  • Fixed component ID

    5655YA100

Applicable component levels

  • R400 PSY UI98231

       UP24/09/04 P F409

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
03 October 2024