ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00942: table or view does not exist on 12C RAC
Hi Geeks,
I have encountered an issue while starting up my database on 12c RAC.
Till mount it goes fine but when i attempt to open it throws me an error.
Total System Global Area 1.5400E+10 bytes
Fixed Size 4737560 bytes
Variable Size 2952791528 bytes
Database Buffers 1.2415E+10 bytes
Redo Buffers 26857472 bytes
Database mounted.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00942: table or view does not exist
Process ID: 11338068
Session ID: 1429 Serial number: 3
Here is the trace file output...
ORACLE_HOME = /oracle_home/app/orahome
System name: AIX
Node name: INS1
Release: 1
Version: 7
Machine: 00C8CCA74C00
Instance name: INST1
Redo thread mounted by this instance: 1
Oracle process number: 7
Unix process pid: 20381876, image: oracle@ins1 (TNS V1-V3)
*** 2014-11-27 22:49:20.892
*** SESSION ID:(197.5) 2014-11-27 22:49:20.892
*** CLIENT ID:() 2014-11-27 22:49:20.892
*** SERVICE NAME:() 2014-11-27 22:49:20.892
*** MODULE NAME:(sqlplus@ins1 (TNS V1-V3)) 2014-11-27 22:49:20.892
*** ACTION NAME:() 2014-11-27 22:49:20.892
2014-11-27 22:49:20.889716 : Start recovery for domain=0, valid=0, flags=0x4
*** 2014-11-27 22:49:24.580
Successfully allocated 32 recovery slaves
Using 3 overflow buffers per recovery slave
*** 2014-11-27 22:49:24.740
Thread 1 checkpoint: logseq 15, block 2, scn 3510749
cache-low rba: logseq 15, block 3
on-disk rba: logseq 15, block 72, scn 3510824
start recovery at logseq 15, block 3, scn 0
*** 2014-11-27 22:49:24.981
Started resilvering redo thread 1 seq 15 blocks 72-73
*** 2014-11-27 22:49:24.994
Completed resilvering redo thread 1 seq 15
*** 2014-11-27 22:49:24.994
Started writing zeroblks thread 1 seq 15 blocks 74-81
*** 2014-11-27 22:49:24.994
Completed writing zeroblks thread 1 seq 15
==== Redo read statistics for thread 1 ====
Total physical reads (from disk and memory): 4096Kb
-- Redo read_disk statistics --
Read rate (ASYNC): 35Kb in 0.25s => 0.14 Mb/sec
Longest record: 0Kb, moves: 0/104 (0%)
Longest LWN: 2Kb, moves: 0/33 (0%), moved: 0Mb
Last redo scn: 0x0000.0035922b (3510827)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 262144
Longest hash chain = 1
Average hash chain = 25/25 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 151/176 = 0.9
*** 2014-11-27 22:49:25.007
KCRA: start recovery claims for 25 data blocks
*** 2014-11-27 22:49:25.039
KCRA: blocks processed = 25/25, claimed = 25, eliminated = 0
*** 2014-11-27 22:49:25.054
Recovery of Online Redo Log: Thread 1 Group 6 Seq 15 Reading mem 0
*** 2014-11-27 22:49:25.060
Completed redo application of 0.02MB
*** 2014-11-27 22:49:25.235
Completed recovery checkpoint
----- Recovery Hash Table Statistics ---------
Hash table buckets = 262144
Longest hash chain = 1
Average hash chain = 25/25 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 176/176 = 1.0
Recovery sets nab of thread 1 seq 15 to 74 with 8 zeroblks
*** 2014-11-27 22:49:26.000
2014-11-27 22:49:26.000433 : Validate domain 0
2014-11-27 22:49:26.001348 : Validated domain 0, flags = 0x0
*** 2014-11-27 22:49:28.315
Count of ofsmtab$: 0 entries
*** 2014-11-27 22:49:28.732
ORA-00942: table or view does not exist
ORA-00942: table or view does not exist
*** 2014-11-27 22:49:28.738
USER (ospid: 20381876): terminating the instance due to error 942
In my case the issue has fixed by executing the following..
grant SELECT on SYS.USER$ to XDB;
grant SELECT on SYS.USER$ to CTXSYS;
grant SELECT on SYS.USER$ to DVSYS;
grant SELECT on SYS.USER$ to LBACSYS;
grant SELECT on SYS.USER$ to APEX_040200;
grant SELECT on SYS.USER$ to DV_SECANALYST;
Refer the above screen shot...
Similar Messages
-
ORA-01092: ORACLE instance terminated Disconnection forced on standby
Hi,
I have following scenario.
I have setup dataguard in which Primary and standby are of diffrent oracle releases.
PRimary database : 10.2.0.1.0
Stand by : 10.2.0.4.0
Primary database - Windows 2000
Standby : Windows -2008
I have sync both database in mount mode.
But when I tried to open stand by database it is giving below error.
ORA-01092: ORACLE instance terminated Disconnection forced on standby
Thanks and Regards
NilayHi Thanks for the help
Here is my alert log Content.
Tue Aug 17 00:52:36 2010
Errors in file e:\oracle\product\10.2.0\admin\rage4\bdump\rage4_psp0_6908.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 6776
ORA-1092 signalled during: ALTER DATABASE OPEN...
Tue Aug 17 01:40:16 2010
Shutting down instance (abort)
Tue Aug 17 01:40:17 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 146800640
__large_pool_size = 4194304
__java_pool_size = 8388608
__streams_pool_size = 0
sga_target = 612368384
control_files = E:\ORACLE\PRODUCT\10.2.0\ORADATA\RAGE4\STANDCTL.CTL
db_block_size = 8192
__db_cache_size = 444596224
compatible = 10.2.0.1.0
remote_archive_enable = TRUE
log_archive_dest_2 = LOCATION=E:\oracle\product\10.2.0\sbylogs
standby_archive_dest = LOCATION=E:\oracle\product\10.2.0\sbylogs
log_archive_format = Rage4db_%t_%s_%r.arc
db_file_multiblock_read_count= 16
db_recovery_file_dest_size= 32212254720
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=RAGE4XDB)
job_queue_processes = 10
audit_file_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\RAGE4\ADUMP
background_dump_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\RAGE4\BDUMP
user_dump_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\RAGE4\UDUMP
core_dump_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\RAGE4\CDUMP
db_name = RAGE4
open_cursors = 5000
pga_aggregate_target = 203423744
Deprecated system parameters with specified values:
remote_archive_enable
End of deprecated system parameter listing
PMON started with pid=2, OS id=6716
PSP0 started with pid=3, OS id=6528
MMAN started with pid=4, OS id=7140
DBW0 started with pid=5, OS id=7044
LGWR started with pid=6, OS id=6236
CKPT started with pid=7, OS id=5592
SMON started with pid=8, OS id=6292
RECO started with pid=9, OS id=7144
CJQ0 started with pid=10, OS id=1516
MMON started with pid=11, OS id=6988
Tue Aug 17 01:40:19 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Tue Aug 17 01:40:19 2010
starting up 1 shared server(s) ...
MMNL started with pid=12, OS id=7032
Tue Aug 17 01:40:20 2010
ALTER DATABASE MOUNT
Tue Aug 17 01:40:24 2010
Setting recovery target incarnation to 1
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=16, OS id=6432
Tue Aug 17 01:40:24 2010
ARC0: Archival started
Tue Aug 17 01:40:24 2010
ARC1: Archival started
ARCH: STARTING ARCH PROCESSES COMPLETE
Tue Aug 17 01:40:24 2010
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC0: Thread not mounted
Tue Aug 17 01:40:24 2010
Successful mount of redo thread 1, with mount id 790844036
Tue Aug 17 01:40:24 2010
Physical Standby Database mounted.
Completed: ALTER DATABASE MOUNT
ARC1 started with pid=17, OS id=4876
Tue Aug 17 01:40:25 2010
ARC1: Becoming the heartbeat ARCH
Tue Aug 17 01:40:26 2010
ALTER DATABASE OPEN
Tue Aug 17 01:40:26 2010
SMON: enabling cache recovery
Tue Aug 17 01:40:26 2010
Errors in file e:\oracle\product\10.2.0\admin\rage4\udump\rage4_ora_6588.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Tue Aug 17 01:40:26 2010
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Tue Aug 17 01:40:26 2010
Errors in file e:\oracle\product\10.2.0\admin\rage4\bdump\rage4_pmon_6716.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 6588
ORA-1092 signalled during: ALTER DATABASE OPEN...
Thanks and Regards
Nilay -
Oracle 10g rac ora-01092 oracle instance terminated disconnection forced
hi
I am getting following error on 2 node RAC (on NFS mount point )
oracle 10g rac ora-01092 oracle instance terminated disconnection forced
br
anuj singhAnju,
Its really very difficult to tell you what exactly went wrong with the limited information given by you. Did you check the alert log and other cluster (crsd and cssd ) logs? If not, I would strongly recommend you to pay attention to these logs for any clue.
Jaffar -
Database startup showing ORA-00942: table or view does not exist in trace
Hi Friends,
SunOS 5.10 Generic_137112-06 i86pc i386 i86pc , 64 Bit
Oracle 10.2.0.1.0
While I am doing a startup, getting following error.
SQL> startup;
ORACLE instance started.
Total System Global Area 3221225472 bytes
Fixed Size 2122544 bytes
Variable Size 410819792 bytes
Database Buffers 2801795072 bytes
Redo Buffers 6488064 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forcedThe alert log shows the following
Errors in file /applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc:
ORA-00942: table or view does not exist
Error 942 happened during db open, shutting down database
USER: terminating instance due to error 942
Instance terminated by USER, pid = 11486
ORA-1092 signalled during: ALTER DATABASE OPEN...A look at the trace file shows this
/applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /applns/oracle
System name: SunOS
Node name: N890
Release: 5.10
Version: Generic_137112-06
Machine: i86pc
Instance name: CTSD1
Redo thread mounted by this instance: 1
Oracle process number: 23
Unix process pid: 11486, image: oracle@N890 (TNS V1-V3)
*** SERVICE NAME:() 2011-02-16 19:24:50.188
*** SESSION ID:(325.3) 2011-02-16 19:24:50.188
Successfully allocated 3 recovery slaves
Using 367 overflow buffers per recovery slave
Thread 1 checkpoint: logseq 45929, block 2, scn 310788795>cache-low rba: logseq 45929, block 3
>on-disk rba: logseq 45929, block 52, scn 310788832
>start recovery at logseq 45929, block 3, scn 0
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 24Kb in 0.31s => 0.08 Mb/sec
Total physical reads: 4096Kb
Longest record: 0Kb, moves: 0/61 (0%)
Longest LWN: 16Kb, moves: 0/3 (0%), moved: 0Mb
Last redo scn: 0x0000.128642df (310788831)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 4/4 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 117/121 = 1.0
*** 2011-02-16 19:24:50.515
KCRA: start recovery claims for 4 data blocks
*** 2011-02-16 19:24:50.515
KCRA: blocks processed = 4/4, claimed = 4, eliminated = 0
*** 2011-02-16 19:24:50.516
Recovery of Online Redo Log: Thread 1 Group 1 Seq 45929 Reading mem 0
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 4/4 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 121/121 = 1.0
ORA-00942: table or view does not existI have searched MOS and Google, but didn;'t get any relevant results.
Also flushed my shared_pool as mentioned in (http://www.tanelpoder.com/files/oracle_rowcache.pdf) after mount and started , still no luck
Any help is appreciated
Thanks
SSNHi,
Thanks.
Tried log mining, but still couldn't find the culprit. I think now, I have to drop and create this db.Still wondering what might have happened.
select group#,status from v$log;
GROUP# STATUS
1 INACTIVE
3 INACTIVE
2 CURRENT
SQL> select group#,MEMBER from v$logfile where group#=2;
GROUP#
MEMBER
2
/applns/oracle/oradata/CTSD1/redo02.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo02.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> select group#,MEMBER from v$logfile where group#=1;
GROUP#
MEMBER
1
/applns/oracle/oradata/CTSD1/redo01.log
1
/applns/oracle/oradata/CTSD1/redolog001.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo01.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redolog001.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> select group#,MEMBER from v$logfile where group#=3
GROUP#
MEMBER
3
/applns/oracle/oradata/CTSD1/redo03.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo03.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.SSN -
Error rendering element. Exception: ORA-00942: table or view does not exist
Guru,
We are maintaining 10 internal Database through OEM 10g and using seesded reports.
When we try to create simple custom reports against one of the Target database , its failing with following error message ,
Query : select * from v$database
Error rendering element.
Exception: ORA-00942: table or view does not exist
select * from dual & v$session working ( But query execution happeniing from Reposistory Database not from Target instance )
Note:
I have reviewed thred "getting ORA-00942 while running report in GC"
Please give some light .
Regards,
RajuThis is an EM related question so I would suggest you post in the appropriate space "Enterprise Manager" -- https://forums.oracle.com/community/developer/english/enterprise_management/enterprise_manager/enterprise_manager_6
You may also review (In Grid Control 10.2, Creating a Report to Query 'V$SESSION 'Fails: 'Error Rendering Element. Exception: ORA-00942 Table Or View Does Not Exist' (Doc ID 356755.1)) and implement the solution for v$database
Thanks,
Hussein -
NQSError: 17001 ORA-00942: table or view does not exist
Hello everyone,
we are experiencing problems in managing a single repository across different BI installations.
We have two BI installation that uses two different databases: PRODUCTION and TESTING.
We create analysys & reports in testing environment and if everything works as expected we migrate repository and analysys to the production server.
These 2 databases have the same tables, the same tablespaces. The only difference between them is IP address of the server, name of the instance and tables owner.
We create a repository using "BI Administration Tool" in testing server end everything works as expected.
Now we need to migrate this repository to the production environment importing .rpd in the second BI server pointing this repository from TESTING database to PRODUCTION database.
From "BI Administration Tool" we change tables owner username and password for rpd according to the values of PRODUCTION database then we import repository in production BI server.
If we create analysis using views from single fact tables everything works as expected but if we try to correlate views from different fact tables BI gives us:
*[nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)*
Can someone give us any suggestion about this??
It's possible to create and then migrate repositoryes across different instances?
Thank you in advance for any reply.
Regards.Hi there,
You should be able to build the RPD on a development server and then migrate through to production. It's interesting that it works for a single fact.
Have you tried turning logging on for the user and validating the SQL being produced? Does it run against your production database through a query editor?
Perhaps the production and test databases are different in a subtle way?
Regards,
James -
YTD, QTD and Year grain metrics = ORA-00942: table or view does not exist
Hi everyone,
I'm having a weird issue. I've got some GL data that I want to report on in three different grains: Quarter To Date, Year To Date and Entire Year. For the first two measures, I've setup a time dimension and I'm using the ToDate function. Works perfectly. For the third measure, I select the SUM aggregation and then in the Levels Tab, I go to my time dimension and set the logical level to "Year".
Each measure reports correctly by itself, however, when I join in the three in one report, the who thing blows up on me and gives me an ORA message:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
When I only do two of the measures (any two), the report works fine. But it's when I add that third measure in, I get myself in trouble. Additionally, I checked the log file and the report never gets to the point where it generates a physical query. It's only creating a logical query and then it doesn't save the physical query anywhere.
Can anyone explain what the problem is? Why don't these three measures behave well together? What can I do to force them to co-operate?
It seems that the real culprit is the entire year measure. It only behaves well with 1 other measure, but once you get two additional measures, it causes the report to get the ORA error.
Thanks for any help you can give!
-JoeIt turns out I was incorrect that there were no physical queries being generated. They were there in the log files, they had so many SAWITH<number> clauses that I thought they were the logical query (i.e. saw_0, saw_1, etc).
Once I found the physical query, I ran it by hand and also got the table did not exist error. I added in WITH clause by with clause until I got the error to occur. After about an hour of digging, it turned out that a query using a full outer join (about 16 queries in) caused the table does not exist error. I'm not sure what it is about the full outer join that makes Oracle not see the table. When I get some free time I'll dig deeper into that issue.
But once I realized what was going on, I went into the DB connections and disabled FULL OUTER JOINs. No problem now.
Like I said, if I find what caused the original problem (i.e. what syntactically was incorrect about the FULL OUTER JOIN), I'll update this post.
-Joe -
ORA-00942: table or view does not exist
select
nvl(appr.APPROVER_NAME, org.APPROVER_NAME) as APPROVER_NAME,
nvl(appr.APPROVER, org.APPROVER) as APPROVER,
nvl(appr.APPROVER_TYPE, org.APPROVER_TYPE) as APPROVER_TYPE,
nvl(appr.ASSIGNED_DATE, org.ASSIGNED_DATE) as ASSIGNED_DATE,
nvl(appr.APPROVAL_DATE, '-') as APPROVAL_DATE,
nvl(appr.STATE, org.STATE) as STATE,
org.SEQ as numberoftimesmodified,
nvl(appr.PROCESS, org.PROCESS) as PROCESS,
appr.seq2
from (
select a.seq,
b.usr_display_name as APPROVER_NAME,
b.usr_login as APPROVER,
'User' as APPROVER_TYPE,
'-' as ASSIGNED_DATE,
'-' as STATE,
a.seq as numberoftimesmodified,
'-' as PROCESS
from(
SELECT 1 as seq, USR_UDF_MANAGER_LOGIN as GID, '' as approver_name, 'user' as approver_type FROM DEVT_OIM.USR WHERE USR_LOGIN =:BENEFICIARY_GID AND :APPLICATION = 'Oracle 11i On demand'
UNION
select rownum as seq, regexp_substr(:APPROVERPAYLOAD,'[^,]+', 1, level) as gid, '' as approver_name, 'user' as approver_type from dual
where :APPLICATION != 'Oracle 11i On demand'
connect by regexp_substr(:APPROVERPAYLOAD, '[^,]+', 1, level) is not null
) a
inner join DEVT_OIM.usr b on a.gid = b.usr_login
) org
left join(
select b.numberoftimesmodified as seq, rownum as seq2, a.*
from
select
LEAD(a.ASSIGNEES) OVER(ORDER BY a.numberoftimesmodified) as prev_gid,
LEAD(a.pushbacksequence) OVER(ORDER BY a.numberoftimesmodified) as prev_pushbacksequence,
a.ASSIGNEES as current_gid,
nvl(retrieveGidName(a.ASSIGNEES), '-') as APPROVER_NAME,
(DEVT_OIM.TOKNEW(REPLACE(a.ASSIGNEES, ',', ':'))) as APPROVER,
'User' as APPROVER_TYPE,
a.pushbacksequence,
TO_CHAR(a.assigneddate,'DD-Mon-YYYY HH:MI:SS AM') as ASSIGNED_DATE,
case when a.state = 'WITHDRAWN' then TO_CHAR(a.updateddate,'DD-Mon-YYYY HH:MI:SS AM') else TO_CHAR(d.updateddate,'DD-Mon-YYYY HH:MI:SS AM') end as APPROVAL_DATE,
a.numberoftimesmodified,
case when a.state = 'EXPIRED' then 'Expired' when a.approvalduration is null then 'Pending' when a.outcome = 'REJECT' then 'Rejected' else 'Approved' end as PROCESS,
d.state as process2,
case when d.substate = 'REASSIGNED' then 'Reassigned' when d.state = 'INFO_REQUESTED' then 'Request Info' when a.state = 'EXPIRED' then 'Expired'
when a.outcome = 'REJECT' then 'Rejected' when d.substate = 'INFO_SUBMITTED' then 'Submitted' when a.state = 'WITHDRAWN' then 'Withdrawn' when e.state is null then 'Pending' else 'Approved' end as state,
e.ASSIGNEES, d.substate
from WFTASKHISTORY a
left join WFTASKHISTORY d on d.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and d.numberoftimesmodified = (a.numberoftimesmodified+1)
left join WFTASKHISTORY e on e.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and e.numberoftimesmodified = (a.numberoftimesmodified-1) and e.ASSIGNEES = a.ASSIGNEES
where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY and a.state is not null
order by a.numberoftimesmodified
) a
inner join (select rownum as numberoftimesmodified, pushbacksequence from (select distinct pushbacksequence from WFTASKHISTORY a where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY order by pushbacksequence)) b
on b.pushbacksequence = a.pushbacksequence
where a.prev_gid != a.current_gid or prev_gid is null
order by a.numberoftimesmodified
) appr on org.seq = appr.seqORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist"
*Cause:
*Action:
Error at Line: 55 Column: 172Hi User,
The ORA - 00942 indicates that the Underlying object is not present in the Database.
Just Check whether the Table you are used in the Select statement exists in the user/Schema.
To check this..
SELECT *
FROM USER_TABLES
WHERE TABLE_NAME = 'YOUR_TABLE_NAME';Or
Simply,
SELECT *
FROM TAB;If you are using the Table from other Schema, Just give the table name like this..
SELECT *
FROM SCHEMA_USER.table_name;Thanks,
Shankar -
ORA-00942: table or view does not exist show in defaultTrace. n .trc
When i checked my portal backend trace file today, i saw lots of below error trace:
#1.5 #0003BA78185F00400000004400001DE90004464D1AF14829#1203196885279#com.sap.sql.jdbc.direct.DirectPreparedStatement#sap.com/irj#com.sap.sql.jdbc.direct.DirectPreparedStatement#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Database/sql/jdbc/direct#Java#com.sap.sql_0003##SQL error occurred on connection epprd:EPP:SAPSR3DB: code=942, state="42000", message="ORA-00942: table or view does not exist
SQL statement is "INSERT INTO "SAPEPPDB"."NAV_HASHEDURLS" ("HASHEDVALUE","URL") VALUES (?,?)".
[EXCEPTION]
#6#942#42000#ORA-00942: table or view does not exist
#epprd:EPP:SAPSR3DB#INSERT INTO "SAPEPPDB"."NAV_HASHEDURLS" ("HASHEDVALUE","URL") VALUES (?,?)#java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3315)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3399)
at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeUpdate(BasicPreparedStatement.java:103)
at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeUpdate(DirectPreparedStatement.java:325)
at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:252)
at com.sapportals.portal.navigation.HashingServicesDBHandler.insertHashedValue(HashingServicesDBHandler.java:258)
at com.sapportals.portal.navigation.HashingServices._addHashedValueToDB(HashingServices.java:242)
at com.sapportals.portal.navigation.HashingServices.getHashedValue(HashingServices.java:77)
at com.sapportals.portal.navigation.NavigationService.getNavigationNodeHashedName(NavigationService.java:1814)
at com.sapportals.portal.navigation.NavigationNode.getHashedName(NavigationNode.java:347)
at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodeToTree(DetailedNavigationTree.java:926)
at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodesToTree(DetailedNavigationTree.java:909)
at com.sapportals.portal.navigation.DetailedNavigationTree.addNavNodeChildrenToTree(DetailedNavigationTree.java:863)
at com.sapportals.portal.navigation.DetailedNavigationTree.doOnNodeReady(DetailedNavigationTree.java:369)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:177)
at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:410)
at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:233)
at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:635)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:815)
at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
#1.5 #0003BA78185F00400000004500001DE90004464D1AF14ECE#1203196885290#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###java.sql.SQLException: ORA-00942: table or view does not exist
#1.5 #0003BA78185F00400000004600001DE90004464D1AF15015#1203196885290#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)#
#1.5 #0003BA78185F00400000004700001DE90004464D1AF15123#1203196885291#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)#
#1.5 #0003BA78185F00400000004800001DE90004464D1AF15225#1203196885291#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)#
#1.5 #0003BA78185F00400000004900001DE90004464D1AF153BD#1203196885291#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)#
#1.5 #0003BA78185F00400000004A00001DE90004464D1AF154C8#1203196885292#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)#
#1.5 #0003BA78185F00400000004B00001DE90004464D1AF155D2#1203196885292#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)#
#1.5 #0003BA78185F00400000004C00001DE90004464D1AF156DC#1203196885292#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)#
#1.5 #0003BA78185F00400000004D00001DE90004464D1AF157E5#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3315)#
#1.5 #0003BA78185F00400000004E00001DE90004464D1AF1590A#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3399)#
#1.5 #0003BA78185F00400000004F00001DE90004464D1AF15A0F#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeUpdate(BasicPreparedStatement.java:103)#
#1.5 #0003BA78185F00400000005000001DE90004464D1AF15B33#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeUpdate(DirectPreparedStatement.java:325)#
#1.5 #0003BA78185F00400000005100001DE90004464D1AF15C3C#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:252)#
#1.5 #0003BA78185F00400000005200001DE90004464D1AF15D46#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.HashingServicesDBHandler.insertHashedValue(HashingServicesDBHandler.java:258)#
#1.5 #0003BA78185F00400000005300001DE90004464D1AF15E4F#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.HashingServices._addHashedValueToDB(HashingServices.java:242)#
#1.5 #0003BA78185F00400000005400001DE90004464D1AF15F55#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.HashingServices.getHashedValue(HashingServices.java:77)#
#1.5 #0003BA78185F00400000005500001DE90004464D1AF1605C#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.NavigationService.getNavigationNodeHashedName(NavigationService.java:1814)#
#1.5 #0003BA78185F00400000005600001DE90004464D1AF16167#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.NavigationNode.getHashedName(NavigationNode.java:347)#
#1.5 #0003BA78185F00400000005700001DE90004464D1AF16275#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodeToTree(DetailedNavigationTree.java:926)#
#1.5 #0003BA78185F00400000005800001DE90004464D1AF16381#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodesToTree(DetailedNavigationTree.java:909)#
#1.5 #0003BA78185F00400000005900001DE90004464D1AF1648E#1203196885296#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.DetailedNavigationTree.addNavNodeChildrenToTree(DetailedNavigationTree.java:863)#
#1.5 #0003BA78185F00400000005A00001DE90004464D1AF16597#1203196885296#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.navigation.DetailedNavigationTree.doOnNodeReady(DetailedNavigationTree.java:369)#
#1.5 #0003BA78185F00400000005B00001DE90004464D1AF1669E#1203196885296#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)#
#1.5 #0003BA78185F00400000005C00001DE90004464D1AF167A7#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)#
#1.5 #0003BA78185F00400000005D00001DE90004464D1AF168AB#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)#
#1.5 #0003BA78185F00400000005E00001DE90004464D1AF169AF#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)#
#1.5 #0003BA78185F00400000005F00001DE90004464D1AF16AB3#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:177)#
#1.5 #0003BA78185F00400000006000001DE90004464D1AF16BB8#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:410)#
#1.5 #0003BA78185F00400000006100001DE90004464D1AF16CBB#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:233)#
#1.5 #0003BA78185F00400000006200001DE90004464D1AF16E30#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:635)#
#1.5 #0003BA78185F00400000006300001DE90004464D1AF16F39#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)#
#1.5 #0003BA78185F00400000006400001DE90004464D1AF17043#1203196885299#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:815)#
#1.5 #0003BA78185F00400000006500001DE90004464D1AF17148#1203196885299#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)#
#1.5 #0003BA78185F00400000006600001DE90004464D1AF1724F#1203196885299#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)#
#1.5 #0003BA78185F00400000006700001DE90004464D1AF173B2#1203196885300#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)#
#1.5 #0003BA78185F00400000006800001DE90004464D1AF1762B#1203196885300#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)#
#1.5 #0003BA78185F00400000006900001DE90004464D1AF17754#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)#
#1.5 #0003BA78185F00400000006A00001DE90004464D1AF17868#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)#
#1.5 #0003BA78185F00400000006B00001DE90004464D1AF17976#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)#
#1.5 #0003BA78185F00400000006C00001DE90004464D1AF17A78#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at java.security.AccessController.doPrivileged(Native Method)#
#1.5 #0003BA78185F00400000006D00001DE90004464D1AF17B7D#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)#
#1.5 #0003BA78185F00400000006E00001DE90004464D1AF17C81#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
#1.5 #0003BA78185F00400000006F00001DE90004464D1AF17D85#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)#
#1.5 #0003BA78185F00400000007000001DE90004464D1AF17E8F#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
#1.5 #0003BA78185F00400000007100001DE90004464D1AF17F92#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)#
#1.5 #0003BA78185F00400000007200001DE90004464D1AF1809A#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)#
#1.5 #0003BA78185F00400000007300001DE90004464D1AF181A4#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)#
#1.5 #0003BA78185F00400000007400001DE90004464D1AF182AD#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)#
#1.5 #0003BA78185F00400000007500001DE90004464D1AF183B3#1203196885304#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)#
#1.5 #0003BA78185F00400000007600001DE90004464D1AF184BB#1203196885304#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)#
#1.5 #0003BA78185F00400000007700001DE90004464D1AF185C1#1203196885304#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)#
#1.5 #0003BA78185F00400000007800001DE90004464D1AF186C6#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)#
#1.5 #0003BA78185F00400000007900001DE90004464D1AF187CE#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)#
#1.5 #0003BA78185F00400000007A00001DE90004464D1AF188DE#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)#
#1.5 #0003BA78185F00400000007B00001DE90004464D1AF18AAC#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)#
#1.5 #0003BA78185F00400000007C00001DE90004464D1AF18BB4#1203196885306#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at java.security.AccessController.doPrivileged(Native Method)#
#1.5 #0003BA78185F00400000007D00001DE90004464D1AF18CB7#1203196885306#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)#
#1.5 #0003BA78185F00400000007E00001DE90004464D1AF18DBB#1203196885306#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain### at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)#
It seems system try to insert record into table NAV_HASHEDURLS, this table belong to scheme SAPSR3DB, not SAPEPPDB, i don't know why this happens, any experts know how to change it and where it come from. I have another EP, don't have above error.
ThanksThis is a bug, see note Note 1140239 - Navigation short Urls aren't seen in short urls monitor
-
Not able to create EM repository - ORA-00942: table or view does not exist
-bash-3.00$ emca -config dbcontrol db -repos recreate
STARTED EMCA at 2010-06-02 12:12:29
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: eric1
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ /oracle/product/10.2.0/db_1
Database hostname ................ solx
Listener port number ................ 1521
Database SID ................ eric1
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: Y
2010-06-02 12:12:52 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log.
2010-06-02 12:13:02 oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /oracle/product/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=solx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=eric1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_2010-06-02_12-13-02-PM.log
2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_<date>.log for more details.
2010-06-02 12:13:05 oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log for more details.
Could not complete the configuration. Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log for more details.So I looked into a log file: /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log
Here is an end of it ( I can paste all log file if necessary but it is very long):
CONFIG: Starting execution: /oracle/product/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=solx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=eric1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_2010-06-02_12-13-02-PM.log
2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 51
2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Enter SYS user's password :
Enter repository user password :
Getting temporary tablespace from database...
prepare(SELECT tablespace_name FROM dba_tablespaces WHERE contents='TEMPORARY' AND status='ONLINE'): ORA-00942: table or view does not exist (DBD ERROR: error possibly near <*> indicator at char 28 in 'SELECT tablespace_name FROM <*>dba_tablespaces WHERE contents='TEMPORARY' AND status='ONLINE'')
2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: stty: : No such device or address
stty: : No such device or address
stty: : No such device or address
stty: : No such device or address
2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /oracle/product/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=solx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=eric1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_2010-06-02_12-13-02-PM.log
2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_<date>.log for more details.
2010-06-02 12:13:05 oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log for more details.
2010-06-02 12:13:05 oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:176)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:127)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)...and here I can easly see that error: ORA-00942: table or view does not exist.
But what does it mean to me ? I mean what should I ro to create/recreate missing table or view ?Hi, so here are my tries:
1. admin:
Below Dirs dont not exist:
<ORACLE_HOME>/<hostname_sid>
<ORACLE_HOME>/oc4j/j2ee/OC4J_DBConsole_<hostname>_<sid>
...also it was unable to drop user - does not exist
-bash-3.00$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 2 12:55:44 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Release 10.2.0.2.0 - Production
SQL> sqlplus "/as sysdba"
drop user sysman cascade;
drop role MGMT_USER;
drop user MGMT_VIEW cascade;
drop public synonym MGMT_TARGET_BLACKOUTS;
drop public synonym SETEMVIEWUSERCONTEXT;
SP2-0734: unknown command beginning "sqlplus "/..." - rest of line ignored.
SQL> drop user sysman cascade
ERROR at line 1:
ORA-01918: user 'SYSMAN' does not exist
SQL> drop role MGMT_USER
ERROR at line 1:
ORA-01919: role 'MGMT_USER' does not exist
SQL> drop user MGMT_VIEW cascade
ERROR at line 1:
ORA-01918: user 'MGMT_VIEW' does not exist
SQL> drop public synonym MGMT_TARGET_BLACKOUTS
ERROR at line 1:
ORA-01432: public synonym to be dropped does not exist
SQL> drop public synonym SETEMVIEWUSERCONTEXT
ERROR at line 1:
ORA-01432: public synonym to be dropped does not exist
{code}
I also tried this:
2. coskan
{code}
-bash-3.00$ sqlplus sys/qaz123@eric1 as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 2 12:51:34 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Release 10.2.0.2.0 - Production
SQL> SELECT tablespace_name FROM dba_tablespaces WHERE contents='TEMPORARY' AND status='ONLINE';
SELECT tablespace_name FROM dba_tablespaces WHERE contents='TEMPORARY' AND status='ONLINE'
ERROR at line 1:
ORA-00942: table or view does not exist
{code} -
HI ,
we are facing below issue while activating info object xxxxxxxx
" SQL Error: ORA-00942: table or view does not exist " and " CX_RS_SQL_ERROR "
can any one help us out to resolve this issue.
Thanks,
EDK......Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
Error while deploying map: ORA-00942 Table or view does not exist
Hi OWB experts,
I'm having yet another problem with OWB, this time when I try to deploy a mapping I get this error:
ORA-06550: line 59, column 3:
PL/SQL: ORA-00942: table or view does not exist
DIM_01_ESTCON_MAP
ORA-06550: line 93, column 3:
PL/SQL: SQL Statement ignored
If I open the package that OWB created I see the errors:
CURSOR "DEDUP_SRC_0_IN2_c" IS
SELECT
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_ID" "ESTADOCONEXION_ID",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_COD_ESTCON" "ESTADOCONEXION_COD_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_DESC_ESTCON" "ESTADOCONEXION_DESC_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."STANDARD_TOTAL_COD_TTL" "STANDARD_TOTAL_COD_TTL"
FROM
(SELECT
DISTINCT
"DIM_01_ESTCON_MAP"."GET_CONST_CA_0_ESTADOCO" "ESTADOCONEXION_ID",
"ESTADOS"."ESTADO" "ESTADOCONEXION_COD_ESTCON",
"ESTADOS"."DESC_EST" "ESTADOCONEXION_DESC_ESTCON",
"DIM_01_ESTCON_MAP"."GET_TOTAL_C_0_TTLID" "STANDARD_TOTAL_COD_TTL"
FROM
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
WHERE
( estado LIKE 'EC%' )) "DEDUP_INPUT_SUBQUERY2$1";
Where AYADEV_LOCATION points to the module/schema/location where my source data is.
Now, I have defined three modules:
SOURCE, where I defined the tables and other objects from the original database (source data)
STAGE, where I am performing all the transformations; here I defined all the maps
TARGET, this holds the dimensions and fact tables.
Now all three modules point to different databases. The dblink for AYADEV_LOCATION has been created and shouldn't present any problems. The username that I'm using to log on to the source database is current and I can connect to it through SQL+ or any other program (TOAD, SQLDeveloper).
What could be happening here? I'm using OWB 10g R2, with Oracle DB 10g R2.
I'd really appreciate any help you could provide.
Best Regards,
--Osvaldo
[osantos]Hi,
I'm still having problems but I found out why these tables are returning errors. The username I've been given by the DBA to connect to the database is CONSULTA, but this user is only for querying purposes, the actual objects reside on a differente schema, of course, which is PROD. So the line:
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
raises an exception because the table ESTADOS is not located on that schema, but on PROD. If I query the table from SQL Plus with:
SELECT *
FROM [email protected]@AYADEV_LOCATION
then there's no problem at all.
Why is this? How do I instruct OWB to point to the correct schema or to avoind fully qualifying the table name?
Please help me, I'm kind of confused here.
Best Regards,
--oswaldo.
[osantos] -
Why APEX 4.1 Error handling function does not trap the error of missing table?
Say, I create simple application with single IR report page and I also assign standard simple error handling function.
Function works perfectly, except but this case:
If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
and error handling function is not invoked at all.
Is this a feature or a bug?Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
10gLiteR3 publishing ORA-00942: table or view does not exist error
Hi All,
I am encountering table or view does not exist error while publishing using the api.
Below is the code:
try {
consolidatorManager.openConnection("MOBILEADMIN","PASSWORD", ADMIN_JDBC_URL);
mobileResourceManager = new MobileResourceManager("MOBILEADMIN","PASSWORD",ADMIN_JDBC_URL);
consolidatorManager.createPublicationItem(EXT_CONN, "RMT_TEST_TABLE" , "MOBILEADMIN","RMT_TEST_TABLE", "F", "SELECT * FROM MOBILEADMIN.RMT_TEST_TABLE", null, null);
consolidatorManager.addPublicationItem(mobileResourceManager.getPublication("/mobileApp"),"RMT_TEST_TABLE",null, null, "S", null, null);
} catch (Exception e) {
e.printStackTrace();
When I execute the above code it does not throw any exceptions but I see the below error in err.log. I,U,D triggers are getting created on the remote table, CMP, CFM, CVR,CLG tables are also created, I also see primary key for this table in VPKS. Publishing seems to be fine but I see the below error in err.log.
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:651)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2117)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2331)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:366)
at oracle.lite.sync.Subscription.getVirtualTablePrimaryKey(Subscription.java:7522)
at oracle.lite.sync.Subscription.getTablePrimaryKey(Subscription.java:7365)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2334)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2157)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2129)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2108)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2093)
at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2079)
at oracle.lite.sync.ConsolidatorManager.createPublicationItem(ConsolidatorManager.java:1253)
I am not able to figure out what table it is looking for. Any ideas why this is happening?check the MGP compose process, is it also showing the error?
If it is them at some point in 10.2 Oracle introduced a 'feature' (ie: bug) that causes problems to the housekeeping routines when new versions of publication items are published
In 10.0 and early 10.2 when making changes to publication items VIEWS called CPV$.. were created to log the column list for each version of a publication item, and check if you are making changes when you publish. In the case of old versions, once all clients have synchronised and been moved to the latest version it tries to delete this view.
at some point the publish started creating TABLES instead of views (but using the same naming convention ie: CPV$..). This works fine as far as the logging of changes and old column lists, but the housekeeping called at the end of the publish and GP process still trieds to do a DROP VIEW and this causes the error.
The only way of clearing this i have found is to look at the log file to get the name of the object that it is trying to drop, set up a view script to create a dummy view with the list of columns in the table, drop the table and then create the view. It then gets dropped on the next MGP cycle and the error goes away
If the error is not showing up in the MGP process, only in the publish, and your changes appear to be publishing OK, then the problem is likely to be with a snapshot definition AFTER the change you have made - real pain to identify on re-publish - possibly missing schema name in the snapshot definition -
TimesTen In-Memory Database -ORA-00942: table or view does not exist rc = -1
Hi Chris,
This is wrt the thread : Unable to create CacheGroup.
I have configured Oracle_DB[11.2.0.3.0] for timesten, installed timesten[11.2.2.7.0], configured cache_DB.
So the Oracle database has user TIMESTEN(cache user) and TTENADMIN(cache admin user). Similarly the Cache Database has same TTENADMIN(cache manager user) and FNETLUO1(cache table user)
But while configuring the cache database following error occurred:
connect "dsn=my_cachedb;uid=TTENADMIN;oraclepwd=ttenadmin";
Enter password for 'TTENADMIN':
Connection successful: DSN=my_cachedb;UID=TTENADMIN;DataStore=/opt/IBM/TimesTen/tten_database/my_cachedb;DatabaseCharacterSet=WE8ISO8859P15;ConnectionCharacterSet=US7ASCII;DRIVER=/opt/IBM/TimesTen/tt11204FTP/lib/libtten.so;LogDir=/opt/IBM/TimesTen/tten_database/logs;PermSize=40;TempSize=32;TypeMode=0;OracleNetServiceName=PSFTDEV2;
(Default setting AutoCommit=1)
con1: Command>call ttcacheuidpwdset ('TTENADMIN','ttenadmin');
5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1
5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11204FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,...
5025: Commit failure in Oracle. Transaction must be rolled back in TimesTen.
The command failed.
Please advise how we can solve this?Hi
Just for additional information:
ttAdmin -cacheUidPwdSet -cacheUid TTENADMIN -cachePwd ttenadmin my_cachedb
*** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1 -- file "bdbConfig.c", lineno 2324, procedure "oraExecDirect()"
*** ODBC Error = S1000, TimesTen Error = 5221
*** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11203FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,... -- file "bdbConfig.c", lineno 2353, procedure "oraExecDirect()"
*** ODBC Error = S1000, TimesTen Error = 5130
But i can see that at backend two new tables are created for TTENADMIN(cache admin):
TTENADMIN.TT_06_DATABASES and TTENADMIN.TT_06_DB_PARAMS
with columns, indexes but no records/data.
Maybe you are looking for
-
Since updating on iOS 7, Siri sounds really bad (like a computer voice). On other iPhones Siri sounds clear and natural. What's wrong with my iPhone 5?
-
On 3rd replacement! help with ongoing issues
I am desperate! I got my first 3gs in May and by July I took it to a Genius Bar becuase of battery issues. They replaced it immediately. That phone worked fine at first then it started to freeze. It would turn off randomly and I wouldn't be able to g
-
Is There a Bug in pdk-html:checkbox .... ?
I am attempting to use the <pdk-html:checkbox ....> tag and cannot get it to work. When the user presses the Submit button and my code processes the checkbox the checkbox does not reflect that the user checked it. The code I wrote in the .jsp is: <pd
-
Multifunction Printers - Please reply with your opinons
My wife and I are looking to buy a Brother MFC-820CW. Does anyone have one of these? If so, what's your opinion of it? Can it in fact print to fax, and receive a fax straight to a computer with out printing it and then scanning it? Also, can the scan
-
Debug in Visual Studio 2005 (vs8) ?
I try debug my application using Visual Studio 2005 but i request this error: "unhandle exeption at xxx (msvcr8d.dll)". This application in Release mode it's ok. This application in VS7 it's ok in DEBUG and RELEASE mode. why i can debug in visual stu