Resolving invalid Pega Java class while upgrading Pega application from 7.1 to 8.4
Resolving invalid Pega Java class from Oracle , If you got below error from DB side while upgrading Pega application from 7.1 to 8.4 :-
SQL> select dbms_java.longname(object_name), status, object_type from all_objects where
object_type = 'JAVA CLASS' and status='INVALID'; 2
DBMS_JAVA.LONGNAME(OBJECT_NAME)
--------------------------------------------------------------------------------
STATUS OBJECT_TYPE
------- -----------------------
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderDB2LUW
INVALID JAVA CLASS
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderDB2ZOS
INVALID JAVA CLASS
com/pega/pegarules/data/udf/directstreamreader/BasicEnvironmentAdapter
INVALID JAVA CLASS
DBMS_JAVA.LONGNAME(OBJECT_NAME)
--------------------------------------------------------------------------------
STATUS OBJECT_TYPE
------- -----------------------
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReader
INVALID JAVA CLASS
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderBase$Version6
INVALID JAVA CLASS
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderBase$Version7
INVALID JAVA CLASS
DBMS_JAVA.LONGNAME(OBJECT_NAME)
--------------------------------------------------------------------------------
STATUS OBJECT_TYPE
------- -----------------------
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderBase
INVALID JAVA CLASS
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderDB2LUW
INVALID JAVA CLASS
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderDB2ZOS
INVALID JAVA CLASS
DBMS_JAVA.LONGNAME(OBJECT_NAME)
--------------------------------------------------------------------------------
STATUS OBJECT_TYPE
------- -----------------------
com/pega/pegarules/data/udf/directstreamreader/DirectStreamReaderPostgreSQL
INVALID JAVA CLASS
com/pega/pegarules/data/internal/clipboard/directstream/DirectStreamV7
INVALID JAVA CLASS
com/pega/pegarules/data/internal/clipboard/directstream/InflaterV7
INVALID JAVA CLASS
DBMS_JAVA.LONGNAME(OBJECT_NAME)
--------------------------------------------------------------------------------
STATUS OBJECT_TYPE
------- -----------------------
com/pega/pegarules/data/internal/clipboard/directstream/DirectStream
INVALID JAVA CLASS
com/pega/pegarules/data/internal/clipboard/directstream/PropertyReferenceUtiliti
es
INVALID JAVA CLASS
14 rows selected.
Then , check the Java_class comp_name from dba_registry and if it valid then login via username whose DBMS_JAVA.LONGNAME(OBJECT_NAME) is invalid and fire the below command :-
ALTER JAVA CLASS "com/pega/pegarules/data/internal/clipboard/directstream/PropertyReferenceUtiliti" RESOLVER ((*PG7_P820_SITA_RULES)(* public)) RESOLVE;
Run the above command for all invalid DBMS_JAVA.LONGNAME(OBJECT_NAME).
Comments
Post a Comment