0% found this document useful (0 votes)
28 views11 pages

SR 3

The document details a critical support request (SR 3-28599715561) regarding invalid XDB and Spatial components following a database upgrade from version 11.2.0.3 to 11.2.0.4. The customer, Toshiba Corporation, is seeking assistance to validate these components, which include several invalid Java Class objects. Oracle Support has provided an action plan to address the issue, including specific SQL commands to execute for resolution.

Uploaded by

sarfaraz alam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views11 pages

SR 3

The document details a critical support request (SR 3-28599715561) regarding invalid XDB and Spatial components following a database upgrade from version 11.2.0.3 to 11.2.0.4. The customer, Toshiba Corporation, is seeking assistance to validate these components, which include several invalid Java Class objects. Oracle Support has provided an action plan to address the issue, including specific SQL commands to execute for resolution.

Uploaded by

sarfaraz alam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

2/15/22, 6:37 PM SR Detail

SR 3-28599715561 : XDB and Spatial components are INVALID

Severity 1-Critical Status Customer Working


Escalation Status Never Escalated Opened Feb 14, 2022 2:59 PM (Monday)
Last Updated Feb 15, 2022 2:57 PM (3+ hours ago)
catalog.log, cataproc.log, more_info.txt,
Bug Reference No Related Bugs Attachments
utrlp.log
Related Articles No Related Articles Related SRs No Related SRs
Support Identifier 99930220851761
Account Name 株式会社東芝
Primary Contact Manoj Kumar Alternate Contact
System Host No Related Hosts
Product Oracle Spatial and Graph
Product Version 11.2.0.4
Operating System Oracle Solaris on SPARC (64-bit) OS Version 10
Spin off SR 3-28567535251

Post database upgrade 11.2.0.3 to 11.2.0.4, few components and JAVA CLASS objects became INVALID.
Problem Description
All of them are VALID now except Spatial, Oracle XML Database and 61 MDSYS owned Java Class objects.

Customer need assistance in validating them.

History
Notes Oracle Support- Feb 15, 2022 2:57 PM (3+ hours ago)
Ok.

Regards
Basappa
Oracle Customer Support
Update from Customer [email protected] Feb 15, 2022 2:52 PM
(3+ hours ago)
working on this.
ODM Action Plan Oracle Support- Feb 14, 2022 10:12 PM (20+ hours ago)
▬▬▬▬▬▬▬
ACTION PLAN
▬▬▬▬▬▬▬

Hello Manoj,

This SR was transferred to me as the previous engineer's shift has ended.

I reviewed "more_info.txt" and see many duplicate Oracle Text objects in the SYS schema that should not exist.
Please drop the following objects in the SYS schema:

SYS CTX_DDL PACKAGE BODY INVALID


SYS CTX_ENTITY PACKAGE BODY INVALID
SYS CTX_OUTPUT PACKAGE BODY INVALID
SYS DRIACC PACKAGE BODY INVALID
SYS DRIENT PACKAGE BODY INVALID
SYS DRIENTL PACKAGE BODY INVALID
SYS DRIFEAT PACKAGE BODY INVALID
SYS DRILOAD PACKAGE BODY INVALID
SYS DRIPARSE PACKAGE BODY INVALID
SYS DRISGP PACKAGE BODY INVALID
SYS DRIXMD PACKAGE BODY INVALID
SYS DRI_MOVE_CTXSYS PROCEDURE INVALID
SYS DRVDDL PACKAGE INVALID
SYS DRVDDL PACKAGE BODY INVALID
SYS DRVDDLC PACKAGE BODY INVALID
SYS DRVDDLR PACKAGE BODY INVALID
SYS DRVDDLX PACKAGE BODY INVALID
SYS DRVDML PACKAGE BODY INVALID
SYS DRVPARX PACKAGE BODY INVALID
SYS DRVPARX PACKAGE INVALID
SYS DRVRIO PACKAGE BODY INVALID
SYS DRVXMD PACKAGE BODY INVALID
SYS DRVXTAB PACKAGE BODY INVALID
SYS RULEINDEXMETHODS TYPE BODY INVALID
SYS TEXTINDEXMETHODS TYPE BODY INVALID
SYS XPATHINDEXMETHODS TYPE BODY INVALID

For the invalid MDSYS java classes, please run the following and upload "reload_mdsys_java.log":

