IBM Support

IT45909: MQSICREATEBAR FAILS TO USE JAVA 8 FOR COMPILING APPLICATIONS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Mqsicreatebar command uses Java 11 by default to compile
    applications. For the applications which have dependency on Java
    8 classes, the mqsicreatebar command execution fails with the
    below exception.
    ```
    Workspace has errors on it after the build. In order to create
    bar there should be no errors on the workspace.
    Problem markers list from the workspace:
           Problem 1: Resource -
    /AppWIthJava8Java/FlowWithJava8_JavaCompute.java; Error message
    - The import com.sun.xml.internal.messaging cannot be resolved.
           Problem 2: Resource -
    /AppWIthJava8Java/FlowWithJava8_JavaCompute.java; Error message
    - The import com.sun.xml.internal.messaging cannot be resolved.
    ```
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    <span style="background-color:rgb(255, 255, 255)">All users of
    IBM App Connect Enterprise V12 executing the mqsicreatebar
    command.</span>
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When using the mqsicreatebar command, if the application relies
    on Java 8, user might encounter compilation failures. This issue
    arises because mqsicreatebar defaults to using Java 11 instead
    of Java 8.
    

Problem conclusion

  • The mqsicreatebar command uses Java 8 by default instead of Java
    11. A new command line option is provided to choose the JDK for
    compiling using the -JDKCompilerVersion flag with mqsicreatebar
    command.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v12.0      12.0.12.2
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT45909

  • Reported component name

    APP CONN ENT TL

  • Reported component ID

    5724J0561

  • Reported release

    C00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-04-09

  • Closed date

    2024-05-02

  • Last modified date

    2024-05-02

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

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

Fix information

  • Fixed component name

    APP CONN ENT TL

  • Fixed component ID

    5724J0561

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
02 May 2024