IBM Support

IV20335: ASYNCHRONOUSSOCKETCHANNEL READ/WRITE FAILS WITH TIMEOUTEXCEPTION ON AIX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: On AIX, using AsynchronousSocketChannel to
    read/write data will throw TimeoutException.
    .
    Stack Trace: j> 19:53:02 java.util.concurrent.TimeoutException:
    Timeout occured reading the channel during
    runHandlerReadWriteMultiple, iteration 0
    j> 19:53:02 Incoming buffer: null
    j> 19:53:02 ServerConnectionChannel:
    sun.nio.ch.UnixAsynchronousSocketChannelImpl<OSB>closed<CSB>
    j> 19:53:02
    j> 19:53:02 at
    tests.com.ibm.jtc.nio2.asyncio.client.MultipleReadWriteAsyncTest
    .runHandlerReadWriteMultiple(MultipleReadWriteAsyncTest.java:273
    )
    j> 19:53:02 at
    tests.com.ibm.jtc.nio2.asyncio.client.MultipleReadWriteAsyncTest
    .testHandlerReadWriteSingle(MultipleReadWriteAsyncTest.java:76)
    j> 19:53:02 at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    j> 19:53:02 at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:76)
    j> 19:53:02 at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:43)
    j> 19:53:02 at java.lang.reflect.Method.invoke(Method.java:602)
    j> 19:53:02 at
    junit.framework.TestCase.runTest(TestCase.java:168)
    j> 19:53:02 at
    junit.framework.TestCase.runBare(TestCase.java:134)
    j> 19:53:02 at
    junit.framework.TestResult$1.protect(TestResult.java:110)
    j> 19:53:02 at
    junit.framework.TestResult.runProtected(TestResult.java:128)
    j> 19:53:02 at
    junit.framework.TestResult.run(TestResult.java:113)
    j> 19:53:02 at junit.framework.TestCase.run(TestCase.java:124)
    j> 19:53:02 at
    junit.framework.TestSuite.runTest(TestSuite.java:243)
    j> 19:53:02 at junit.framework.TestSuite.run(TestSuite.java:238)
    j> 19:53:02 at
    com.ibm.jtc.test.jltf.workunitadapters.JUnitWorkUnit.runWork(JUn
    itWorkUnit.java:370)
    j> 19:53:02 at
    com.ibm.jtc.test.jltf.threads.WorkUnitRunner.run(WorkUnitRunner.
    java:113)
    j> 19:53:02 at
    com.ibm.jtc.test.jltf.threads.RunOnceThread.run(RunOnceThread.ja
    va:74)
    .
    

Local fix

Problem summary

  • The converting from Unix event to AIX event is done twice, once
    in Java code and once in native code. That causes the pollout
    event lost.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR1
    WRT-V3 SR1
    .
    Convert the event only in native code and revert the change in
    java code.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV20335

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-28

  • Closed date

    2012-04-28

  • Last modified date

    2012-05-20

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

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

    IV21499

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022