Question & Answer
Question
Scripts fail to run after upgrade to Maximo Applications Suite 8.9 with Manage 8.5.
The error BMXAA7837E - An error occurred that prevented the RK script for the RSK1 launch point from running. ImportError: No module named jdom in <script> at line number 1 appears when the script runs.
Cause
In MAS 8.9 with Manage 8.5, the JDOM library was updated to JDOM2 to fix a security vulnerability. Scripts referencing the old JDOM fail.
The JDOM upgrade link is listed on this page.
Answer
The fix is to change any reference in your scripts that have jdom to jdom2.
For example:
from org.jdom import Document, Element, Namespace
Change to
from org.jdom2 import Document, Element, Namespace
The script runs as expected.
Related Information
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m3p000000hB0QAAU","label":"Manage"},{"code":"a8m50000000CbQzAAK","label":"System Administration-\u003EAutomation Script"}],"ARM Case Number":"TS012768444","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.9.0;and future releases"}]
Was this topic helpful?
Document Information
Modified date:
21 April 2023
UID
ibm16985279