Post Installation Steps of Patch 19121550 Raises ORA-29532 During "datapatch -verbose" Execution (Doc ID 1942386.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.1 [Release 12.1]
Information in this document applies to any platform.

Symptoms

After successful "OPatch apply" of <patch 19121550> the "datapatch -verbose" receives errors at line:
SQL> EXECUTE dbms_java.loadjava('-v -r -install -grant PUBLIC -s rdbms/jlib/xdb.jar');
BEGIN dbms_java.loadjava('-v -r -install -grant PUBLIC -s rdbms/jlib/xdb.jar'); END;
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
oracle.aurora.server.tools.loadjava.ToolsError:
Error during loadjava: Failures occurred during processing.Check trace file for details
ORA-06512: at "SYS.DBMS_JAVA", line 587
ORA-06512: at line 1

 

The trace file contains:
Aborting JIT compilation due to invalid referenced class  obj# 751008 type# 29 hd 5d5e360d0 oracle/xdb/XMLTypeSYS
joxjitexe(3) caught: 29558; Flushing Java session and continuing
joez_compile_method beginning compile of method java/util/HashMap$HashIterator.nextEntry

The object id 751008 is 'oracle/xdb/XMLType' Java class:

which is invalid due to ORA-29521 errors referring to XML Developer Kit's java classes, as it is shown by the errors in DBA_ERRORS
for 'oracle/xdb/XMLType', ie:

ORA-29521: referenced name oracle/xml/binxml/BinXMLDecoder could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLDecoderImpl could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLEncoder could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLException could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLMetadataProvider could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLMetadataProviderFactory could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLProcessor could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLProcessorFactory could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLProcessorImpl could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLStream could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLUtil could not be found
ORA-29521: referenced name oracle/xml/binxml/BinXMLVocabId could not be found
ORA-29521: referenced name oracle/xml/binxml/DBBinXMLMetadataProvider could not be found
ORA-29521: referenced name oracle/xml/parser/v2/DOMParser could not be found
ORA-29521: referenced name oracle/xml/parser/v2/SAXParser could not be found
ORA-29521: referenced name oracle/xml/parser/v2/XMLDOMImplementation could not be found
ORA-29521: referenced name oracle/xml/parser/v2/XMLDocument could not be found
ORA-29521: referenced name oracle/xml/parser/v2/XMLNode could not be found
ORA-29521: referenced name oracle/xml/parser/v2/XMLParseException could not be found
ORA-29521: referenced name oracle/xml/parser/v2/XMLSAXSerializer could not be found
ORA-29521: referenced name oracle/xml/scalable/InfosetReader could not be found

 

 

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