IBM Support

IV97359: FSTATX FAILED WITH ERRNO=9 WHEN LAUNCH JAVA PROCESS WITH PROCESSBUILDER IF CALL PROCESSBUILDER.INHERITIO() ON IBM I

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: fstatx failed with errno=9 when launch java
    process with ProcessBuilder if call ProcessBuilder.inheritIO()
    on IBM i
    .
    Stack Trace: java.lang.InternalError: fstatx failure, errno=9,
    extra=-1
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:201)
    at java.lang.ProcessImpl.start(ProcessImpl.java:164)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1040)
    at TestMain.main(TestMain.java:34)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • Exception occurred when customer create a child process using
    ProcessBuilder and call ProcessBuilder.inheritIO() at the same
    time.
    

Problem conclusion

  • Following methods are added by Oracle since 7.0, IBM i JDK only
    support PIPE communication between parent process and child
    process. Need to extend, such as Redirect.INHERIT, and
    Redirect.FILE
    .
    This APAR will be fixed in the following Java Releases:
       8    SR4 FP10  (8.0.4.10)
       7    SR10 FP10 (7.0.10.10)
       7 R1 SR4 FP10  (7.1.4.10)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV97359

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-20

  • Closed date

    2017-07-10

  • Last modified date

    2017-07-10

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022