IBM Support

JR62330: THE BPMCONFIG -UPDATE -NETWORKDIRECTORY COMMAND FAILS WITH ILLEGAL/UNSUPPORTED ESCAPE SEQUENCE EXCEPTION

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

  • The BPMConfig -update -profile dmgr_profile -de DE_name
    -networkDirectory //winshareserver/sharefolder -component
    ContentNavigator does not work if the original network shared
    directory is a Windows path. For example, if you update the path
     from D:\IBM\BPMSharedFolder to //DSPPARCSTG1/SINTYSAP, you will
     see errors similar to the following errors:
    
    
    [08.05.2020 15:08:30:701 TRT] 00000001 FileHelper    >
    com.ibm.bpm.config.util.io.FileHelper
    findAndReplaceMultipleStrings ENTRY
    D:\IBM\WebSphere\AppServer\profiles\Dmgr01\config\wstemp\temp.we
    b0.6027236217115319.xml
    {D:\IBM\BPMSharedFolder=//VDSPPARCSTG1/SINTYSAP}
    [08.05.2020 15:08:30:701 TRT] 00000001 BPMConfig     E
    com.ibm.bpm.config.BPMConfig main Illegal/unsupported escape
    sequence near index 3
    D:\IBM\BPMSharedFolder
       ^
    
    java.util.regex.PatternSyntaxException: Illegal/unsupported
    escape sequence near index 3
    D:\IBM\BPMSharedFolder
       ^
    at java.util.regex.Pattern.error(Pattern.java:1968)
    at java.util.regex.Pattern.escape(Pattern.java:2484)
    at java.util.regex.Pattern.atom(Pattern.java:2211)
    at java.util.regex.Pattern.sequence(Pattern.java:2143)
    at java.util.regex.Pattern.expr(Pattern.java:2009)
    at java.util.regex.Pattern.compile(Pattern.java:1709)
    at java.util.regex.Pattern.<init>(Pattern.java:1362)
    at java.util.regex.Pattern.compile(Pattern.java:1039)
    at java.lang.String.replaceAll(String.java:3545)
    at
    com.ibm.bpm.config.util.io.FileHelper.findAndReplaceMultipleStri
    ngs(FileHelper.java:193)
    at
    com.ibm.bpm.config.capability.standard.ComponentContentNavigator
    .setNetworkDirectory(ComponentContentNavigator.java:1425)
    at
    com.ibm.bpm.config.BPMConfig.updateNetworkDirectory(BPMConfig.ja
    va:3628)
    at
    com.ibm.bpm.config.BPMConfig$Actions.updateNetworkDirectory(BPMC
    onfig.java:5414)
    at
    com.ibm.bpm.config.cli.UpdateAction.runInner(UpdateAction.java:4
    28)
    at
    com.ibm.bpm.config.cli.AbstractConfigAction.run(AbstractConfigAc
    tion.java:129)
    at com.ibm.bpm.config.cli.UpdateAction.run(UpdateAction.java:47)
    at com.ibm.bpm.config.BPMConfig.main(BPMConfig.java:315)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at
    com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:23
    4)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at
    org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodW
    ithException(EclipseAppContainer.java:587)
    at
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseApp
    Handle.java:198)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.run
    Application(EclipseAppLauncher.java:110)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.sta
    rt(EclipseAppLauncher.java:79)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:369)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLaunche
    r.java:424)
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:17
    7)
    

Local fix

  • n/a
    

Problem summary

  • These errors occur because the command does not escape the
    Windows format folder path.
    

Problem conclusion

  • A fix is available or will be available that ensures the
    BPMCONFIG -UPDATE -NETWORKDIRECTORY command updates the Windows
    format folder path successfully.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR62330

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    J00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-05-12

  • Closed date

    2020-05-20

  • Last modified date

    2020-05-20

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2020