IBM Support

Troubleshooting java.lang.ClassNotFoundException: org.jdom.Parent in Maximo on WebLogic Server

Troubleshooting


Problem

This document outlines the steps to troubleshoot the java.lang.ClassNotFoundException: org.jdom.Parent error encountered in Maximo after deployment on WebLogic Server. This error indicates Maximo cannot locate the jdom.jar file containing the org.jdom.Parent class.

Resolving The Problem

1. Verify JDOM Library Presence:

  • WebLogic Server Console: Login to the WebLogic Server console and navigate to the deployed Maximo application. Check the application's classpath configuration. Ensure the jdom.jar file is included in the classpath.
  • Manual Check: If using the WebLogic console is unavailable, locate the deployed Maximo EAR file. Expand the EAR and search for the jdom.jar file within the lib directory.

2. Missing JDOM Library:

  • Include JDOM Library: If jdom.jar is absent, you'll need to add it. Download the JDOM library (ensure compatibility with your Maximo version) and place it in the lib directory of the Maximo EAR file. Redeploy the EAR to WebLogic Server.
  • Dependency Management: If Maximo relies on another library with JDOM as a dependency, verify that library is deployed and configured correctly. The dependent library should provide the necessary JDOM classes.

3. Conflicting JDOM Versions:

  • Multiple JDOM Instances: It's possible that another application deployed on WebLogic has its own JDOM library with a different version. This can lead to conflicts.
  • WebLogic Classloading: WebLogic has a specific classloading mechanism. Ensure Maximo's classpath prioritizes its own jdom.jar over any conflicting versions from other applications.

4. WebLogic Server Configuration:

  • Classpath Settings: Double-check the WebLogic classpath configuration for the Maximo application. Ensure it points to the correct location of the jdom.jar file.
  • WebLogic Libraries: Verify that WebLogic itself isn't including a conflicting JDOM library in its shared classpath. You might need to adjust WebLogic's classloading settings to isolate Maximo's classpath.

Additional Tips:

  • Review Maximo Documentation: Consult the IBM Maximo documentation for your specific version. It might provide insights into JDOM library requirements and deployment considerations.
  • Search Online Resources: Search technical forums and communities like Stack Overflow for similar issues encountered by other Maximo users. You might find solutions or workarounds already documented.

By following these steps, you should be able to identify the root cause of the java.lang.ClassNotFoundException: org.jdom.Parent error and ensure Maximo has access to the required JDOM library for successful operation on WebLogic Server.


Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"ARM Category":[{"code":"a8m50000000CbKNAA0","label":"Install"}],"ARM Case Number":"TS011635629","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1"}]

Document Information

More support for:
IBM Maximo Asset Management

Component:
Install

Software version:
7.6.1

Document number:
7149494

Modified date:
30 April 2024

UID

ibm17149494

Manage My Notification Subscriptions