Oracle Java proc ORA-04045: errors during recompilation/revalidation
hi,
I have Oracle Java stored proc called MERGE_ENTITY_AND_EVENT invoked by a trigger. It was working fine for a couple of weeks. Today it throws this generic exception. I'm not sure what changed.
Caused by: java.sql.SQLSyntaxErrorException: ORA-04045: errors during recompilation/revalidation of TLMDEV./3ba8073b_Log4JLogger
ORA-06512: at "MERGE_ENTITY_AND_EVENT", line 1
ORA-06512: at "QUOTE_TRIGGER", line 49
1. What is the root cause of this exception ?
2. Whats the solution ?
If you dont know 1 or 2, how would you go about debugging this problem ?
Thanks in advance.
The most likely cause is that something has caused the class TLMDEV./3ba8073b_Log4JLogger to become invalid and implicit invalidation does not succeed in making it valid. In general a class must be valid in order to be run and an attempt to run an invalid class (such as because your trigger calls it) will cause an attempt to validate it and if that attempt fails an ORA-04045 can be the result. Validation of a class amounts to iterating over the set of names referenced by the class and looking for a valid class by that name, perhaps recursively attempting to validate if an invalid class by that name is found. So validation of a class may amount to an attempt to validate several classes at once. If any of them fail to be validatable, which occurs if there is no class for a given referenced name then most if not all of the classes in the set being validated and certainly the top level one will fail to validate. So if things are working correctly, the ultimate reason for the ORA-04045 will prove to be that some name referenced by TLMDEV./3ba8073b_Log4JLogger or recursived by something it references will be a name for which there is no class in the database (or more precisely in the search path used which is typically the current schema followed by PUBLIC, but could be different if some of the classes involved have had explicit resolver specifications given for them). The thing to do to try to start determining what class is missing is to do the query
select owner||'.'||name||' : '||text from all_errors where type like 'JAVA%';
The first thing to look at are lines for TLMDEV./3ba8073b_Log4JLogger. These will probably show text which contains either ORA-29534 identifying a referenced class that exists but could not be recursively valid, or ORA-29521 identifying names for which there is no class. The latter are the ultimately interesting ones since the former will end up being recursively caused by them. So look at the ORA-29521s and then try to determine either why the class is missing and how to restore it or which it is now referenced when it wasn't before (which would happen if some class was changed to reference it or something that references it, recursively).
Similar Messages
-
ORA-04045: errors during recompilation/revalidation
I was applying catlog.sql and catproc.sql, but has some problem during it, and now, when I try to access a database in the sqlplus appear follow errors:
ERROR:
ORA-04045: errors during recompilation/revalidation of
SYS.DBMS_APPLICATION_INFO
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 2
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 2
Error accessing package DBMS_APPLICATION_INFO
Someone know about it ??
ThanksWhat went wrong during catalog and catproc ?
Did you run out of space ? In that case just enable autoextension on the system tablespace datafile[s] and re-run catalog & catproc. Check the logfiles.
regards,
Ronald.
http://ronr.nl/unix-dba -
ORA-04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
Hi,
i am on 11.5.10.2 RHEL 4.0
i tried running catalog.log on DB Tier as sys, but was not successful.
later sqlplus apps/apps would start giving
ORA-00604 : error occured at recursive SQL level 1
ORA-04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
$sqlplus /nolog works fine... BUT
$sqlplus conn /as sysdba HANGS!!!!
Also logging via URL > after clicking on E-Business Home Page gives
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, changeOnOHSInstall and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
could anybody suggest on this error?
Thanking You
Regards,
SKThanks for your quick reply
status of the object: INVALID
PLSQL_V2_COMPATIBLITY is set to FALSE
Run utlrp.sql to compile all invalid objects in the database
it gave me error as follows:
SQL> @utlrp.sql
declare
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_invalid (obj# number)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_sorted (obj# number, depth number)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_compiled(obj# number)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE INDEX utl_recomp_comp_idx1 ON utl_recomp_compiled(obj#)
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
CREATE TABLE utl_recomp_backup_jobs (command varchar2(100), status varchar2(1000))
ERROR at line 1
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
SELECT o.obj#, o.type#, o. owner# FROM obj# o
ERROR at line 2
ORA -00604 : error occured at recursive SQL level 1
ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
Edited by: mirage on Dec 4, 2008 6:45 PM -
Errors during recompilation/revalidation
ORA-04045: errors during recompilation/revalidation of BOS.COUNTY
ORA-00980: synonym translation is no longer valid
I am getting the above error. Actually there are some synonyms from BOS to BOSV account. I imported all the objects into BOS first from the source. Then i imported all the objects into BOSV from the source. After that when i say
BOS>desc BOS.COUNTY
i am getting the below error
ORA-04045: errors during recompilation/revalidation of BOS.COUNTY
ORA-00980: synonym translation is no longer valid
Please reply ASAP...
thanksObjects are imported in reverse order.
You should've imported BOSV first and then BOS. As Todd directed you need to recreate/reimport the BOS synonyms if the base objects in BOSV exist. -
Oracle Collaborate Suite ORA-6502 error during loging or form submitting
Hi!
I had Oracle Collaborate Suite ORA-6502 error during loging or form submitting:
Internal error (WWC-00006)
An unexpected error has occurred (WWS-32100)
ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417)
Error (WWS-20000)
An unexpected error has occurred (WWS-32100)
ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417).
This happened when:
I was using Russian letters in OCS HTML forms (for example - in Administration provision console or in my own HTML forms)
and only I work in Linux (with UTF-8 encoding) (in Windows with win1251 encoding all is OK).
My Database NLS not-null Parameters are:
NLS_LANGUAGE - AMERICAN
NLS_LENGTH_SEMANTICS - BYTE
NLS_TERRITORY - AMERICA
NLS_CHARACTERSET - AL32UTF8
NLS_NCHAR_CHARACTERSET - AL16UTF16
WHAT MUST I DO TO AVOID THIS SITUATION?
Thank
ValeryAll,
It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
Again, the run error only occurred when the page was loaded in "Debug" mode.
Bernard -
Error on oracle database export ORA-04045 and ora-00600
Hi
I am getting following errors on database export
EXP-00008: ORACLE error 4045 encountered
ORA-04045: errors during recompilation/revalidation of CHEALTH1.oracle/gss/util/NLSLocale005
ORA-00600: internal error code, arguments: [26599], [1], [225], [], [], [], [], []
EXP-00000: Export terminated unsuccessfully
we have recently run initxml.sql for XML after upgrading from 9.2.0.1.0 to 9.2.0.4.0
any suggestions
kedarYes, you are in the wrong forum, but it sounds like you have your environment variable (or registry entry) for ORA_NLS33 pointing at the wrong directory.
Steve -
ORA-04088: error during execution of trigger
Error Description :
We have more than 100 of records in a csv file which we are processing through a script. At the first execution let
say it generates trigger exception for five records ... when I execute the script second time those five records
are not throwing any exception but may be some other records. But consecutive trigger exception is not happening for any record . If a particular record is throwing exception at first attempt then in the second attempts it's not throwing the trigger exception.
Input file
PROPRTY_ID,NAME,OLD STREET,CITY,STATE,ZIP,NEW STREET,NEW CITY,NEW STATE,NEW ZIP
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812
Error :
88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812 - PROPERTY Update Error : ORA-00001: unique constraint (PROD.PK_AUDIT_LOG) violated
ORA-06512: at "PROD.PROPERTY_AUD", line 159
ORA-04088: error during execution of trigger 'PROD.PROPERTY_AUD'
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> desc property
Name Null? Type
PROPERTY_ID NOT NULL NUMBER(20)
TYPE_CODE VARCHAR2(10)
TYPE_PREFIX VARCHAR2(10)
DWELLING_TYPE_CODE NOT NULL VARCHAR2(10)
DWELLING_TYPE_PREFIX NOT NULL VARCHAR2(10)
STREET_NUMBER VARCHAR2(25)
STREET_DIRECTION CHAR(2)
STREET_NAME NOT NULL VARCHAR2(45)
UNIT_NUMBER VARCHAR2(15)
CITY_CODE VARCHAR2(10)
STATE NOT NULL CHAR(2)
ZIP_CODE VARCHAR2(10)
UNIT_TYPE VARCHAR2(10)
UNIT_PREFIX VARCHAR2(10)
COUNTY_CODE VARCHAR2(10)
COUNTRY_CODE NOT NULL VARCHAR2(10)
SQUARE_FEET NUMBER(6)
NUMBER_MOTHER_LAW_UNITS NUMBER(6)
YEAR_BUILT DATE
PROPERTY_VALUE NUMBER(12)
ZIP_PLUS_4 VARCHAR2(4)
SFI_REQ_FLAG CHAR(1)
LAST_MODIFIED NOT NULL DATE
LAST_MODIFIED_BY VARCHAR2(31)
STANDARDIZED_STATUS VARCHAR2(10)
STANDARDIZED_DESC VARCHAR2(200)
SQL> desc audit_log
Name Null? Type
SEQ_NO NOT NULL NUMBER(20)
TABLE_NAME VARCHAR2(31)
USER_STAMP VARCHAR2(31)
TIME_STAMP DATE
TRAN_CODE CHAR(2)
RECORD1 VARCHAR2(2000)
RECORD2 VARCHAR2(2000)
FLAG_FLD CHAR(1)
SFI_FLAG_FLD CHAR(1)
ERROR_NUMBER NUMBER
Update Query which is getting executed :
UPDATE PROPERTY
SET DWELLING_TYPE_CODE = 'SFR',
DWELLING_TYPE_PREFIX = 'DWELLING',
STREET_NUMBER = NULL,
STREET_DIRECTION = NULL,
STREET_NAME = ln_new_street_name, -- <From input file>
UNIT_NUMBER = NULL,
CITY_CODE = ln_city_code, -- <From other Table>
STATE = ln_new_state, -- <From input file>
ZIP_CODE = ln_new_zip_code,
UNIT_TYPE = NULL,
UNIT_PREFIX = NULL,
COUNTY_CODE = ln_county_code, -- <From Other table>
COUNTRY_CODE = 1,
ZIP_PLUS_4 = ln_zip_plus_4 -- <From Input file>
WHERE PROPERTY_ID = ln_property_id; -- <From Other table>
*NOTE :* Property.LAST_MODIFIED field is auto populate through other trigger. It does not causing any problem.
This might be helpful :
SQL> select OWNER, CONSTRAINT_NAME, TABLE_NAME,COLUMN_NAME from dba_cons_columns where CONSTRAINT_NAME='PK_AUDIT_LOG';
OWNER CONSTRAINT_NAME TABLE_NAME COLUMN_NAME
PROD PK_AUDIT_LOG AUDIT_LOG SEQ_NO
PROD_ARCH PK_AUDIT_LOG AUDIT_LOG SEQ_NO
SQL> select SEQ_NO, trim(RECORD1), trim(RECORD2),TIME_STAMP
from audit_log where RECORD1 like '%BUTTE%' order by TIME_STAMP;
SEQ_NO
1675677212
TRIM(RECORD1)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TRIM(RECORD2)
00000000000031814095...SFR .DWELLING ...5512 BUTTE VIEW CT ..15532
.CA.95765 ...1377 .1 .....5000..20100922.SUSMSAHA ..
TIME_STAMP
22-sep-2010
Trigger Body which is fired and throwing the exception :
create or replace trigger PROPERTY_AUD
before insert or update on PROPERTY
for each row
declare
rec1 varchar2(2000);
rec2 varchar2(2000);
tcode char(1);
ln_seq_id NUMBER:=Null;
ls_sql VARCHAR2(2000):=Null;
begin
select temp_audit_seq.nextval into ln_seq_id from dual;
rec1 := null;
rec2 := null;
if user = 'NONREP_USER' then
return;
end if;
if (dbms_reputil.from_remote = FALSE) then
:NEW.last_modified := sysdate;
if (user = 'SALESFORCE_SYNC') then
:new.last_modified_by := NVL(:new.last_modified_by,USER);
else
:new.last_modified_by := user;
end if;
end if;
if inserting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'I';
elsif deleting then
rec1 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'D';
else
rec1 :=
LPAD(:old.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:old.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:old.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:old.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:old.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:old.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:old.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.STATE, 2, ' ' ) || '.' ||
RPAD(:old.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:old.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:old.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:old.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:old.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:old.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:old.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:old.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:old.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:old.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:old.STANDARDIZED_DESC, 200, ' ' );
rec2 :=
LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.STATE, 2, ' ' ) || '.' ||
RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
tcode := 'U';
end if;
ls_sql :='
INSERT INTO AUDIT_LOG
( seq_no,
table_name,
user_stamp,
time_stamp,
tran_code,
record1,
record2)
VALUES
( :id,
:s_table_name,
:s_user_name,
:d_sysdate,
:s_tcode,
:s_rec1,
:s_rec2
EXECUTE IMMEDIATE ls_sql
USING ln_seq_id,
'PROPERTY',
user,
sysdate,
tcode,
rec1,
rec2;
end;
Your suggestion is highly appreciated ..
Edited by: Bipul on Sep 23, 2010 12:40 AMTEMP_AUDIT_SEQ generates number with the increment of +1
Although there seems other sequence populating the AUDIT_LOG table through a different sequence with the increment of +10. So till now there are already 1179 different numbers residing in audit_log.seq_no and yet to be generated by the TEMP_AUDIT_SEQ sequence. I will look into more details.
SQL> select max(seq_no) from audit_log;
MAX(SEQ_NO)
1675689121
SQL> select TEMP_AUDIT_SEQ.nextval from dual;
NEXTVAL
1675677285
SQL> select count(*) From audit_log where seq_no>1675677285;
COUNT(*)
1179
SQL> select count(*) from audit_log where seq_no>1675677283 and mod(seq_no,2)=1;
COUNT(*)
1179
SQL> select seq_no from audit_log where seq_no>1675677283 and mod(seq_no,2)=1 and rownum<12;
SEQ_NO
1675677291
1675677301
1675677311
1675677321
1675677331
1675677341
1675677351
1675677361
1675677371
1675677381
1675677391
11 rows selected.
Thank you Lee and Herald ten Dam ... -
ORA-00942 Error during unicode export of BI 7.0
Hello Everyone,
I am doing an export of a non-unicode BI 7.0 system to convert and import it into a Unicode database. All the jobs have passed except one and I see the following error in the log file (SAPAPPL0_3.log)
/usr/sap/ABD/SYS/exe/run/R3load: START OF LOG: 20080302124247
/usr/sap/ABD/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
/usr/sap/ABD/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jun 9 2007 09:20:06
/usr/sap/ABD/SYS/exe/run/R3load -e SAPAPPL0_3.cmd -datacodepage 4102 -l SAPAPPL0_3.log -stop_on_error
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
(RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
(RSCP) WARN: UMGCONTAINER has 1 problems.
(RSCP) INFO: UMGSETTINGS nametab creation: ok.
(RSCP) INFO: Global fallback code page = 1100
(RSCP) INFO: Common character set is not 7-bit-ASCII
(RSCP) INFO: Collision resolution method is 'fine'
(RSCP) INFO: R3trans code pages = Normal
(RSCP) INFO: EXPORT TO ... code pages = Normal
(RSCP) INFO: Check for invalid language keys: active, by default
(RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
(RSCP) INFO: I18N_NAMETAB_NORM_LOG = 1000000002
(RSCP) INFO: I18N_NAMETAB_ALT_ALLOW = 10000
(RSCP) INFO: I18N_NAMETAB_ALT_LOG = 10003
(RSCP) INFO: I18N_NAMETAB_OLD_ALLOW = 0
(RSCP) INFO: I18N_NAMETAB_OLD_LOG = 500
(GSI) INFO: dbname = "ABD20070922100908
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "ussbbdd5 "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "ussbbdd5"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(GSI) INFO: instno = "INITIAL "
(EXP) ERROR: DbSlExeRead failed
rc = 103, table "/BIC/SZTERR_CD"
(SQL error 942)
error message returned by DbSl:
ORA-00942: table or view does not exist
(DB) INFO: disconnected from DB
/usr/sap/ABD/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/ABD/SYS/exe/run/R3load: END OF LOG: 20080302124251
When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD ';
I did finish all the unicode preconversion steps and also ran the SMIGR_CREATE_DDL program. I had exported recently from the same system but I never got this error during that run.
Another question is about the order in which the steps need to be performed. I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
Thanks again for your help!Hello Stacy,
> When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
> SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD ';
If the object does not exists on the source target database, please check if the ddic of sap still contains the table definition. (SE11 or SE14)
If yes you can set the status of the table /BIC/SZTERR_CD to "ok" in the corresponding task file.
You can not fix this problem in other way after you have started the conversion, because of the export files are already generated (with the information of the sap ddic)...
> I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
That was the right way.
Regards
Stefan -
Oracle 8i, Getting ORA-1501 error while creating new DB
Hi folks,
I am trying create a new database on an HP Machine (Details given below) but getting following error.
ORA-1501 - signalled during Create Database
LOGFILE 'G:\logfiles\logaf1.ora'
We actually have a custom application setup.exe to create new database.
Same setup when installed on a different low end machine works fine.
Before begining the setup in summary page it shows following information.
Block buffer count = -3 Bytes
Shared Pool Size = -41425 KBytes
Yes the values displayed are in negative.
Don't know if this is the reason for the ORA-1501 error.
Can anyone please suggest how to resolve this issue.
Machine configuration is as follows:
H/W details:
HP Server with RAID configuration
4, PIII CPU's
RAM: "4 GB"
S/W details
O.S:Windows 2000 Server with Service Pack-2
Oracle Version: 8i
Patch applied: Oracle8i Patch Set Version 8.1.7.3.0Try look to alert<SID>.log file for full error report (you could paste it here).
Also from alert log you could get real values for db_block_buffers and shared_pool_size parameters that used during instance startup. -
Oracle 10g installing on Oracle EL, getting ORA-12157 error?
My boss is getting really impatient. I have tried installing Oracle 10g on... Oracle EL, CentOS 4, Fedora 4, Fedora 5, and I get the same error on them alll...
ORA-12157: TNS: internal network communication error
This occurs during the end phase of the installation, when it says "Clone database creation". Network seems to be working, can ping the server, static IP, all that?
Any help appreciated, I've been working on this for 5 days.
JonVerbatim, this error means:
ORA-12157: TNS:internal network communication error
Cause: Internal error during network communication.
Action: Not normally visible to the user. For further details, turn on tracing and reexecute the operation. If error persists, contact Worldwide Customer Support.Have you met all requirements before proceeding with installation? Do you have all required patches? Is there any warnng during the prerrequisites verifying routine? Is there any outstanding issue recorded on your install log file?
I suggest you, after verifying above points, to go ahead wiht a software only installation, next, using the network and databse assistants perform a network configuration and a database creation, this way you'll be able to isolate the source of the problem and go ahead with a specific troubleshootig. -
Oracle Java Compiler 11g - JVM ERROR
Hi Jdev Team,
I have an issue to report,
Sometimes when run a project and navigate through the pages, i get the following error message:
Oracle Java Compiler 11g
Unable to create an instance of the Java Virtual Machine
Located at path:
H:\jdevstudio1111\jdk\jre\bin\client\jvm.dll
The only way to solve this is delete the settings of the Jdev and the Jdev from the PC, and install again, with the associated waste of time as consecuence. Please you can give a light to resolve this issue? Thanks
Well i correct what i just said.
The problem doesn´t fix, with the erase of the jdev program folder or settings folder in windows user docs and settings. What else i can do!?, out of ideas in here.
Regards,
Leo
Message was edited by:
LCJSolution (workaround):
Re: ADF table and filtering
Pedja -
Oracle not started ORA-12560 error
Hello,
My Database version : 8.1.7.0.0
OS : Windows 2000
When I want to connect sqlplus using :
C:\Documents and Settings\Administrator.TVCLKLB>sqlplus sys@tvclklb
SQL*Plus: Release 8.1.7.0.0 - Production on Sun May 25 12:11:43 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
And when I want to connect using sqlplus/nolog it shows :
C:\Documents and Settings\Administrator.TVCLKLB>sqlplus/nolog
SQL*Plus: Release 8.1.7.0.0 - Production on Sun May 25 12:13:06 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
SQL> conn sys as sysdba
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
Have any idea what is the problem and what is suggested solution. I already check the listner and service which is running smoothy.
I shall wait for ur quick feedback.
Thanks in advanced
Aungshuman PaulFor further details I put the sqlnet.log file :
Fatal NI connect error 12640, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.1.7.0.0 - Production
Time: 25-MAY-2008 12:20:35
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12640
TNS-12640: Authentication adapter initialization failed
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Thanks
Aungshu -
ORA-022887 error during insert operation how to handle properly ...
Hello everyone I got an error during insert operation how to handle it properly ?
SQL statements given below.
INSERT INTO PERSONEL.TRANSLATIONS (TID,SCRIPT_NAME,TAG,TR,EN,LOCAL)
VALUES ((SELECT PERSONEL.SQX_TID.NEXTVAL AS TID FROM DUAL),'TEST_TEST','TEST','TR','EN','LOCAL');
thank youI could not find an error like ORA-022887. What is the exact error you are getting? Do a cut and past of the error here.
Ok the proper error is ORA-02287: sequence number not allowed here
As already said just remove the select and use the sequence directly in the insert.
Edited by: Karthick_Arp on Sep 11, 2009 1:04 AM -
Error while compiling java class (ora-29535 source requires recompilation)
Hello. I`m new with oracle and i`m having a problem with java classes. Few days ago i loaded java classes (loadjava) from jar file(biojava3-structure-3.0.2.jar) and compiled ( everything compiled with status valid). Now i`m writing my own class and i can`t import classes from biojava3. I`m getting error:
Projekt:7: cannot access org.biojava.bio.structure.Atom
bad class file: null
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import org.biojava.bio.structure.Atom;
I have tryed to change jdk version in netbeans from 1.7 to 1.6. I created java class in sql plus That still not resolved my problem.
Please help me.consider posting in Java forum instead of Database forum
https://forums.oracle.com/forums/category.jspa?categoryID=285 -
ORA-12560 error during 11G Install
Hi,
I am trying to install 11G on my WIN XP Pro laptop.During the installation process, whilst the database configuration assistant is on the "Completing Database Creation" stage, ORA-12560 TNS:Protocol Adpater error is thrown.
I've followed all steps so far in the install guide including installing Microsoft Loopback Adapter for my DHCP laptop but to no avail.
Anyone's been through this thing before? Appreciate a quick repsosne please.
Thanks.Here's the extract from the log at C:\app\gopher\cfgtoollogs\dbca\homedatabase.I've highlighted the TNS protocol error in bold.
[Thread-43] [10:2:2:765] [OracleHome.isRacEnabled:177] bRacOn = false
[Thread-43] [10:2:2:765] [Host.noEntryinOratab:5562] Check made for oratab arg passed............
[Thread-43] [10:2:2:765] [Oradim.getAddEntryCommand:355] AddEntry=[C:\app\gopher\product\11.1.0\db_1\bin\oradim.exe, -new, -sid, homedatabase, -startmode, manual, -spfile]
[Thread-43] [10:2:3:890] [Oradim.getEditEntryCommand:436] getEditEntry cmd=[C:\app\gopher\product\11.1.0\db_1\bin\oradim.exe, -edit, -sid, homedatabase, -startmode, auto, -srvcstart, system]
[Thread-43] [10:2:4:484] [Oradim.addSidToRegistry:884] oracleHomeKey: SOFTWARE\ORACLE\KEY_OraDb11g_home1
[Thread-43] [10:2:4:484] [OracleHome.getVersion:974] OracleHome.getVersion called. Current Version: 11.1.0.6.0
[Thread-43] [10:2:4:484] [OracleHome.getVersion:1046] Current Version From Inventory: 11.1.0.6.0
[Thread-43] [10:2:4:484] [OracleHome.getVersion:1051] using sqlplus: C:\app\gopher\product\11.1.0\db_1\bin\sqlplus.exe
[Thread-43] [10:2:4:484] [CommonUtils.createPasswordFile:515] calling new orapwd for version : 11.1.0.6.0
[Thread-43] [10:2:4:484] [OsUtilsBase.execProg:1335] beginning execProg with input array.
[Thread-43] [10:2:4:484] [OsUtilsBase.execProg:1347] finished execProg with input array.
[Thread-43] [10:2:4:484] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@e7bb91
[Thread-43] [10:2:4:484] [CloneRmanRestoreStep.executeImpl:218] Instance Creation went fine..........
[Thread-43] [10:2:4:500] [CloneRmanRestoreStep.executeImpl:225] db_recovery_file_dest=C:\app\gopher\flash_recovery_area
[Thread-43] [10:2:4:500] [CloneRmanRestoreStep.executeImpl:228] db_recovery_file_dest_size=2147483648
[Thread-43] [10:2:11:484] [SQLEngine.done:2014] Done called
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12560: TNS:protocol adapter error
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
at oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.executeImpl(CloneRmanRestoreStep.java:245)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2497)
at java.lang.Thread.run(Thread.java:595)
[Thread-43] [10:2:11:484] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@e7bb91
[Thread-43] [10:2:11:484] [StepContext$ModeRunner.run:2513] oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.executeImpl(CloneRmanRestoreStep.java:448)
oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2497)
java.lang.Thread.run(Thread.java:595)
[Thread-43] [10:2:12:609] [SQLEngine.done:2014] Done called
[Thread-43] [10:2:12:609] [Host.createStepSQLInterface:6444] sid =homedatabase
[Thread-43] [10:2:12:609] [SQLEngine.getEnvParams:446] NLS_LANG: AMERICAN_AMERICA.WE8MSWIN1252
[Thread-43] [10:2:12:609] [SQLEngine.initialize:253] Execing SQLPLUS/SVRMGR process...
[Thread-43] [10:2:12:625] [SQLEngine.initialize:281] m_bReaderStarted: false
[Thread-43] [10:2:12:625] [SQLEngine.initialize:285] Starting Reader Thread...
[Thread-43] [10:2:12:625] [SQLEngine.initialize:334] Waiting for m_bReaderStarted to be true
[Thread-43] [10:2:12:843] [SQLEngine.initialize:334] Waiting for m_bReaderStarted to be true
[Thread-43] [10:2:12:859] [CloneRmanRestoreStep.cancel:614] Cleaning up partially extracted files failed
[Thread-43] [10:2:12:921] [SQLEngine.done:2014] Done called
[Thread-43] [10:2:12:921] [CloneRmanRestoreStep.cancel:629] RMAN cleanup failed
[Thread-43] [10:2:12:921] [CloneRmanRestoreStep.cancel:630] oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.cancel(CloneRmanRestoreStep.java:617)
oracle.sysman.assistants.util.step.StepContext$ModeRunner.cancel(StepContext.java:2590)
oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2552)
java.lang.Thread.run(Thread.java:595)
[Thread-43] [10:2:12:921] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\SYSTEM01.DBF
[Thread-43] [10:2:12:921] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\SYSAUX01.DBF
[Thread-43] [10:2:12:921] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\UNDOTBS01.DBF
[Thread-43] [10:2:12:921] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\USERS01.DBF
[Thread-43] [10:2:12:921] [CloneDBCreationStep.cancel:895] CloneDBCreationStep.cancel(): nodeList= null
[Thread-43] [10:2:12:921] [SQLEngine.reInitialize:624] Reinitializing SQLEngine...
[Thread-43] [10:2:12:921] [SQLEngine.getEnvParams:446] NLS_LANG: AMERICAN_AMERICA.WE8MSWIN1252
[Thread-43] [10:2:12:921] [SQLEngine.initialize:253] Execing SQLPLUS/SVRMGR process...
[Thread-43] [10:2:12:937] [SQLEngine.initialize:281] m_bReaderStarted: false
[Thread-43] [10:2:12:937] [SQLEngine.initialize:285] Starting Reader Thread...
[Thread-43] [10:2:12:937] [SQLEngine.initialize:334] Waiting for m_bReaderStarted to be true
[Thread-43] [10:2:13:93] [SQLEngine.done:2014] Done called
[Thread-43] [10:2:13:93] [OracleHome.isRacEnabled:177] bRacOn = false
[Thread-43] [10:2:13:93] [Oradim.getRemoveEntryCommand:477] Execing C:\app\gopher\product\11.1.0\db_1\bin\oradim.exe -delete -sid homedatabase
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\product\11.1.0\db_1\database\PWDhomedatabase.ora
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\product\11.1.0\db_1\database\inithomedatabase.ora
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\admin\homedatabase\pfile\init.ora
[Thread-43] [10:2:13:203] [CloneDBCreationStep.cancel:936] CloneDBCreationStep.cancel(): bRaw=false
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\SYSTEM01.DBF
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\SYSAUX01.DBF
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\UNDOTBS01.DBF
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\USERS01.DBF
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\redo01.log
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\redo02.log
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\redo03.log
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\control01.ctl
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\control02.ctl
[Thread-43] [10:2:13:203] [OsUtilsBase.deleteFile:1013] OsUtilsBase.deleteFile: C:\app\gopher\oradata\homedatabase\control03.ctl
[Thread-43] [10:2:13:203] [SQLEngine.done:2014] Done called
[AWT-EventQueue-0] [10:2:20:609] [SQLEngine.done:2014] Done called
Maybe you are looking for
-
What is table name in SAP R/3 for PM order line item data
Hello, I am extracting data for PM module and Interested in PM order line item data. Table AUFK is for PM order header master data. Is there any other table for PM order line item master data? Thanks, Ishak
-
Upgraded software, can't get back to my phone
I up graded my Iphone 4 thru Itunes, Am stuck in the apple ID and pass word. It even tells me my birthdate is incorrect! Do I have to re-do the password and ID allover again??
-
How to use a parameter passed to stored procedure in cursor?
I am rather new to Oracle stored procedures and I'm sure that this is rather simple. Could someone tell me how to do the following: I would like to pass the variable status into my stored procedure and then use it in the where clause when defining my
-
Lock Screen too big to see swipe, so we can't 'open'!
The screen saver is showing - but about 10 times normal size, with the result that we can't see or use the swipe action. We have tried re-booting (holding down start and home buttons, etc) but this does not resolve the problem. Looks like she may h
-
Hello! So I updated my PlayBook OS and it was working fine for a while, then suddenly the browser wont open any pages and all apps requiring wifi wont work. It says that I am connected to the internet and within range but nothing happens. I restored