Monday, 6 October 2014

"WARNING: CRIMA1218W A problem occurred during..." the installation of IBM Operational Decision Manager 8.6

And another one down :-)

I've been "struggling" with the installation of IBM Operational Decision Manager 8.6 ( Decision Center / Decision Server ) over the past 24 hours or so.

It was somewhat annoying, and I couldn't find an obvious solution.

This was what I was seeing: -

<entry num='369' time='1412536153289' elapsed='01:01.01' level='WARNING' thread='main'>
 <logger>com.ibm.cic.agent.core.antInstallAdapter.Util</logger>
 <class>com.ibm.cic.agent.internal.core.IMLoggerImpl</class>
 <method>warning</method>
 <message>WARNING: CRIMA1218W A problem occurred during the execution of the /home/wasadmin/var/ibm/InstallationManager/adapters/ant/Operational Decision Manager V8.6/com.ibm.websphere.odm.common.dc.ilmt_8.6.0.20140507_2330/update_ilmt_ear.xml file. The specified severity null is not valid.
  explanation: The severity value must be one of the following values: ERROR, WARNING, or INFO. If the severity value is not one of these values, then severity defaults to ERROR.
  userAction: Identify the package that has the issue by looking at the installation history. In Installation Manager, click File &gt; Installation History. In console mode, enter S: View Installation History. Contact IBM customer support.</message>
</entry>
<entry num='370' time='1412536153301' elapsed='01:01.02' level='ERROR' uid='CRIMA1217E' thread='main'>
 <logger>com.ibm.cic.agent.core.antInstallAdapter.ant.AntInstallOperation</logger>
 <method>doPerform</method>
 <message>
  <key>A problem occurred during the execution of the {0} file.
  ERROR: The following error occurred while executing this line:
/home/wasadmin/var/ibm/InstallationManager/adapters/ant/Operational Decision Manager V8.6/com.ibm.websphere.odm.common.dc.ilmt_8.6.0.20140507_2330/update_ilmt_ear.xml:143: The following error occurred while executing this line:
/home/wasadmin/var/ibm/InstallationManager/adapters/ant/Operational Decision Manager V8.6/com.ibm.websphere.odm.common.dc.ilmt_8.6
.0.20140507_2330/update_ilmt_ear.xml:268: The following error occurred while executing this line:
/home/wasadmin/var/ibm/InstallationManager/adapters/ant/Operational Decision Manager V8.6/com.ibm.websphere.odm.common.dc.ilmt_8.6
.0.20140507_2330/update_ilmt_ear.xml:305: Use a resource collection to copy directories. [/home/wasadmin/var/ibm/InstallationManag
er/adapters/ant/Operational Decision Manager V8.6/com.ibm.websphere.odm.common.dc.ilmt_8.6.0.20140507_2330/update_ilmt_ear.xml:254
]
A package has an issue that cannot be resolved by Installation Manager.
Identify the package that has the issue by looking at the installation history. In Installation Manager, click File &gt; Installation History. In console mode, enter S: View Installation History. Contact IBM customer support.</key>
  <arg>/home/wasadmin/var/ibm/InstallationManager/adapters/ant/Operational Decision Manager V8.6/com.ibm.websphere.odm.common.dc.ilmt_8.6.0.20140507_2330/update_ilmt_ear.xml</arg>
 </message>
</entry>
<entry num='371' time='1412536153302' elapsed='01:01.02' level='ERROR' thread='main'>
 <logger>com.ibm.cic.agent.core.antInstallAdapter.ant.AntInstallOperation</logger>
 <method>doPerform</method>
 <message href='ant/20141005_2009.log'>Invoking antfile "/home/wasadmin/var/ibm/InstallationManager/adapters/ant/Operational Decision Manager V8.6/com.ibm.websphere.odm.common.dc.ilmt_8.6.0.20140507_2330/update_ilmt_ear.xml".</message>
</entry>


using a response file, which I'd mainly adapted from the previous 8.5.0.1 version of IBM ODM.

The solution ?

Well, I went against my normal practice, and used the GUI ( IBM Installation Manager ) to install ODM, which ( quelle surprise ) worked a treat.

I did, however, tell IIM to create a response fie: -

/opt/IBM/InstallationManager/eclipseIBMIM -record foobar.rsp

which I then compared/contrasted against my own version.

This is what I had ( specifically for ODM ): -

<server>
<repository location='/tmp/Repo/IIM/'/>
<repository location='/tmp/Repo/WAS85/Base/Product/'/>
<repository location='/tmp/Repo/WAS85/Base/Fixes/'/>
<repository location='/tmp/Repo/WAS85/Supplements/Product/'/>
<repository location='/tmp/Repo/WAS85/Supplements/Fixes/'/>
<repository location='/tmp/Repo/ODM86/Product/DC'/>
<repository location='/tmp/Repo/ODM86/Product/DecisionServerRules'/>
</server>
<profile id='Operational Decision Manager V8.6' installLocation='/opt/IBM/WebSphere/ODM86'>
<data key='eclipseLocation' value='/opt/IBM/WebSphere/ODM86'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.os' value='linux'/>
<data key='cic.selector.ws' value='gtk'/>
<data key='cic.selector.arch' value='x86_64'/>
<data key='cic.selector.nl' value='en'/>
<data key='user.wodm_express' value='false'/>
<data key='user.wodm_was_home' value='/opt/IBM/WebSphere/AppServer'/>
</profile>
<offering id='com.ibm.websphere.odm.dc.v86' version='8.6.0.20140507_2334' profile='Operational Decision Manager V8.6' features='jdk,base,Decision Center' installFixes='none'/>
<offering id='com.ibm.websphere.odm.ds.rules.v86' version='8.6.0.20140507_2359' profile='Operational Decision Manager V8.6' features='com.ibm.wds.jdk.feature,base,com.ibm.wds.rules.studio.feature' installFixes='none'/>


