Healthcare of Adapter Installation SQLException error: ORA-00942

Hello

While trying to install healthcare SOA in the environment of Windows, ORA-00942 error development.

does anyone know what measures is not installed correctly?

Thank you verymuch!

Oracle_SOA1\bin > Ant, Ant - f-soahc - postinstall.xm

createView:

replaceSqlScript:

[sql] Execution of resources: C:\Oracle\Middleware\Oracle_SOA1\soa\thirdparty\healthcare\b2b_mv.sql

[sql] Cannot run: CREATE MATERIALIZED VIEW LOG ON b2b_business_message WITH ROWID, SEQUENCE (ext_business_message, channel_name, say

ction, created, native_msg_size, doctype_name, doc_protocol_version, doc_protocol_name) including the NEW VALUES

BUILD FAILED

C:\Oracle\Middleware\Oracle_SOA1\bin\ant-soahc-postinstall.XML:92: The following error occurred during the execution of this line:

C:\Oracle\Middleware\Oracle_SOA1\bin\ant-soahc-postinstall.XML:314: java.sql.SQLSyntaxErrorException: ORA-00942: Table or view does not exist

I solved this problem, here is the right configuration, the wrong selection of SOA scheme Username will lead to be the above error.

setProps:

[entry] Enter wls - username: [weblogic]

WebLogic

[entry] Enter wls - password:

[entry] Enter wls - hostname: [localhost]

localhost

[entry] Enter wls-admin-port: [7001]

7001

[entry] Enter the wls managed port: [8001]

8001

[entry] Enter wls-admin-server-name: [AdminServer]

AdminServer

[entry] Enter wls-managed - server name: [soa_server1]

soa_server1

[entry] Enter wls-platform. Enter one of the following numbers: ([linux64] linux32)

, win64, win32, ia64-HP-UX, solaris-sparc32, sparc64 solaris, aix-powerpc64, sola

LAUGH - ix86_64)

Win32

[entry] Enter the type of db: ([oracle], oracleEbr)

Oracle

[entry] Enter the db url: [jdbc:oracle:thin:@localhost:1521:orcl]

JDBC:Oracle:thin:@localhost:1521:ORCL

[entry] Enter user name of schema SOA:

DEV_SOAINFRA

[entry] Enter password schema SOA:

ORCL

Tags: Fusion Middleware