spool reload_mdsys_java.log
set echo on;
connect / as sysdba
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 1/11
2/15/22, 6:37 PM SR Detail
@?/md/admin/sdounloadj.sql
@?/md/admin/sdoloadj.sql
@?/rdbms/admin/utlrp.sql

set pagesize 1000


set linesize 150
col comp_name format a36
col version format a14
col status format a10
col owner format a12
col object_name format a35
col object_type format a20
col name format a35

select comp_name, version, status


from dba_registry
order by status, comp_name;

select owner, object_name, object_type, status


from dba_objects
where status = 'INVALID'
and owner in ('CTXSYS', 'MDSYS', 'ORDSYS', 'SYS', 'XDB')
order by owner, object_name;

select owner, name, type, text


from dba_errors
where owner in ('CTXSYS', 'MDSYS', 'ORDSYS', 'SYS', 'XDB')
order by owner, name;

spool off;

Thanks,

Cori Robinson
Content Management Team
Work hours: 8:30-5:30 PM EST USA Mon-Fri
Update from Customer [email protected] Feb 14, 2022 7:13 PM
(23+ hours ago)
Upload to TDS successful for the file utrlp.log.
Update from Customer [email protected] Feb 14, 2022 7:13 PM
(23+ hours ago)
Just an update i have ran utlrp.sql three times.
Update from Customer [email protected] Feb 14, 2022 7:12 PM
(23+ hours ago)
Upload to TDS successful for the file catalog.log.
Update from Customer [email protected] Feb 14, 2022 7:12 PM
(23+ hours ago)
Upload to TDS successful for the file cataproc.log.
Update from Customer [email protected] Feb 14, 2022 7:05 PM
(23+ hours ago)
still the status show invalid.
Update from Customer [email protected] Feb 14, 2022 7:05 PM
(23+ hours ago)
SQL> /

Component Version Status


-------------------------------------------- ----------------- -----------------
Oracle Expression Filter 11.2.0.4.0 VALID
Oracle Application Express 4.2.4.00.08 VALID
Oracle Data Mining 11.2.0.4.0 VALID
Oracle XML Database 11.2.0.4.0 INVALID
OLAP Catalog 11.2.0.4.0 VALID
Spatial 11.2.0.4.0 INVALID
Oracle Database Catalog Views 11.2.0.4.0 VALID
Oracle Database Packages and Types 11.2.0.4.0 VALID
Oracle Real Application Clusters 11.2.0.4.0 INVALID
JServer JAVA Virtual Machine 11.2.0.4.0 VALID
Oracle Database Java Packages 11.2.0.4.0 VALID
Oracle XDK 11.2.0.4.0 VALID
OLAP Analytic Workspace 11.2.0.4.0 VALID

13 rows selected.
ODM Action Plan Oracle Support- Feb 14, 2022 6:03 PM (Monday)
Hi,

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 2/11
2/15/22, 6:37 PM SR Detail
Please take valid backup of the database and run the below.

--For Standalone DB follow the below


$sqlplus "/as sysdba"
SQL> set echo on
SQL> shutdown immediate
SQL> startup upgrade
SQL> spool catalog.log
SQL > @?/rdbms/admin/catalog.sql
SQL> spool cataproc.log
SQL > @?/rdbms/admin/catproc.sql
SQL> spool utrlp.log
SQL > @?/rdbms/admin/utlrp.sql --Run this 3 times
SQL> spool off
SQL> shutdown immediate
SQL> startup

--For RAC DB follow the below


$sqlplus "/as sysdba"
SQL> set echo
SQL> alter system set cluster_database=FALSE scope=spfile;
SQL> shutdown immediate
--Start only one instance and execute scripts
SQL> startup upgrade
SQL> spool catalog.log
SQL > @?/rdbms/admin/catalog.sql
SQL> spool cataproc.log
SQL > @?/rdbms/admin/catproc.sql
SQL> spool utrlp.log
SQL > @?/rdbms/admin/utlrp.sql --Run this 3 times
SQL> spool off
--Revert cluster_database=true
SQL> shutdown immediate
The startup the instances.

Regards
Basappa
Oracle Customer Support
Update from Customer [email protected] Feb 14, 2022 4:54 PM
(Monday)
SQL> execute dbms_regxdb.validatexdb;

PL/SQL procedure successfully completed.

SQL> select comp_name, version, status


