IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.4","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 September 2023