Similar Questions

  • error ORA-00942 table or view does not gv$ session s, v$ sql

    Hello

    I used it after request for package gives error ORA-00942 table or view does not exist but I run same query in sql plsql developer command run successfully.

    SELECT sid, serial #.
    in V_SID, V_SERIAL
    GV $ session s, v$ sql v
    WHERE username = "USER1".
    and s.SQL_ID = v.SQL_ID


    Kind regards
    Vaibhav
    grant select on gv_$session to ;
    grant select on v_$sql to ;
    

    Note If you are using GV$ SESSION then you must also use GV$ SQL and join with INST_ID column select.

  • 30002 error/ORA-00942 table or view does not exist

    Hello

    We are running on a Windows 2008 R2 machine RoboServer 9 with Tomcat 7. The database, that we strive to connect is an Oracle 11 g on a Linux x86_64 host server. I connect using the Oracle through ODBC drivers. When I click "test connection" of the ODBC Administrator or application configuration, I get the message 'successful connection '. That is the problem.

    When you try to run our reports, especially "Frequently consulted CSH" or "Frequently viewed Topics", we get the following error.

    Error..JPG

    Check the localhost.log in Tomcat, we get this:

    Journal of the org.apache.catalina.core.ApplicationContext 10:37:41 28 March 2013

    SEVERE: java.sql.SQLException: [Oracle] [ODBC] [Ora] ORA-00942: table or view does not exist

    java.sql.SQLException: [Oracle] [ODBC] [Ora] ORA-00942: table or view does not exist

    at sun.jdbc.odbc.JdbcOdbc.createSQLException (unknown Source)

    at sun.jdbc.odbc.JdbcOdbc.standardError (unknown Source)

    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcStatement.execute (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery (unknown Source)

    at adobe.robohelp.server.FlexReports.AreasReqHelpReport.SetData(AreasReqHelpReport.java:84)

    at adobe.robohelp.server.FlexReports.Report.ProcessReport(Report.java:295)

    at adobe.robohelp.server.ReportManager.doCommand(ReportManager.java:395)

    at adobe.robohelp.server.RoboHelpServer.doGet(RoboHelpServer.java:144)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

    at org.apache.coyote.http11.Http11Protocol$ Http11ConnectionHandler.process (Http11Protocol.ja goes: 602)

    to org.apache.tomcat.util.net.JIoEndpoint$ Worker.run (JIoEndpoint.java:489)

    at java.lang.Thread.run (unknown Source)

    Looks like all tables exist in the database - this is what we have:

    TEST:

    ROBOTST4 > select object_name from dba_objects where type_objet = 'TABLE' and owner = 'MCVICKER;

    OBJECT_NAME

    --------------------------------------------------------------------------------

    TACTIONTYPE

    TERRORTYPE

    THELPPROJECT

    THELPSPACEERROR

    TUSER

    TPROBLEM

    TSOLUTIONACTION

    THELPTOPICS

    TUSERPREFS

    TSETTING

    TSESSION

    TACCESSTYPE

    TROBOGROUPS

    TROBOUSER

    TROBOUSERGROUPS

    TLDAPUSERGROUPS

    TGROUPPERMISSIONS

    TLDAPGROUPS

    TCOMMENTS

    TDELETEDCOMMENTS

    TUSERTOPICRATING

    TAVGTOPICRATING

    22 selected lines.


    I think that we have set. Here's the deal.

    For some reason, the database put in place all the tables but not views initially. My DBA views manually created using definitions of the included database. In Access, if you go in queries, then right-click on the table, select "design mode".  Right-click on the design mode, select "SQL Mode" and you can view the SQL statements used to define the view.  You should see something like this:

    She has slightly modified the - here's what she created:

    Created to MCVICKER's point of view in ROBOTST.

    create or replace view mcvicker. VSolutionAction

    SELECT

    TSolutionAction.sa_SolutionActionID,

    TSolutionAction.sa_Time,

    TSolutionAction.se_SessionID,

    TSolutionAction.pb_ProblemID,

    TSolutionAction.sq_SequenceID,

    TSolutionAction.hp_HelpProjectID,

    TSolutionAction.at_ActionTypeID,

    TSolutionAction.sa_SortData,

    LTRIM(sa_DisplayName,255) AS sa_GroupDisplayName,

    -Left $([sa_DisplayName],255) AS sa_GroupDisplayName,

    TSolutionAction.sa_DisplayName,

    TSolutionAction.sa_NumericData,

    LTRIM(sa_StringData,255) AS sa_GroupStringData,

    -Left $([sa_StringData],255) AS sa_GroupStringData,

    TSolutionAction.sa_StringData,

    TSolutionAction.sa_ExtraData,

    TSolutionAction.sa_ProblemSolved,

    TSolutionAction.ha_AreaName

    OF TSolutionAction;

    create or replace view mcvicker. VHelpProject

    as

    SELECT

    THelpProject.hp_HelpProjectID,

    LTRIM(hp_Name,255) AS hp_GroupName,

    -Left $([hp_Name],255) AS hp_GroupName,

    THelpProject.hp_Name,

    THelpProject.ha_AreaName

    OF mcvicker. THelpProject;

    create or replace view mcvicker. VProblem

    as

    SELECT

    TProblem.pb_ProblemID,

    TProblem.se_SessionID,

    TProblem.pb_InitiationTime,

    LTRIM(pb_ReferringURL,255) AS pb_GroupReferringURL,

    -Left $([pb_ReferringURL],255) AS pb_GroupReferringURL,

    TProblem.pb_ReferringURL,

    LTRIM(pb_ReferringParams,255) AS pb_GroupReferringParams,

    -Left $([pb_ReferringParams],255) AS pb_GroupReferringParams,

    TProblem.pb_ReferringParams,

    LTRIM(pb_RequestedTopic,255) AS pb_GroupRequestedTopic,

    -Left $([pb_RequestedTopic],255) AS pb_GroupRequestedTopic,

    TProblem.pb_RequestedTopic,

    TProblem.pb_ExternTransactionID,

    TProblem.pb_ExternUserID,

    TProblem.pb_AppData,

    TProblem.pb_ProblemSolved,

    TProblem.ha_AreaName

    OF mcvicker. TProblem;

    I hope this helps someone.

    My questions are pending: what the app actually creates tables and views? This work to restart tomcat? According to a timetable? It seems that when I set up the connection and leave the things the next day they work. Is there some sort of scheduled task that the database maintenance? Can we make it a little more transparent in future versions?

    Thank you.

  • DBUM target Recon - java.sql.SQLSyntaxErrorException error: ORA-00942: table or view does not exist

    Hello

    When I run DBUM Targer user reconciliation (recon Filtered) I get the error in the log below.

    We have created an account with privileges below target. y at - it all permisssions more necessary for execution of the reconciliation of the target.

    [2015-10 - 09T 10: 47:45.717 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.vo] [tid: OIMQuartzScheduler_Worker-4] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: IOM #11.1.2.0.0] details executeJob DBUM Oracle user target reconciliation method

    [2015-10 - 09T 10: 47:45.842 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000 - 1:18558 0000000000000004,] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: parseConnectionProperties: no connection properties

    [2015-10 - 09T 10: 47:45.878 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota

    [2015-10 - 09T 10: 47:45.879 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota

    [2015-10 - 09T 10: 47:45.881 - 07:00] [oimext_server1] [ERROR] [] [ORG. IDENTITYCONNECTORS. DBUM. SQLEXECUTIONHANDLER] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.SQLExecutionHandler: executeAccountSearch: error when searching for user records [[ ]]

    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)

    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)

    at org.identityconnectors.dbum.SQLExecutionHandler.searchAccounts(SQLExecutionHandler.java:287)

    at org.identityconnectors.dbum.SQLExecutionHandler.executeAccountSearch(SQLExecutionHandler.java:95)

    at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:199)

    at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:74)

    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:118)

    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:82)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)

    to com.sun.proxy. $Proxy575.search (unknown Source)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)

    to com.sun.proxy. $Proxy575.search (unknown Source)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to org.identityconnectors.framework.impl.api.BufferedResultsProxy$ BufferedResultsHandler.run (BufferedResultsProxy.java:162)

    ]]

    [2015-10 - 09T 10: 47:45.892 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.impl.quartz] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: #11.1.2.0.0 IOM] Job listener, Job was performed QuartzJobListener.jobWasExecuted Description DEFAULT null FullName. DBUM Oracle DBUM Oracle target reconciliation user name reconciliation target user

    [2015-10 - 09T 10: 47:46.116 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '6' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206 :-8000-0000000000010 c 79, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    [2015-10 - 09T 10: 47:46.517 - 07:00] [oimext_server1] [ERROR] [] [] [tid: Watcher] [username: < anonymous >] [ecid: 0000L19f77uEoIs6wjyWMG1M5jJP000000, 1:18404] error receive challenge server hacked

    [2015-10 - 09T 10: 47:49.271 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '12' to the queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7c, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    [2015-10 - 09T 10: 47:49.718 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '21' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7e, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    Thank you

    After changing the logging level for 32 track, filled with the SQL log file.

    The application consisted of a JOIN with two or three tables table (dba_users and dba_quota_tablespaces).

    After providing privileges select on the quota table, I was able to learn from the user.

    Thank you

  • Error ORA-00942

    Hello

    I created a database (11.2.0.1.0) manually using the create database statement. When I tried to check some things in my database as SYS user I get the table or the view is not currently not error. The output is shown below.

    SQL > show user

    The USER is "SYS".

    SQL >

    SQL > SELECT *.

    FROM database_properties

    Property_name WHERE = "DEFAULT_PERMANENT_TABLESPACE";  2 3

    FROM database_properties

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    SQL > select

    tablespace_name

    extent_management

    segment_space_management

    from dba_tablespaces;  2 3 4 5

    from dba_tablespaces

    *

    ERROR on line 5:

    ORA-00942: table or view does not exist

    SQL >

    SQL > select * from v version $;

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Kind regards

    007

    Hello

    Please check step by step: how to create manually in database: http://kamranagayev.com/2009/05/31/create-database-manually-step-by-step-instruction/

    Thank you

  • "Is:java.sql.SQLException error: ORA-01555: snapshot too old: rollback segment number with the name ' ' too small '.

    Hello

    We conduct apply CM which is a failure with the Error: "declared:java.sql.SQLException: ORA-01555: snapshot too old: rollback segment number with the name '' too small'."

    Its in our unique the production instance. I checked on the return parameter. Here are the details.

    SQL > show Cancel parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    _in_memory_undo Boolean TRUE

    _undo_debug_usage integer 2

    UNDO_MANAGEMENT string AUTO

    UNDO_RETENTION integer 40000

    undo_tablespace string APPS_UNDOTS1

    SQL > select max (maxquerylen) of v$ undostat;

    MAX (MAXQUERYLEN)

    ----------------

    637116

    Please suggest what needs to be done to go further.


    Kind regards

    Prabhat.

    Post edited by: 942633

    Hello

    ORA-02067: the rollback transaction or registration required

    As mentioned, you will need to look at the design of the code:

    Error: ORA 2067
    Text: rollback transaction or registration required
    -------------------------------------------------------------------------------
    Cause: A failure (typically a trigger or a stored procedure with several updates remotely) has occurred, such as the execution of all or nothing from a previous call to Oracle cannot be guaranteed.
    Action: return to a previous point of backup or restore the transaction and resubmit.

    ------

    ORA-01555 caused by the following SQL statement (SQL ID: 5y0q4u8r2hdy9, query term s = 637608, SCN: 0x0bcc.4ed82762):

    ------

    ACTUAL SIZE [MB] UNDO UNDO RETENTION [s] NECESSARY UNDO SIZE [MB]

    ------------------------                   ------------------------------------------------------------------------- ------------------------

    304849 40000 267232.292

    To better help you, please let us know:

    -What is the function of this program.

    -Did you recently parameter changes until you have this error.

    Please ensure that the validation controls are implemented correctly, the DBA team and development will work hand in hand.

    Thank you &

    Best regards

  • Table exists but still error: ORA-00942, isn't able to create indexes: Help

    It's my script... the table FLASH_SALES_BY_STORE_AND_HOUR exist in my database, so why I get the error message.
    ERROR on line 1:
    ORA-00942: table or view does not exist



    Here is my script.

    ASK for IDX_SALES_STORE_DEL

    CREATE INDEX IDX_SALES_STORE_DEL ON FLASH_SALES_BY_STORE_AND_HOUR (STORE_ID, TRUNC (LOCAL_DATE))
    TABLESPACE 'FLASH '.
    STORAGE
    (
    DEFAULT USER_TABLES
    )
    /

    QUICK creation IDX_SALES_STORE_VIEWexit


    CREATE INDEX IDX_SALES_STORE_VIEW ON FLASH_SALES_BY_STORE_AND_HOUR (STORE_ID, TRUNC (LOCAL_DATE), DEPARTMENT)
    TABLESPACE 'FLASH '.
    STORAGE
    (
    DEFAULT USER_TABLES
    )
    /

    Please, re - run the script as the user who owns the table...

    Otherwise, add the schema name before the name of the index (if not index will be created under SYS) and table name (since you missed the creation of synonym).

    HTH,
    Thierry

  • Get ORA-00942 error with the clause, but not when the user sys.

    Hello

    About 3 weeks ago we increased our memary to PGA_aggregate_target = 60 GB, SGA_target = 58 GB Oracle instance. About 1 week ago our cognos user started having errors ORA-00942 for these queries generated with clause, with the same authorization. i.e.

    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' PRINT_BATCH_ID ' 'PRINT_BATCH_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    'BANK_NOTE_ADI_INFO_T '. ' ' RDP_ID ' 'RDP_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' FI_ID ' 'FI_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' DEPOSIT_NB ' 'DEPOSIT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_MACHINE_ID ' 'PROCESS_MACHINE_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' OUTPUT_STACKER_TYPE_CE ' 'OUTPUT_STACKER_TYPE_CE '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PARTITION_KEY ' 'PARTITION_KEY '.
    'BANK_NOTE_ADI_INFO_T '. ' ' LOAD_ID ' 'LOAD_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SERIAL_NUMBER_ID ' 'SERIAL_NUMBER_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SHIFT_NB ' 'SHIFT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' BANK_NOTE_COUNT_NB ' 'BANK_NOTE_COUNT_NB '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "BANK_NOTE_COUNT_NB") 'C_1' "
    , count (1) 'C_2' of 'aBmtQuerySubject4 '.
    After having count (*) > 0)
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1.
    of 'CountResultQuery5 '.
    ;


    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' LOAD_ID ' 'LOAD_ID '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "LOAD_ID") 'C_1' "
    , count (1) 'C_2 '.
    of 'aBmtQuerySubject4' having count (*) > 0
    )
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1' of 'CountResultQuery5 '.
    ;

    -output like:

    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist


    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist

    Since 2 days ago, we get ORA-0403.

    One thing I noticed that the coguser can run above queries correctly after they are run by a user sys...

    Could you please help me on how I can resolve ORA-00942 error?

    Thank you very much, much in advance for all your help and your advice! :-)

    Jihong.

    "One thing I've noticed the coguser can run over queries correctly after they are run by a user sys... »

    Jihong,

    Do you mean that queries can be run successfully as a sys user, or as long as once a sys cognos user user has run the query at least once?

    Gerard

  • DBMS_SQL in another schema of table-error of request * ORA-00942

    Oracle experts,

    I think that I have problems with the help of DBMS_SQL in which the function was created in a schema and the query table was created in a different schema.

    We have 2 schemas: S1, S2
    We have 2 tables:
    T1 in the S1 schema
    T2 in the schema S2

    We have a function F1 created by DBA in the S1 schema that uses the dbms_sql as:

    CREATE or REPLACE FUNCTION S1. F1 (v1 in VARCHAR2) return NUMBER IS
    Cursor1 INTEGER;
    BEGIN
    Cursor1: = dbms_sql.open_cursor;
    DBMS_SQL. Parse (cursor1, v1, dbms_sql. NATIVE);
    DBMS_SQL.close_cursor (Cursor1);
    Return (0);
    EXCEPTION
    while others then
    DBMS_SQL.close_cursor (Cursor1);
    return (1);
    END;
    /

    I use jdeveloper 11G. We have a DB Oracle 11 g.
    We have a java program that uses jdbc to talk to our Oracle database.


    Basically, in my program java, I call F1 function to check if the query is valid.
    If this is the case, it returns 0. Otherwise, returns the value 1:

    oracle.jdbc.OracleCallableStatement cstmt = connection.prepareCall (oracle.jdbc.OracleCallableStatement) ("start?: = S1.") F1 (?); end; ») ;
    cstmt.registerOutParameter (1, java.sql.Types.INTEGER);
    cstmt.setString (2, "Select * from S2.") T2');
    cstmt. Execute ();

    Since the table that I run the query T2, created in different pattern of F1 has been created, I got the error:

    * ORA-00942: table or view does not exist

    So my questions are the following:
    -J' use DB Oracle 11g, if I run the query on a table that was created in a different pattern than the function (which uses dbms_sql) appeared, I would get the error ORA-00942?
    -If I run the query on the T1 table in the same schema as the function F1, if I have the same problem (the reason why I ask is that I can't create any table in the S1 schema because the DBA can do; I'm not a DBA)

    -This isn't a problem, but a feature of security due to SQL injection?
    -How to solve this problem, other than creating the table in the same schema as the function that uses DBMS_SQL?

    Kind regards
    Binh

    Copyright (default) stored objects managed by virtue field of safety of the owner of the and ignore privileges based on roles. So whatever that the user logged as function of S1. F1 always runs as a user S1 and ignores the S1 user roles. That's why exeuting instruction in S1. F1:

    Select * from S2. T2

    requires that the S1 user have the right to SELECT on S2. T2 granted to S1 directly, without going through the role.

    SY.

  • ORA-00942 error in trace capture

    I use Oracle 10.2.0.4 RAC on Solaris 10 Server.

    A testers complained that he was getting the error ORA-00942 in the application, but he had no idea about the code except for information connection he used.

    So I need to activate the track for all of its sessions which I made using LOGON_TRIGGER with 12 10046 level events but I wasn't able to capture any error ORA-00942.
    I tried to create a similar path for my session file and then I rigged a similar scenario by creating an anonymous block with a code that throw error ORA-00942 but once more they did not fall in the trace file.
    Is there anyway that I can capture these errors in the trace file?

    78121 wrote:

    Alter system set event ' trace 942 name errorstack forever, level 3; »
    This will create a trace udump direcroty whenever you encounter error ORA-0942.

    THANKS, I didn't know that!

    Welcome,

    Similarly, any error ORA can be traced, replace the ORA error number and it will generate the trace.

  • error ORA-20001: in the window of the geolocation

    When to access addresses, in packed geolocation application, I receive the following error message:

    ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist

    Is this a bug in the application packed?

    I use apex.oracle.com to test this packaged application...

    Also not able to save an area of interest with a polygon

    1 error has occurred

    Hello

    In general, it should work - I have also tested the app on apex.oracle.com.

    First question:

    from your description, it seems that the packaged application installation did not create all or part required correctly tables.

    Can you check (via SQL Workshop) that the tables EBA_SPATIAL_ADDRESSES, EBA_SPATIAL_IMAGES and EBA_SPATIAL_AOI exist...?

    If this is not the case, try to remove and reinstall the application. One reason might be that your workspace quota is already maxed out and who

    There is simply no space left for the required tables...

    Question 2: the steps are:

    1) click the icon 'blue' polygon on the map

    2) click on the points of the polygon you want to draw

    3) click 'Finish' in the lower corner of the map

    (4) specify a name for the 'area of interest '.

    5) click "Save".

    Of course, this also requires the tables to be present...

    Hope this helps

    Best regards

    Carsten-

  • VS2010 ORA-00942 table or view does not exist

    I have
    -vs2010 professional
    -.net 4.0 Framework
    -ODTwithODAC112021
    -oracle 10g databases


    When I try to display 10 using ODP.NET oracle databases in Server Explorer, I get the error: ORA-00942 table or view does not exist. The "Tables" folder cannot be extended. I can see views and other records. I am able to run a select statement of the query of existing table in the query window also. Default filter setting is to show all under the scheme. I uninstalled and installed ODT several times and got the same results.

    This is the case even when I try to add a new source of data oracle by using the wizard. He threws the same error.

    There is no error if I use the .net data provider to connect to the same oracle server and add a new data source.


    Can anyone help please? Thank you very much!

    Published by: 850347 on April 6, 2011 10:45

    [Update] found that this error is associated with a particular account & schema. This account is super powerful and the database is enormous. I can connect with another read-only account and see all the tables in the previous scheme of powerful.

    Is anyway to see what table or view has caused this error? The error message is really not that useful here.

    Published by: 850347 on April 6, 2011 12:24

    While the user is "super powerful", it seems, there is no access to a catalog table that ODT must be metadata about the schema.

    You can understand the table by running a trace ODP.NET:

    (1) close VS2010
    (2) in the registry of windows, change the registry value \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ODP.NET\4.112.1.1\TraceLevel to 1
    (3) restart VS2010
    (4) reproduce the ORA-942 only
    (5) close VS2010
    (6) to cancel the registry value (set to 0)
    (7) in the file generated (c:\odpnet2.0.trc) do a search for "942", I hope that you can find. Just before the error, you should see the SQL code that was executed.

    Please post an update here to let us know what you find.

  • dblink error ORA - 02063

    Hello
    I test IE 2 databases and test1.

    I created a database of public link test_dblink@test1 (from test database).

    test the database with 2 diagrams: IE schema1 and schema2

    When I executed a query using schema1 on the database of test as below:

    Select * from table@test_dblink---it works

    but when I executed the same query through schema2 on the test database that it gives:

    Error: ORA-00942 table or view does not exist. ORA - 02063: preceding line test1

    kindly help me:

    Thanks in advance

    Select * from test1.are_sdo@refdata;
    the value long 9999;
    SELECT DBMS_METADATA. GET_DDL('DB_LINK',a.Db_link,'PUBLIC') OF DBA_db_links A WHERE DB_LINK LIKE '% REFDATA % ';

    What is the result of the above commands?

    Just copy and paste (remove password)

  • OBIEE 11 g: odd error in report ORA-00942: table or view does not exist

    Hi gurus,

    I get the following error if I pull one or more columns in a table of facts

    Error details

    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P

    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle error code: 942, message: ORA-00942: table or view does not exist to the call of the OCIStmtExecute OIC. [nQSError: 17010] Prepare the SQL statement failed. (HY000)

    SQL published: SELECT 0 s_0, 'XXXXXX '. "" "" Fact_FCT_REG_XXXXXXX_XXXXXX '. "" S_1 N_ACCT_BALANCE""XXXXXX"FETCH FIRST 4000001 LINES ONLY

    Is the weird part, when I take the physical sql and run it against the same user account. It is fetching result. He also works in a different environment, but throwing error in our test environment, both environments are well established for a long time to return, and many projects are developed by many different groups.

    I really need expertise help to break this question. Given that I do not get no idea why his mistake to throw into the application layer?

    Any help will be much appreciated.

    Thanks in advance

    Concerning

    Nathalie

    Save nqquery.log which connection pool is used to send the query to the DB. Then check the configuration of the Connection Pool to see what user credentials are used to connect to the database, to which database (DSN), and if the table owner prefix is added to the SQL.

    ORA-00942 can often be due to the existing table, but the user trying to access him confer no rights. Rather than say 'no permission', Oracle will say 'does not exist.

  • Classic report shows wrong "could not parse the SQL query: ORA-00942" error after migrating app to the new environment

    After migrating my APEX 4.1 application to a new environment, one classic report displays a "cannot parse the SQL query: ORA-00942: table or view does not exist" error when the page is displayed. Change the region to report SQL source to somehow (e.g., remove spaces, changing the order of the variables in the WHERE clause) immediately solves the problem, but by returning to the source of the region causes the report error again (the source region valid code without error, however).

    Throw the error message:

    Select v.id,

    v.Col1

    of view_vw v

    where (: P1_FILTER is null or)

    v.col2 = :P1_FILTER)

    Do not throw error:

    Select v.id,

    v.Col1

    of view_vw v

    where (:P1_FILTER is null or)

    v.col2 = :P1_FILTER)

    Changing the order of column in the report has the same effect; i.e. He arranges, but return back to the original column order causes the error to display.

    It's as if a cached result for the correct select statement used by the report is displayed. However, the application does not use the caching of page/region. Any ideas of what could be the cause?

    He solved. Ultimately, all that was necessary was to clear the DB cache using:

    alter system flush shared_pool;

Maybe you are looking for