IBM Support

IT15605: IBM STERLING B2B INTEGRATOR SFTP SERVER FAILS INTERMITTENTLY - "JAVA.LANG.ILLEGALSTATEEXCEPTION: TRYING TO CLOSE WHILE CLOSED"

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

  • File uploads from openVMS SFTP client fails intermittently and
    IBM Sterling B2B Integrator SFTP server reports "Server
    shutdown before transfer could complete" in Communication
    Session. Client has no errors logged.
    
    sftpserver.log has an exception like below.
    [2016-04-30 03:06:21.674] DEBUG
    NativeFilesystemProviderBase.endSession() called with
    sessionId=0
    [2016-04-30 03:06:21.674] DEBUG
    MailboxSystemProvider.closeFile(b[]) entered,
    [2016-04-30 03:06:21.674] DEBUG Utils.closeConnection() -
    entered
    [2016-04-30 03:06:21.674] DEBUG
    DocumentOutputStreamWrapper.close() with cursor=69579
    [2016-04-30 03:06:21.679] DEBUG
    MailboxSystemProvider.Listener.onChannelClose()
    [2016-04-30 03:06:21.679] DEBUG
    MailboxSystemProvider.closeFilesystem() entered.
    [2016-04-30 03:06:21.679] DEBUG
    MailboxSystemProvider.closeFailedAllOpen() entered.
    [2016-04-30 03:06:21.679] DEBUG
    MessageProvider.closeConnectionLost(MH) - Entered.
    [2016-04-30 03:06:21.679] DEBUG
    MessageOperation.closeConnectionLost() - closing.
    [2016-04-30 03:06:21.679] DEBUG Utils.closeConnectionLost() -
    entered
    [2016-04-30 03:06:21.679] DEBUG
    MailboxSystemOperation.isListStagedDocuments() returning
    [false].
    [2016-04-30 03:06:21.679] DEBUG
    MailboxSystemOperation.isDelStagedDocsIfNotListable() returning
    [false].
    [2016-04-30 03:06:21.679] DEBUG Utils.retainFileForResumption()
    - entered
    [2016-04-30 03:06:21.679] DEBUG Utils.retainFileForResumption()
    - setting record expiration
    [2016-04-30 03:06:21.679] DEBUG Utils.closeConnection() - exited
    [2016-04-30 03:06:21.68] DEBUG MessageProvider.close(MH,b) -
    Entered.
    [2016-04-30 03:06:21.68] ERROR An exception occurred in
    closeFile.
    [2016-04-30 03:06:21.68] ERROR [1462010781680] Trying to close
    while closed.
    [2016-04-30 03:06:21.68] ERRORDTL
    [1462010781680]java.lang.IllegalStateException: Trying to close
    while closed.
        at
    com.sterlingcommerce.woodstock.services.sftpserver.server.Messag
    eProvider.close(MessageProvider.java:168)
        at
    com.sterlingcommerce.woodstock.services.sftpserver.server.Mailbo
    xSystemProvider.closeFile(MailboxSystemProvider.java:956)
        at com.maverick.sshd.SftpSubsystem$_K.run(Unknown Source)
        at com.maverick.sshd.SftpSubsystem$_T.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:801)
    

Local fix

  • None
    KK/KK
    STRRTC 501321
    

Problem summary

  • Users Affected:
    All
    
    Problem Description:
    File uploads from openVMS SFTP client fails intermittently and
    SFTP server reports "Server shutdown before transfer could
    complete" error.
    
    Platforms Affected:
    All
    

Problem conclusion

  • Resolution Summary:
    A code fix is provided.
    
    Delivered in:
    5020500_14
    5020601_6
    5020603
    5020602_3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT15605

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    524

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-06

  • Closed date

    2016-09-20

  • Last modified date

    2017-03-22

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

  • R525 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.4","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
22 March 2017