and this is what the GUI generated for me: -

  <server>
    <repository location='/tmp/Repo/ODM86/Product/ProfileTemplateDC'/>
    <repository location='/tmp/Repo/ODM86/Product/ProfileTemplateRules'/>
    <repository location='/tmp/Repo/ODM86/Product/DecisionServerRules'/>
    <repository location='/tmp/Repo/ODM86/Product/DC'/>
    <repository location='/tmp/Repo/WAS85/Supplements/Fixes/'/>
    <repository location='/tmp/Repo/WAS85/Supplements/Product/'/>
    <repository location='/tmp/Repo/WAS85/Base/Fixes/'/>
    <repository location='/tmp/Repo/WAS85/Base/Product/'/>
  </server>
  <profile id='Operational Decision Manager V8.6' installLocation='/opt/IBM/WebSphere/ODM86'>
    <data key='eclipseLocation' value='/opt/IBM/WebSphere/ODM86'/>
    <data key='user.import.profile' value='false'/>
    <data key='cic.selector.os' value='linux'/>
    <data key='cic.selector.ws' value='gtk'/>
    <data key='cic.selector.arch' value='x86_64'/>
    <data key='cic.selector.nl' value='en'/>
    <data key='user.wodm_express' value='false'/>
    <data key='user.wodm_was_home' value='/opt/IBM/WebSphere/AppServer'/>
    <data key='user.lic.dsr' value=''/>
    <data key='user.prod.dsr' value=''/>
    <data key='user.lic.dc' value='full'/>
    <data key='user.wodm_admin_username' value='wasadmin'/>
    <data key='user.wodm_admin_password' value='passw0rd'/>
    <data key='user.confirm_password' value='passw0rd'/>

  </profile>
  <install modify='false'>
    <!-- Decision Center 8.6.0.0 -->
    <offering profile='Operational Decision Manager V8.6' id='com.ibm.websphere.odm.dc.v86' version='8.6.0.20140507_2334' features='jdk,base,Decision Center,Rule Solutions for Office,com.ibm.wdc.rules.samples.feature,Documentation' installFixes='none'/>
    <!-- Decision Center profile templates for WebSphere Application Server   8.6.0.0 -->
    <offering profile='Operational Decision Manager V8.6' id='com.ibm.websphere.odm.pt.dc.v86' version='8.6.0.20140508_0103' features='main.feature' installFixes='none'/>
  </install>

I've highlighted the most substantial differences.

Following the normal Dave Hay practice of "Make a change, test a change", I first added in: -

    <data key='user.wodm_admin_username' value='wasadmin'/>
    <data key='user.wodm_admin_password' value='passw0rd'/>
    <data key='user.confirm_password' value='passw0rd'/>

but to no avail.

I then added in the remaining three lines: -

    <data key='user.lic.dsr' value=''/>
    <data key='user.prod.dsr' value=''/>
    <data key='user.lic.dc' value='full'/>

and that cracked it.

I've run through the installation a few times since I found the solution: -

/opt/IBM/InstallationManager/eclipse/tools/imcl uninstallAll
rm -Rf /opt/IBM/WebSphere/
/opt/IBM/InstallationManager/eclipse/tools/imcl -input ~/installODM86.rsp -acceptLicense

and it appears to work OK.

I am, however, going to throw away this VM, and build a brand-new one, just to be sure, to be sure :-)

#LifeIsGood

*UPDATE*

And ... it worked :-)

/tmp/Repo/IIM8/userinstc -input installODM86.rsp -acceptLicense

Installed com.ibm.cic.agent_1.8.0.20140902_1503 to the /opt/IBM/InstallationManager/eclipse directory.
Installed com.ibm.websphere.odm.dc.v86_8.6.0.20140507_2334 to the /opt/IBM/WebSphere/ODM86 directory.
Installed com.ibm.websphere.odm.ds.rules.v86_8.6.0.20140507_2359 to the /opt/IBM/WebSphere/ODM86 directory.
Installed com.ibm.websphere.ND.v85_8.5.5002.20140408_1947 to the /opt/IBM/WebSphere/AppServer directory.
Installed com.ibm.websphere.IHS.v85_8.5.5002.20140408_1947 to the /opt/IBM/HTTPServer directory.
Installed com.ibm.websphere.PLG.v85_8.5.5002.20140408_1947 to the /opt/IBM/WebSphere/Plugins directory.


No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...