My Oracle Support Banner

OSM Install Fails to Retrieve Available Tablespaces with Java.lang.ClassCastException xmlbeans.XmlObject cannot be cast Error (Doc ID 2222588.1)

Last updated on MAY 29, 2018

Applies to:

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

Symptoms

OSM 7.2.4.2.3 New installation with Oracle Database version 12.1.0.2

OSM Installer not able to fetch tablespace details and the following error message is received in Interactive Mode :

Fail to retrieve available tablespaces in Oracle Server specified. Please contact your Database Administrator to create tablespaces , or change to another Oracle Server and try again.

Connection to database with "sys as sysdba" user was successful but it failed when it tried to fetch tablespace details. Capture from InstallLog.txt ( there is no database log created )

Setup.product.install, com.mslv.oms.installation.DBConfiguration3Panel, dbg, /opt/Oracle/OSM724/temp/instplb.xml:73: java.lang.ClassCastExce
ption: [Lorg.apache.xmlbeans.XmlObject; cannot be cast to [Lcom.metasolv.dbManager.x2005.x09.AbstractEntityDefinitionType;
STACK_TRACE: 35
/opt/Oracle/OSM724/temp/instplb.xml:73: java.lang.ClassCastException: [Lorg.apache.xmlbeans.XmlObject; cannot be cast to [Lcom.metasolv.dbManager.x2005.x09.AbstractEnt
ityDefinitionType;
  at com.mslv.install.db.EstimateDBSpaceTask.execute(EstimateDBSpaceTask.java:40)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Setup.product.install, com.mslv.oms.installation.DBConfiguration3Panel, dbg, java.io.FileNotFoundException: /opt/Oracle/OSM724/temp/tablespaceReport.xml (No such file or directory)
STACK_TRACE: 10
java.io.FileNotFoundException: /opt/Oracle/OSM724/temp/tablespaceReport.xml (No such file or directory)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.(FileInputStream.java:146)
  at java.io.FileInputStream.(FileInputStream.java:101)
  at com.mslv.oms.installation.DBConfiguration3Panel.getTblspaceSizesViaDBInstall(DBConfiguration3Panel.java:416)
  at com.mslv.oms.installation.DBConfiguration3Panel.queryEnter(DBConfiguration3Panel.java:226)
  at com.installshield.wizard.awt.AWTWizardUI.currentBeanChanged(Unknown Source)
  at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.