Not Able To Purge OSM DB Error: java.lang.NoClassDefFoundError:oracle/xml/sql/dml/OracleXMLSave (Doc ID 2257741.1)

Last updated on MAY 03, 2017

Applies to:

Oracle Communications Order and Service Management - Version 7.3.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 7.3.1.0.0 version, Other

Not able to purge the OSM cartridges from DB getting java related errors.

ERROR
-----------------------
mar 17, 2017 12:23:32 EM com.mslv.oms.metadatahandler.operation.CleanupOperation doProcess
INFO: Purging all cartridges from database...
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/sql/dml/OracleXMLSave
  at com.mslv.oms.metadatahandler.operation.CleanupOperation.load(CleanupOperation.java:171)
  at com.mslv.oms.metadatahandler.operation.CleanupOperation.loadSeedingFiles(CleanupOperation.java:221)
  at com.mslv.oms.metadatahandler.operation.CleanupOperation.cleanup(CleanupOperation.java:134)
  at com.mslv.oms.metadatahandler.operation.CleanupOperation.doProcess(CleanupOperation.java:109)
  at com.mslv.oms.metadatahandler.operation.Operation.processOperation(Operation.java:260)
  at com.mslv.oms.metadatahandler.MetadataProcessor.process(MetadataProcessor.java:383)
  at com.mslv.oms.metadatahandler.MetadataHandlerMain.main(MetadataHandlerMain.java:428)
Caused by: java.lang.ClassNotFoundException: oracle.xml.sql.dml.OracleXMLSave
  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  ... 7 more


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

Use XMLImportExport and try to purge the cartridges


Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms