Friday, 1 May 2015

IBM Integration Designer - java.io.IOException: The filename, directory name, or volume label syntax is incorrect.

I saw this exception: -

[01/05/15 12:45:56:762 BST]     FFDC Exception:com.ibm.bpm.config.util.ConfigException SourceId:com.ibm.bpm.config.BPMConfig.main ProbeId:163 Reporter:java.lang.Class@7b57bfee
com.ibm.bpm.config.util.ConfigException
                at com.ibm.bpm.config.util.ConfigHelper.isOnLocalInstallation(ConfigHelper.java:4530)
                at com.ibm.bpm.config.model.Validator.validateInstallAndProfile(Validator.java:1426)
                at com.ibm.bpm.config.model.ConfigModelFactory.validateConfigModel(ConfigModelFactory.java:143)
                at com.ibm.bpm.config.model.ConfigModelFactory.loadFromPropertiesDelegate(ConfigModelFactory.java:117)
                at com.ibm.bpm.config.model.ConfigModelFactory.loadFromConfigFile(ConfigModelFactory.java:95)
                at com.ibm.bpm.config.BPMConfig.configureDeploymentEnvironment(BPMConfig.java:596)
                at com.ibm.bpm.config.BPMConfig$Actions.createDe(BPMConfig.java:3978)
                at com.ibm.bpm.config.cli.CreateAction.runInner(CreateAction.java:137)
                at com.ibm.bpm.config.cli.AbstractConfigAction.run(AbstractConfigAction.java:127)
                at com.ibm.bpm.config.cli.CreateAction.run(CreateAction.java:33)
                at com.ibm.bpm.config.BPMConfig.main(BPMConfig.java:272)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                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(Native Method)
                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.callMethodWithException(EclipseAppContainer.java:587)
                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                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.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(WSPreLauncher.java:398)
                at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:161)
Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect.
                at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:407)

                at java.io.File.getCanonicalPath(File.java:570)
                at java.io.File.getCanonicalFile(File.java:594)
                at com.ibm.bpm.config.util.ConfigHelper.isOnLocalInstallation(ConfigHelper.java:4528)
                ... 36 more

CapturedDataElements begin
arg0:-create
arg1:-de
arg2:c:\Advanced-PS-Standalone-DB2.properties
CapturedDataElements end


 earlier whilst trying to create an IBM BPM Deployment Environment as a local Unit Test Environment for IBM Integration Designer 8.5.5 on Windows 7.

Under the covers, I'm using WebSphere Application Server 8.5.5.4, BPM Advanced 8.5.50 and Business Monitor 8.5.5.0.

This was the command that I ran: -

"C:\IBM\WebSphere\AppServerbin\BPMConfig.bat" -create -de c:\Advanced-PS-Standalone-DB2.properties

After much trial and much error, I realised the error of my ways.

In the properties file - Advanced-PS-Standalone-DB2.properties - which I sourced from: -

c:\temp\IID\Install\launchpad\content'samples\config\iid

( I'd previously unpacked the IID media into c:\temp\IID\install )

I had: -

bpm.de.node.1.installPath="C:\\IBM\WebSphere\\AppServer"

rather than: -

bpm.de.node.1.installPath=C:\\IBM\WebSphere\\AppServer

In other words, the quotation symbols ( "" ) were getting in the way :-(

I'd rightly used the double-backslash ( \\ ) as required, BUT the quotations were NOT required.

Easy peasy.....

No comments:

Reminder - installing podman and skopeo on Ubuntu 22.04

This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman  and skopeo  on an Ubuntu box: - lsb_rel...