from dba_registry
order by status, comp_name;
23
COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ --------------------------------------------
Oracle Real Application Clusters
11.2.0.4.0 INVALID

Oracle XML Database


11.2.0.4.0 INVALID

Spatial
11.2.0.4.0 INVALID

COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ --------------------------------------------
JServer JAVA Virtual Machine
11.2.0.4.0 VALID

OLAP Analytic Workspace


11.2.0.4.0 VALID

OLAP Catalog
11.2.0.4.0 VALID

COMP_NAME
--------------------------------------------------------------------------------

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 3/11
2/15/22, 6:37 PM SR Detail
VERSION STATUS
------------------------------ --------------------------------------------
Oracle Application Express
4.2.4.00.08 VALID

Oracle Data Mining


11.2.0.4.0 VALID

Oracle Database Catalog Views


11.2.0.4.0 VALID

COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ --------------------------------------------
Oracle Database Java Packages
11.2.0.4.0 VALID

Oracle Database Packages and Types


11.2.0.4.0 VALID

Oracle Expression Filter


11.2.0.4.0 VALID

COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ --------------------------------------------
Oracle XDK
11.2.0.4.0 VALID

13 rows selected.

SQL>
ODM Action Plan Oracle Support- Feb 14, 2022 4:51 PM (Monday)
Hi,

Please validate XDB as below and check.

sqlplus / as sysdba
execute dbms_regxdb.validatexdb;

select comp_name, version, status


from dba_registry
order by status, comp_name;

Regards
Basappa
Oracle Customer Support
Update from Customer [email protected] Feb 14, 2022 4:45 PM
(Monday)
any update please ?
ODM Issue Verification Oracle Support- Feb 14, 2022 4:19 PM (Monday)
From the provided logs
ODM Data Collection Oracle Support- Feb 14, 2022 4:19 PM (Monday)
more_info.txt
===============
SQL> select sysdate from dual;

SYSDATE
-------------------
2022-02-14 17:50:14

SQL> select instance_name, version from v$instance;

INSTANCE_NAME VERSION
---------------- --------------
POC1 11.2.0.4.0

SQL> select platform_name from v$database;

PLATFORM_NAME
-----------------------------------------------------------------------------------------------------
Solaris[tm] OE (64-bit)
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 4/11
2/15/22, 6:37 PM SR Detail

SQL> select * from nls_database_parameters


2 where parameter LIKE '%SET' ORDER BY 1;

PARAMETER VALUE
------------------------- -----------------------------------
NLS_CHARACTERSET AL32UTF8
NLS_NCHAR_CHARACTERSET AL16UTF16

SQL> select comp_name, version, status


2 from dba_registry
3 order by status, comp_name;

COMP_NAME VERSION STATUS


------------------------------------ -------------- ----------
Oracle Real Application Clusters 11.2.0.4.0 INVALID
Oracle XML Database 11.2.0.4.0 INVALID
Spatial 11.2.0.4.0 INVALID
JServer JAVA Virtual Machine 11.2.0.4.0 VALID
OLAP Analytic Workspace 11.2.0.4.0 VALID
OLAP Catalog 11.2.0.4.0 VALID
Oracle Application Express 4.2.4.00.08 VALID
Oracle Data Mining 11.2.0.4.0 VALID
Oracle Database Catalog Views 11.2.0.4.0 VALID
Oracle Database Java Packages 11.2.0.4.0 VALID
Oracle Database Packages and Types 11.2.0.4.0 VALID
Oracle Expression Filter 11.2.0.4.0 VALID
Oracle XDK 11.2.0.4.0 VALID

13 rows selected.
.
.
SQL> select owner, object_name, object_type, status
2 from dba_objects
3 where status = 'INVALID'
4 order by owner, object_name;

OWNER OBJECT_NAME OBJECT_TYPE STATUS


