IBM Support

JR45890: CMVC 227328 - Upload of managed static files to Microsoft FTP V7.5 fails when WAS is running on Unix or Linux.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the WebSphere Commerce application is running on Unix or
    Linux nodes the FTP static file management will fail upload
    files to a Microsoft Internet Services V7.5 FTP server.  The
    scheduled job that performs the static EAR update generates and
    error like the following in the SystemOut.log:
    
     [1/28/13 11:59:00:449 GST] 00000030 CommerceSrvr  E
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl validateFTPConnections EARUpdate failed since
    none of the FTP servers are working.
     [1/28/13 11:59:00:539 GST] 00000030 CommerceSrvr  E
    com.ibm.commerce.filepublish.commands.ScheduledContentManagedFil
    eEARUpdateCmdImpl performExecute _ERR_CMFILE_EAR_UPDATE_FAILED
    java.lang.RuntimeException: java.lang.RuntimeException:
    com.ibm.commerce.wc.
    appmanagement.exception.WCAppManagementException:
    com.ibm.commerce.exception.ECSystemException: EARUpdate failed
    since none of the FTP servers are working.
       at
    com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:13
    7)
       at
    com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:89
    )
       at
    com.ibm.commerce.wc.appmanagement.WASEARUpdater.update(WASEARUpd
    ater.java:344)
       at
    com.ibm.commerce.filepublish.util.UpdateContentManagedFileInEARU
    til.update(UpdateContentManagedFileInEARUtil.java:235)
    
     If you enable WebSphere Commerce SERVER_MANAGEMENT trace you
    will see the following output in the trace.log:
    
     [1/28/13 11:59:00:438 GST] 00000030 WC_SERVER_MAN 3
    PartialEARBuilder updateStaticEARContent update static EAR
    content on web server ...
     [1/28/13 11:59:00:438 GST] 00000030 WC_SERVER_MAN >
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl performExecute Entry
     [1/28/13 11:59:00:439 GST] 00000030 WC_SERVER_MAN 3
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl performExecute entering sychronization block
    ...
     [1/28/13 11:59:00:439 GST] 00000030 WC_SERVER_MAN >
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl validateFTPConnections Entry
     [1/28/13 11:59:00:439 GST] 00000030 WC_SERVER_MAN >
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl validateFTPConnection Entry
     [1/28/13 11:59:00:447 GST] 00000030 WC_SERVER_MAN 3
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl validateFTPConnection Failed to login:
    afwcsstgw01.corp.al-futtaim.com
     [1/28/13 11:59:00:448 GST] 00000030 WC_SERVER_MAN <
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl validateFTPConnection Exit
     [1/28/13 11:59:00:448 GST] 00000030 WC_SERVER_MAN 3
    com.ibm.commerce.wc.appmanagement.commands.UpdateStaticEARConten
    tUsingFTPCmdImpl validateFTPConnections Files are not updated on
    server xxx.xxx.com since the FTP service is
    not workin
    g.
    

Local fix

  • You can work around the issue by using an FTP server running on
    Unix or Linux.
    

Problem summary

  • USERS AFFECTED:
     The issue affects WebSphere Commerce customers who
     - are using FTP to upload static files to their remote web
    server (per the instructions here:
    http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.co
    mmerce.developer.doc/tasks/tdpupdwebasst.htm), and
     - are using a Unix or Linux operating system on the systems
    running the WebSphere Application Server, and
     - are using the Microsoft Internet Services 7.5 FTP server as
    the FTP server, running on Microsoft Windows.
    
     PROBLEM ABSTRACT:
     Upload of managed static files to Microsoft FTP V7.5 fails when
    WAS is running on Unix or Linux.
    
     BUSINESS IMPACT:
     Delay the deployment of WebSphere Commerce infrastructure.
    
     RECOMMENDATION:
    

Problem conclusion

  • When the WebSphere Commerce application is running on Unix or
    Linux, all FTP commands sent to the FTP server are terminated
    with the Unix line terminator: which is the line-feed character.
      Previous versions of the Microsoft Internet Services FTP
    server a
    ccepted the line-feed character alone as a valid line
    terminator.  However, starting with Microsoft Internet Services
    7.5, the line feed character alone is no longer accepted by
    Microsoft Internet Services FTP server as a valid line
    terminator for FTP com
    mands.  FTP commands sent to the 7.5 version of the Microsoft
    FTP server must be terminated by both carriage-return and a
    line-feed characters,  This is as described in the Microsoft
    Knowledge Base article # 2505047.
    
     The FTP client in IBM's WebSphere Commerce application has been
    updated to appropriately terminate FTP commands sent to the
    Microsoft Internet Services 7.5 FTP server.
     -------------------------------------------------------------
     The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
     http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45890

  • Reported component name

    WC EXP EDITION

  • Reported component ID

    5724I3600

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-01

  • Closed date

    2013-06-20

  • Last modified date

    2014-03-11

  • 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

    WC EXP EDITION

  • Fixed component ID

    5724I3600

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZMJX","label":"WebSphere Commerce - Express"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 March 2014