Wednesday, 13 August 2014

IBM Operational Decision Manager - Issue when creating WAS Profile

I'm installing IBM ODM onto an AIX platform, and found that the WAS profile creation phase failed with exceptions such as: -

    <message>/opt/ibm/WebSphere/AppServer/profileTemplates/rules/management/ds/actions/copyBinsAndFixPermissions.ant:31: Failed to copy /opt/ibm/WebSphere/AppServer/profileTemplates/rules/lib/rulesTemplateResource.jar to /opt/ibm/lib/rulesTemplateResource.jar due to /opt/ibm/lib/rulesTemplateResource.jar (A file or directory in the path name does not exist.)

    <message>The exception message is: Failed to copy /opt/ibm/WebSphere/AppServer/profileTemplates/rules/lib/rulesTemplateResource.jar to /opt/ibm/lib/rulesTemplateResource.jar due to /opt/ibm/lib/rulesTemplateResource.jar (A file or directory in the path name does not exist.)</message>

Thanks to a spot of Googling, I found this: -

The problem is due to the fact that I'm over-riding the default location for a WAS profile: -


rather than the default of: - 


The circumvention is to change: -


and: -


<copy todir="${profilePath}/../../lib">

to: -

<copy todir="${WAS_HOME}/lib">

In other words, the Ant scripts were trying to copy JAR files from: -


to: -


because the change of profile path had confused things :-)

Alternatively, I could apply the iFix ( Interim Fix 21 ) or the Fix Pack.

No comments:

Yay, VMware Fusion and macOS Big Sur - no longer "NAT good friends" - forgive the double negative and the terrible pun ...

After macOS 11 Big Sur was released in 2020, VMware updated their Fusion product to v12 and, sadly, managed to break Network Address Trans...