------------ ----------------------------------- -------------------- ----------
AMV AMV_C_CHANNELS_DESC_CTX INDEX INVALID
AMV AMV_C_CHANNELS_NAME_CTX INDEX INVALID
APPLSYS FND_LOBS_CTX INDEX INVALID
APPS AMV_IMT_PUB PACKAGE INVALID
.
.
MDSYS /13578568_JRaster JAVA CLASS INVALID
MDSYS /1e16d7bd_RasterInfoPyramidDes JAVA CLASS INVALID
MDSYS /1ee27fc7_SubLayerInfoGrayscal JAVA CLASS INVALID
MDSYS /2155856b_SubLayerInfoBinFunct JAVA CLASS INVALID
MDSYS /2b830f06_SpatialReferenceInfo JAVA CLASS INVALID
MDSYS /30559e24_SdoGeorPKG JAVA CLASS INVALID
MDSYS /378df9a3_RasterInfoDimensionS JAVA CLASS INVALID
MDSYS /39b18dc9_BlobCodec JAVA CLASS INVALID
MDSYS /3e7fa114_SdoGeoRaster JAVA CLASS INVALID
MDSYS /3ed986d2_SegmentationDataType JAVA CLASS INVALID
MDSYS /42c667ae_GeoRasterSRSAdapter JAVA CLASS INVALID
MDSYS /4d6360de_SubLayerInfoHistogra JAVA CLASS INVALID
MDSYS /4e42d840_SubLayerInfoCellPseu JAVA CLASS INVALID
MDSYS /51fce785_SubLayerInfoScalingF JAVA CLASS INVALID
MDSYS /578c2b04_SubLayerInfoRasterGr JAVA CLASS INVALID
MDSYS /60887f2d_SubLayerInfoRectangu JAVA CLASS INVALID
MDSYS /621866a9_RasterInfoBlockingDe JAVA CLASS INVALID
MDSYS /6a4fffa1_JGeoRasterAdapter JAVA CLASS INVALID
MDSYS /6b8ab103_Compressor JAVA CLASS INVALID
MDSYS /70178183_SubLayerInfoCellCoun JAVA CLASS INVALID
MDSYS /74fcd842_BandReferenceInfoBan JAVA CLASS INVALID
MDSYS /78fcde4a_GeoRasterImageNodata JAVA CLASS INVALID
MDSYS /7c917f61_TIFFWriter JAVA CLASS INVALID
MDSYS /83d15702_ExtentType JAVA CLASS INVALID
MDSYS /843a9d92_SubLayerInfoColormap JAVA CLASS INVALID
MDSYS /84ac9a2b_LayerInfo JAVA CLASS INVALID
MDSYS /8500ba6b_JPEGWriter JAVA CLASS INVALID
MDSYS /906a57a7_GeorGtfParser JAVA CLASS INVALID
MDSYS /918fe946_SubLayerInfoStatisti JAVA CLASS INVALID
MDSYS /928b6b32_JRasterAdapter JAVA CLASS INVALID
MDSYS /93d2287f_BandReferenceInfo JAVA CLASS INVALID
MDSYS /976f73d9_PNGWriter JAVA CLASS INVALID
MDSYS /9899cade_JGeoRaster JAVA CLASS INVALID
MDSYS /9a7a58f9_JGeoRasterMeta JAVA CLASS INVALID
MDSYS /9d27ee71_SpatialReferenceInfo JAVA CLASS INVALID

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 5/11
2/15/22, 6:37 PM SR Detail
MDSYS /9d4abdc7_BlobDecodeParam JAVA CLASS INVALID
MDSYS /a3e12f8a_JP2Compressor JAVA CLASS INVALID
MDSYS /a7845786_SpatialReferenceInfo JAVA CLASS INVALID
MDSYS /a8d27e67_GeoRasterImageProces JAVA CLASS INVALID
MDSYS /ac0f7327_BlobImage JAVA CLASS INVALID
MDSYS /b33419d9_GeoRasterGeoTIFFInte JAVA CLASS INVALID
MDSYS /b56145_CellCoordinateType JAVA CLASS INVALID
MDSYS /b5956ed3_ResolutionType JAVA CLASS INVALID
MDSYS /b71dcac6_SubLayerInfo JAVA CLASS INVALID
MDSYS /b7328870_GeoTIFFWriter JAVA CLASS INVALID
MDSYS /bec63728_GeoRasterImage JAVA CLASS INVALID
MDSYS /c8aeb20d_RasterInfoCompressio JAVA CLASS INVALID
MDSYS /cdf836cc_RasterInfo JAVA CLASS INVALID
MDSYS /ce3f022d_SISToIISAdapter JAVA CLASS INVALID
MDSYS /d12b8de1_SubLayerInfoNODATATy JAVA CLASS INVALID
MDSYS /d6d3e921_SubLayerInfoRasterCo JAVA CLASS INVALID
MDSYS /d94f0d7c_BLOBWriter JAVA CLASS INVALID
MDSYS /dbf8243f_ObjectInfo JAVA CLASS INVALID
MDSYS /e240445a_BMPWriter JAVA CLASS INVALID
MDSYS /ec9f33aa_TemporalReferenceInf JAVA CLASS INVALID
MDSYS /ee8e1dfc_BlobImageDecoder JAVA CLASS INVALID
MDSYS /f6a0dbab_SpatialReferenceInfo JAVA CLASS INVALID
MDSYS /f7c0e173_SubLayerInfoRasterPs JAVA CLASS INVALID
MDSYS /fc14e333_GeoRasterAdapter JAVA CLASS INVALID
MDSYS /fc7881f7_SpatialReferenceInfo JAVA CLASS INVALID
MDSYS /fd247f09_SubLayerInfoCellGray JAVA CLASS INVALID
MDSYS MD2 PACKAGE BODY INVALID
MDSYS MDPRVT_IDX PACKAGE BODY INVALID
MDSYS PRVT_PC PACKAGE BODY INVALID
MDSYS PRVT_TIN PACKAGE BODY INVALID
MDSYS SDOTNPC PACKAGE BODY INVALID
MDSYS SDO_3GL PACKAGE BODY INVALID
MDSYS SDO_CS PACKAGE BODY INVALID
MDSYS SDO_CSW_PROCESS PACKAGE BODY INVALID
MDSYS SDO_GEOR PACKAGE BODY INVALID
MDSYS SDO_JOIN FUNCTION INVALID
MDSYS SDO_NET PACKAGE BODY INVALID
MDSYS SDO_NET_PARTITION PACKAGE BODY INVALID
MDSYS SDO_PQRY FUNCTION INVALID
MDSYS SDO_ROUTER_PARTITION PACKAGE BODY INVALID
MDSYS SDO_TOPO PACKAGE BODY INVALID
MDSYS SDO_TOPO_METADATA_INT PACKAGE BODY INVALID
MDSYS SDO_TUNE PACKAGE BODY INVALID
MDSYS SDO_UTIL PACKAGE BODY INVALID
MDSYS SDO_WFS_LOCK PACKAGE BODY INVALID
MDSYS SDO_WFS_LOCK_GEN PACKAGE BODY INVALID
MDSYS SDO_WFS_PROCESS PACKAGE BODY INVALID
MDSYS SDO_WFS_PROCESS_UTIL PACKAGE BODY INVALID
MDSYS TFM_PLAN TYPE BODY INVALID
OKC OKC_ARTICLES_CTX INDEX INVALID
.
.

