IBM Support

The CWMCB0238W exception occurs for IBM Business Process Manager (BPM) while running the BPMConfig command

Troubleshooting


Problem

When you run the BPMConfig -validate command, a CWMCB0238W exception occurs.

Symptom

You can see the following errors in the install_root/logs/config/BPMConfig_*.log file when you run the BPMConfig -validate <propertiesFile> command:

CWMCB0238W: ?############################################## is
not a valid property name.
 at
com.ibm.bpm.config.model.ConfigModelFactory.loadFromPropertiesDelegate(ConfigModelFactory.java:103)
at
com.ibm.bpm.config.model.ConfigModelFactory.loadFromConfigFile(ConfigModelFactory.java:68)
at
com.ibm.bpm.config.BPMConfig.validate(BPMConfig.java:1753)
at com.ibm.bpm.config.BPMConfig.main(BPMConfig.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at
com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
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(NativeMethod)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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)

Cause

The properties file that is created for the BPMConfig command is not saved in a format that can be parsed by the command.

Diagnosing The Problem




Resolving The Problem

After you edit the BPMConfig properties file, save the customized file in UTF-8 encoding. For more information on the BPMConfig command, see the product documentation.

For example, the following screen shot shows that you can use a Notepad editor to change the encoding when you save the file:



You might also be able to change the encoding from within the file editor. The following screen shot shows you how you can change the encoding in NotePad++ editor:





Saving the file as ANSI encoding, which limits the character encoding to a byte, also can help to clean up the file.

After you save the file in the correct format, rerun the BPMConfig command to complete the environment creation process.

[{"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation \/ Configuration","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation \/ Configuration","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFTBX","label":"IBM Business Process Manager Express"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation \/ Configuration","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

BPM

Document Information

Modified date:
15 June 2018

UID

swg21673879