System down with Initialization Status 'ORA-06502: PL/SQL:numeric or value error: raw variable length too long' error after upgrading to 7.1.0 P02 of RSA Identity Governance & Lifecycle
Originally Published: 2018-09-04
Article Number
Applies To
RSA Version/Condition: 7.0.2, 7.1.0
Issue
Initialization operations completed with errors. Please resolve the problem(s) before the application server can accept requests.
ORA-06502: PL/SQL:numeric or value error: raw variable length too long
ORA-06512: at line 1
ORA-06512: at line 8
ORA-06502: PL/SQL:numeric or value error: raw variable length too long
ORA-06512: at line 1
ORA-06512: at line 8
08/22/2018 01:13:38.645 ERROR (ServerService Thread Pool -- 83)
[SystemErr] log4j:ERROR Attempted to append to closed appender named [null].
08/22/2018 01:13:38.654 FATAL (ServerService Thread Pool -- 83)
[com.aveksa.server.runtime.AveksaSystem]
****************************************
Initialization has failed!
ORA-06502: PL/SQL: numeric or value error: raw variable length too long
ORA-06512: at line 1
ORA-06512: at line 8
The error is also logged to the patch.log file ($AVEKSA_HOME/wildfly/standalone/log/patch.log):
-------
SQL/line#: /home/oracle/wildfly-10.1.0.Final/standalone/tmp/vfs/deployment/
deploymentd0b59d4df687a3b8/aveksa.war-85a2bac88d7eef71/WEB-INF/database/updates/7.0/ACM-88297.sql(1):
Start time [Wed Aug 22 01:13:38 CST 2018]
DECLARE
v_key varchar2(100);
v_index number := 0;
v_value varchar2(100);
v_cnt number := 0;
BEGIN
--Read the BLOB from T_AV_FILES and convert to CLOB to split the .properties file content into lines.
Restrict the loop only for VIEW_PASSWORD_EXTERNAL_URL to avoid unnecessary iterations.
FOR rec IN (select * from (WITH clob_table(clb)
as (select (select to_clob(UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(data,32767,1)))
from T_AV_FILES WHERE PATH LIKE '%/custom/strings/customerstrings.properties%') clb from dual)
SELECT regexp_substr(clb, '.+', 1, level) text,level line
FROM clob_table
CONNECT BY LEVEL <= regexp_count(clb, '.+')) where text like 'VIEW_PASSWORD_EXTERNAL_URL%') LOOP
v_index := instr(rec.text,'=');
v_key := substr(rec.text,0,v_index-1);
v_value := substr(rec.text,v_index + 1);
if (v_key='VIEW_PASSWORD_EXTERNAL_URL') then
SELECT COUNT(1) INTO v_cnt FROM T_SYSTEM_SETTINGS WHERE PARAMETER='ViewPasswordUrl';
if(v_cnt = 0) then
insert into T_SYSTEM_SETTINGS values ('ViewPasswordUrl',v_value);
else
update T_SYSTEM_SETTINGS set value = v_value where parameter = 'ViewPasswordUrl';
end if;
end if;
END LOOP;
commit;
END;
java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: raw variable length too long
ORA-06512: at line 1
ORA-06512: at line 8
Please refer to RSA Knowledge Base Article 000030327 -- Artifacts to gather in RSA Identity Governance & Lifecycle to find the location of the log files for your specific deployment if you are on a WildFly cluster or a non-WildFly platform.
Cause
Resolution
- RSA Identity Governance & Lifecycle 7.0.2 P10
- RSA Identity Governance & Lifecycle 7.1.0 P04
- RSA Identity Governance & Lifecycle 7.1.1
Related Articles
Indirect Relationship Processing fails with ORA-30926 and 'ORA-06512: at "AVUSER.CE_USERS" ' errors after Migration to 7.0… 899Number of Views How to recover the AveksaAdmin account password in RSA Identity Governance & Lifecycle 7.0.2 P02 and above 1.61KNumber of Views Unable to open a workflow after upgrade to RSA Identity Governance & Lifecycle 7.1.0 P01 with error "The features paramete… 108Number of Views 8.5P4 linux webtier shows online-reinstall required 340Number of Views GUI shows initialization error "ORA-04063: package body "AVUSER.UTILITIES_PKG" has errors" after patching to 7.5.2 P07 in … 384Number of Views
Trending Articles
Troubleshooting RSA SecurID Access Identity Router to RSA Authentication Manager test connection failures RSA SecurID Software Token 5.0.2 Downloads for Microsoft Windows RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Governance & Lifecycle 8.0.0 Administrators Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory
Don't see what you're looking for?