XXPORTAL OME_WWW_UTIL_CMN PACKAGE BODY INVALID

520 rows selected.


.
.
SQL> select owner, table_name, grantee, privilege
2 from dba_tab_privs
3 where table_name in ('DBMS_JOB','DBMS_LOB','DBMS_SQL','UTL_FILE')
4 and grantee = 'PUBLIC';

OWNER TABLE_NAME GRANTEE PRIVILEGE


------------ ----------------------------------- ------------ ------------
SYS UTL_FILE PUBLIC EXECUTE
SYS DBMS_LOB PUBLIC EXECUTE
SYS DBMS_JOB PUBLIC EXECUTE
SYS DBMS_SQL PUBLIC EXECUTE

SQL> select owner, index_name


2 from dba_indexes
3 where ityp_name = 'SPATIAL_INDEX';

OWNER INDEX_NAME
------------ -------------------------
HR PER_ADDRESSES_SPT
MST MST_MD_ADM_BNDS_N1
MST MST_MD_HYDROS_N1
HR HR_LOCATIONS_SPT

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 6/11
2/15/22, 6:37 PM SR Detail
RRS RRS_SITE_TMP_N1
RRS RRS_TRADE_AREAS_N1

6 rows selected.

SQL> select owner, index_name


2 from dba_indexes
3 where ityp_name = 'SPATIAL_INDEX';

OWNER INDEX_NAME
------------ -------------------------
MST MST_MD_ADM_BNDS_N1
MST MST_MD_HYDROS_N1
HR HR_LOCATIONS_SPT
HR PER_ADDRESSES_SPT
RRS RRS_SITE_TMP_N1
RRS RRS_TRADE_AREAS_N1

6 rows selected.
Update from Customer [email protected] Feb 14, 2022 3:25 PM
(Monday)
JUST FYI >>

