IBM Support

LI80999: EOFEXCEPTION IS CAUSED BY SOCKET CLOSED BY JSONLISTENER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • It confirmed the following exceptions in cmc.out:
    Caused by: com.mongodb.MongoException$Network: Read operation
    to server localhost:27017 failed on database apim
            at
    com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:298)
            at
    com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269)
            at
    com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)
            at
    com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66)
            at
    com.mongodb.DBCollection.findOne(DBCollection.java:940)
            at
    com.mongodb.DBCollection.findOne(DBCollection.java:914)
            at
    com.mongodb.DBCollection.findOne(DBCollection.java:858)
            at
    org.springframework.data.mongodb.core.MongoTemplate$FindOneCallb
    ack.doInCollection(MongoTemplate.java:1855)
            at
    org.springframework.data.mongodb.core.MongoTemplate$FindOneCallb
    ack.doInCollection(MongoTemplate.java:1840)
            at
    org.springframework.data.mongodb.core.MongoTemplate.executeFindO
    neInternal(MongoTemplate.java:1626)
            ... 66 more
     Caused by: java.io.EOFException
            at org.bson.io.Bits.readFully(Bits.java:75)
            at org.bson.io.Bits.readFully(Bits.java:50)
            at org.bson.io.Bits.readFully(Bits.java:37)
            at com.mongodb.Response.<init>(Response.java:42)
            at com.mongodb.DBPort$1.execute(DBPort.java:164)
            at com.mongodb.DBPort$1.execute(DBPort.java:158)
            at com.mongodb.DBPort.doOperation(DBPort.java:187)
            at com.mongodb.DBPort.call(DBPort.java:158)
            at
    com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:290)
            ... 75 more
    
    From this root cause of the problem is EOFException thrown at
    org.bson.io.Bits.readFully(Bits.java:75)
    
    This EOFException is caused by socket closed by jsonListener.
    It is that the listener.idle.timeout does not work on 5.0.8.4.
    The listener.idle.timeout starts to work on 5.0.8.5 and causes
    connection close.
    

Local fix

Problem summary

  • Many different internal rest calls and portal background sync
    fails intermittently with the below error
    [com.ibm.apimgmt.exception.APIGenericException$Serializer.serial
    ize] Read operation to server localhost:27017 failed on database
    apim
    Throwable occurred: com.mongodb.MongoException$Network: Read
    operation to server localhost:27017 failed on database apim
    

Problem conclusion

  • Fixed in 5.0.8.7-iFix, 5.0.8.8 and later
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI80999

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    508

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-07-22

  • Closed date

    2020-01-16

  • Last modified date

    2020-01-16

  • 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

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

  • R508 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"508","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2021