IBM Support

JR56793: YOU SEE A FILENOTFOUNDEXCEPTION SERVER-BPM.XML (NO SUCH FILE OR DIRECTORY) IN THE LOG FOR THE BPMUPDATESYSTEMAPP COMMAND

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When the BPMUpdateSystemApp command runs, an exception similar
    to the following exception is written to the logs:
    
    [7/29/16 12:47:43:216 EDT] 00000001 RuntimeWCCMHe 2
    com.ibm.bpm.config.model.wccm.util.RuntimeWCCMHelper
    getConfigObjects THROW
    
    java.security.PrivilegedActionException:
    java.io.FileNotFoundException:
    /web/soft/bpm85/xlt3/profiles/DmgrProfile/config/cells/nodes/ser
    vers/server-bpm.xml (No such file or directory)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:342)
     at
    com.ibm.bpm.config.model.wccm.util.RuntimeWCCMHelper.getConfigOb
    jects(RuntimeWCCMHelper.java:363)
     at
    com.ibm.bpm.config.model.wccm.util.RuntimeWCCMHelper.getDeployme
    ntTargetConfigExtension(RuntimeWCCMHelper.java:439)
     at
    com.ibm.bpm.config.model.wccm.util.RuntimeWCCMHelper.getPortal(R
    untimeWCCMHelper.java:535)
     at
    com.ibm.bpm.config.model.wccm.util.RuntimeWCCMHelper.getPortalDe
    faultPolicyActions(RuntimeWCCMHelper.java:642)
     at
    com.lombardisoftware.core.config.server.DefaultActionPolicyConfi
    g.getWccmVersion(DefaultActionPolicyConfig.java:53)
     at
    com.lombardisoftware.core.config.server.DefaultActionPolicyConfi
    g.getAPACs(DefaultActionPolicyConfig.java:30)
     at
    com.lombardisoftware.core.config.server.DefaultActionPolicyConfi
    g.getAction(DefaultActionPolicyConfig.java:22)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    org.exolab.castor.mapping.loader.FieldHandlerImpl.setValue(Field
    HandlerImpl.java:518)
     at
    org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandl
    er.java:780)
     at
    org.exolab.castor.xml.util.DOMEventProducer.process(DOMEventProd
    ucer.java:249)
    
    However, the command appears to finish successfully and no error
    is reported.
    

Local fix

  • In your migrated environment, check if custom XML files like
    100Custom.xml, 101CustomMigrated.xml, or other .xml files
    contain a <default-action-policy> element:
    
    <server>
     <portal>
      <default-action-policy>
       <action name="....">
        :
       </action>
    
    If so, verify that all policy actions customization are in the
    cluster-bpm.xml file at the application cluster level, and then
    remove the <default-action-policy> element from the custom XML
    file.
    

Problem summary

  • When exporting a migration source environment with multiple
    <server> elements in a custom XML file like 100Custom.xml, the
    BPMConfig -migrate command considers only the first <server>
    element. Any configuration properties like
    <default-action-policy> in further <server> elements are not
    migrated to WCCM correctly in the migration target environment.
    
    Later, this issue leads to FileNotFoundExceptions in the logs
    for commands like BPMUpdateSystemApp that run in the migration
    target environment when unexpected <default-action-policy>
    elements are found in 101CustomMigrated.xml while reading the
    IBM BPM configuration. While these FileNotFoundExceptions are
    written to the logs, they do not adversely affect the command
    execution and can be safely ignored.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR56793

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    856

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-09

  • Closed date

    2016-10-19

  • Last modified date

    2016-10-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R856 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"856","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021