We seen below differences in components after the upgrade from 11.2.0.3 to 11.2.0.4

Before upgrade ::

**********************************************************************
Components: [The following database components will be upgraded or installed]
**********************************************************************
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Real Application Clusters [upgrade] INVALID
--> OLAP Analytic Workspace [upgrade] VALID
--> OLAP Catalog [upgrade] VALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Spatial [upgrade] VALID
--> Data Mining [upgrade] VALID
--> Oracle Application Express [upgrade] VALID
... APEX will only be upgraded if the version of APEX in
... the target Oracle home is higher than the current one.
--> Oracle OLAP API [upgrade] VALID

After upgrade ::

SQL> /

Component Version Status


-------------------------------------------- ----------------- -----------------
Oracle Expression Filter 11.2.0.4.0 VALID
Oracle Application Express 4.2.4.00.08 VALID
Oracle Data Mining 11.2.0.4.0 VALID
Oracle XML Database 11.2.0.4.0 INVALID
OLAP Catalog 11.2.0.4.0 VALID
Spatial 11.2.0.4.0 INVALID
Oracle Database Catalog Views 11.2.0.4.0 VALID
Oracle Database Packages and Types 11.2.0.4.0 VALID
Oracle Real Application Clusters 11.2.0.4.0 INVALID
JServer JAVA Virtual Machine 11.2.0.4.0 VALID
Oracle Database Java Packages 11.2.0.4.0 VALID
Oracle XDK 11.2.0.4.0 VALID
OLAP Analytic Workspace 11.2.0.4.0 VALID

13 rows selected.

SQL>
Update from Customer [email protected] Feb 14, 2022 3:24 PM
(Monday)
Upload to TDS successful for the file more_info.txt.
ODM Action Plan Oracle Support- Feb 14, 2022 3:17 PM (Monday)
Hi,

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 7/11
2/15/22, 6:37 PM SR Detail

Please run the following queries from SQL*Plus and upload the spool file "more_info.txt" for review:

spool more_info.txt
set echo on;

connect / as sysdba

set pagesize 10000


set linesize 200
col parameter format a25
col value format a35
col comp_name format a36
col version format a14
col status format a10
col action_time format a35
col action format a20
col comments format a45
col owner format a12
col object_name format a35
col object_type format a20
col name format a35
col table_name format a35
col column_name format a25
col index_name format a25
col grantee format a12
col privilege format a12
alter session set NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS';

-- Instance and platform

select sysdate from dual;


-- more info cm

select instance_name, version from v$instance;


select platform_name from v$database;

select * from nls_database_parameters


where parameter LIKE '%SET' ORDER BY 1;

-- Status of database components

select comp_name, version, status


from dba_registry
order by status, comp_name;

-- Registry history

select action_time, action, version, comments


from sys.registry$history
order by 1 desc;

-- Invalid objects

select owner, object_name, object_type, status


from dba_objects
where status = 'INVALID'
order by owner, object_name;

-- Object errors

select owner, name, type, text


from dba_errors
order by owner, name;

-- Any Spatial objects in another schema?

select owner, object_name, object_type, status


from dba_objects
where object_name in (select object_name from dba_objects
where owner = 'MDSYS')
and owner not in ('PUBLIC', 'MDSYS');

-- Privileges

select owner, table_name, grantee, privilege


from dba_tab_privs
where table_name in ('DBMS_JOB','DBMS_LOB','DBMS_SQL','UTL_FILE')
and grantee = 'PUBLIC';

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 8/11
2/15/22, 6:37 PM SR Detail
-- Is Spatial being used?

select owner, index_name


from dba_indexes
where ityp_name = 'SPATIAL_INDEX';

select owner, table_name, column_name


from dba_tab_columns
where data_type= 'SDO_GEOMETRY'
and owner != 'MDSYS';

-- Is Multimedia being used?

set serveroutput on;


@?/ord/im/admin/imremchk.sql

spool off;

Regards
Basappa
Oracle Customer Support
Call - Outbound Oracle Support- Feb 14, 2022 3:16 PM (Monday)
Call - Outbound
------------------------------
Called but unable to reach the number.
Notes Oracle Support- Feb 14, 2022 3:12 PM (Monday)
Hi,

Thank you for raising the Service Request with Oracle Support,this service request has been assigned to me.
I am currently reviewing it and will contact you soon.

Regards
Basappa
Oracle Customer Support
Working Hours:(13:30 to 22:00 IST) (9:00 to 17:30 CET) Monday to Friday

NOTE : I will be responding only in my shift timings, if you need support outside of my shift hours please dial your local Support Center:
http://www.oracle.com/support/contact.html & request to repatriate the SR to your time zone or to speak to the next available engineer.
ODM Issue Clarification Oracle Support- Feb 14, 2022 3:11 PM (Monday)
Spatial and Oracle XML Database are Invalid
Update from Customer [email protected] Feb 14, 2022 3:11 PM
(Monday)

SQL> select COMP_NAME,VERSION,STATUS,SCHEMA from dba_registry where COMP_NAME like '%Text%';

no rows selected

SQL> select username from dba_users where username like 'CTXSYS';

USERNAME
------------------------------
CTXSYS

SQL>
Notes Oracle Support- Feb 14, 2022 3:01 PM (Monday)
Customer want to know whether following the action plan mentioned in Doc ID 399187.1 will the validate them or not.
ODM Data Collection Oracle Support- Feb 14, 2022 3:00 PM (Monday)
Ref - https://mos-dcac.us.oracle.com/#/dcac-main?context=sr&contextNum=3-28567535251&file=output2.txt

SQL> SELECT comp_name, version, status FROM dba_registry ORDER BY comp_name;

COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ --------------------------------------------
JServer JAVA Virtual Machine
11.2.0.4.0 VALID

OLAP Analytic Workspace


11.2.0.4.0 VALID

OLAP Catalog
11.2.0.4.0 VALID

Oracle Application Express

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sortB… 9/11
2/15/22, 6:37 PM SR Detail
4.2.4.00.08 VALID

Oracle Data Mining


11.2.0.4.0 VALID

Oracle Database Catalog Views


11.2.0.4.0 VALID

Oracle Database Java Packages


11.2.0.4.0 VALID

Oracle Database Packages and Types


11.2.0.4.0 VALID

Oracle Expression Filter


11.2.0.4.0 VALID

Oracle Real Application Clusters


11.2.0.4.0 INVALID

Oracle XDK
11.2.0.4.0 VALID

Oracle XML Database


11.2.0.4.0 INVALID

Spatial
11.2.0.4.0 INVALID

13 rows selected.

SQL> SELECT owner, object_type, status, COUNT(*)


2 FROM dba_objects
3 WHERE object_type LIKE '%JAVA%'
4 GROUP BY owner, object_type, status
5 ORDER BY owner, object_type, status;

OWNER OBJECT_TYPE STATUS COUNT(*)


------------------------------ ------------------- ------- ----------
APPS JAVA CLASS VALID 581
APPS JAVA RESOURCE VALID 2
EXFSYS JAVA CLASS VALID 47
EXFSYS JAVA RESOURCE VALID 1
MDSYS JAVA CLASS INVALID 61<<<<<<<<<< Only 61 MDSYS owned Java Class objects remains INVALID now.
MDSYS JAVA CLASS VALID 512
MDSYS JAVA RESOURCE VALID 6
ODM JAVA CLASS VALID 264
SYS JAVA CLASS VALID 26690
SYS JAVA DATA VALID 319
SYS JAVA RESOURCE VALID 894
SYS JAVA SOURCE VALID 2

12 rows selected.

SQL> SELECT owner, NVL(longdbcs,object_name) long_name, object_type, status


2 FROM dba_objects, sys.javasnm$
3 WHERE object_type LIKE '%JAVA%'
4 AND status <> 'VALID'
5 AND short (+) = object_name
6 ORDER BY owner, long_name, object_type;

OWNER
------------------------------
LONG_NAME
--------------------------------------------------------------------------------
OBJECT_TYPE STATUS
------------------- -------
MDSYS
oracle/spatial/georaster/BandReferenceInfo
JAVA CLASS INVALID

MDSYS
oracle/spatial/georaster/BandReferenceInfo$BandReferenceType
JAVA CLASS INVALID

OWNER
------------------------------
LONG_NAME
--------------------------------------------------------------------------------
OBJECT_TYPE STATUS

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sort… 10/11
2/15/22, 6:37 PM SR Detail
------------------- -------

MDSYS
oracle/spatial/georaster/CellCoordinateType
JAVA CLASS INVALID

...
...
...

https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=200862097651851&srNumber=3-28599715561&print=true&sort… 11/11

You might also like