Question
CYBG
GB
Last activity: 10 Jan 2024 8:37 EST
Re-installing UDF/DirectStreamReader functions/classes
We've recently rebuilt an environment (after an unfortunate accident and a missing backup) and discovered that the DirectStreamReader function used in Report Definitions isn't found, giving:
There was a problem getting a list: code: 29540 SQLState: 99999 Message: ORA-29540: class com/pega/pegarules/data/udf/directstreamreader/DirectStreamReader does not exist
and no results when a report is run. We noticed that the classes for these functions were missing from the PR_ENGINECLASSES table and want to add them back in.
My question is: should we try to do this via running generateudf.bat? Or would it be better to copy the rows into this table from another, working environment? Note that the udf function PR_READ_FROM_STREAM and its siblings exist, just the resultant Java classes are missing from the table.