IBM Support

JR40063: CMVC 211812 - SCHEDULEDCONTENTMANAGEDFILEEARUPDATE JOB FAILS IF D.M. IS DOWN, EVEN IF CONFIGURED FOR FTP OR FILE COPY

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ScheduledContentManagedFileEARUpdate  fails with the message
    _ERR_CMFILE_EAR_UPDATE_FAILED when the deployment manager is
    down.
    
    You have completed the below instructions to configure the
    ScheduledContentManagedFileEARUpdate and other jobs to copy
    static assets to a Web Server as opposed to the WebSphere
    Commerce EAR.
    
    Updating static Web assets to a remote Web server
    http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com
    .ibm.commerce.developer.doc/tasks/tdpupdwebasst.htm
    
    You notice that deployment of the static files fails if the
    Deployment Manager is down.  The message in the logs will look
    similar to the following:
    
    [7/11/11 13:58:10:205 EDT] 000000c4 CommerceSrvr  E
    com.ibm.commerce.filepublish.commands.ScheduledContentManagedFil
    eEARUpdateCmdImpl performExecute
    _ERR_CMFILE_EAR_UPDATE_FAILEDjava.lang.RuntimeException:
    java.lang.RuntimeException: java.lang.RuntimeException:
    java.lang.RuntimeException:
    com.ibm.websphere.management.exception.AdminException:
    com.ibm.websphere.management.exception.ConnectorNotAvailableExce
    ption
            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.initializeAppMan
    agement(WASEARUpdater.java:761)
            at
    com.ibm.commerce.wc.appmanagement.WASEARUpdater.<init>(WASEARUpd
    ater.java:163)
            at java.lang.J9VMInternals.newInstanceImpl(Native
    Method)
            at java.lang.Class.newInstance(Class.java:1328)
            at
    com.ibm.commerce.version.AbstractProductVersionImplFactory.getIm
    plementation(AbstractProductVersionImplFactory.java:92)
            at
    com.ibm.commerce.wc.appmanagement.EARUpdaterFactory.getEARUpdate
    r(EARUpdaterFactory.java:95)
            at
    com.ibm.commerce.filepublish.util.UpdateContentManagedFileInEARU
    til.preSetParameters(UpdateContentManagedFileInEARUtil.java:280)
            at
    com.ibm.commerce.filepublish.util.UpdateContentManagedFileInEARU
    til.<init>(UpdateContentManagedFileInEARUtil.java:364)
            at
    com.ibm.commerce.filepublish.util.ContentManagedFileEARUpdateImp
    l.update(ContentManagedFileEARUpdateImpl.java:354)
            at
    com.ibm.commerce.filepublish.util.ContentManagedFileEARUpdateImp
    l.update(ContentManagedFileEARUpdateImpl.java:311)
            at
    com.ibm.commerce.filepublish.commands.ScheduledContentManagedFil
    eEARUpdateCmdImpl.performExecute(ScheduledContentManagedFileEARU
    pdateCmdImpl.java:119)
            at
    com.ibm.commerce.command.ECCommandTarget.executeCommand(ECComman
    dTarget.java:157)
            at
    com.ibm.ws.cache.command.CommandCache.executeCommand(CommandCach
    e.java:332)
            at
    com.ibm.websphere.command.CacheableCommandImpl.execute(Cacheable
    CommandImpl.java:166)
            at
    com.ibm.commerce.command.AbstractECTargetableCommand.execute(Abs
    tractECTargetableCommand.java:172)
            at
    com.ibm.commerce.component.BaseComponentImpl.executeCommand(Base
    ComponentImpl.java:190)
            at
    com.ibm.commerce.component.WebAdapterComponentImpl.executeComman
    d(WebAdapterComponentImpl.java:46)
            at
    com.ibm.commerce.component.objimpl.WebAdapterServiceBeanBase.exe
    cuteCommand(WebAdapterServiceBeanBase.java:58)
            at
    com.ibm.commerce.component.objects.EJSLocalStatelessWebAdapterSe
    rvice_ce749a4a.executeCommand(EJSLocalStatelessWebAdapterService
    _ce749a4a.java:31)
            at
    com.ibm.commerce.component.objects.WebAdapterServiceAccessBean.e
    xecuteCommand(WebAdapterServiceAccessBean.java:160)
            at
    com.ibm.commerce.scheduler.SchedulerJob.process(SchedulerJob.jav
    a:505)
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce 7.0 customers which have configured
    deployment of static assets to be done to a remote Web Server
    and have federated their WebSphere Commerce application.
    
    PROBLEM ABSTRACT:
    ScheduledContentManagedFileEARUpdate job fails if the Deployment
    Manager is down
    
    BUSINESS IMPACT:
    If the Deployment Manager is down, the
    ScheduledContentManagedFileEARUpdate and other jobs that deploy
    static assets could fail, even if the UpdateStaticEARContentCmd
    job is configured for FTP or File Copy as described above
    
    RECOMMENDATION:
    

Problem conclusion

  • The code has been updated so that it will not attempt to make a
    connection to the WebSphere Application Server (WAS)
    administrative server if there are no changes to deploy to the
    WebSphere Commerce JEE application on the application server.
    As such, if the UpdateStaticEARContentCmd task is configured to
    use  FTP or File Copy and only static content is being deployed,
    the connection to WAS will not be required and the FTP or File
    Copy will proceed.  The deployment task will not fail if the
    deployment manager is down or unavailable.
    
    -------------------------------------------------------------
    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

    JR40063

  • Reported component name

    3C COM PROF ED

  • Reported component ID

    5724I4000

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-11

  • Closed date

    2011-08-26

  • Last modified date

    2011-08-29

  • 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

    3C COM PROF ED

  • Fixed component ID

    5724I4000

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSPK6A","label":"WebSphere Commerce Professional"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
07 December 2021