ORA-00942 - create a procedure

When I create this procedure

It's a return ORA-00942 on line 6, but I have the privilege to choose on dba_tables.


CREATE OR REPLACE PROCEDURE p_read_only
AS
BEGIN
FOR x IN (SELECT table_name
FROM dba_tables
Owner WHERE = 'MAN')
LOOP
RUN IMMEDIATELY ' GRANT SELECT ON SWH.»
|| x.table_name
|| "TO READ_ONLY.
END LOOP;

FOR x IN (SELECT view_name
FROM dba_views
Owner WHERE = 'MAN')
LOOP
RUN IMMEDIATELY ' GRANT SELECT ON SWH. "| x.view_name
|| "TO READ_ONLY.
END LOOP;
END;
/

Thank you

Published by: Jx on July 19. 2011 08:10

In the future please check for errors before you post thereon. This error is with ORA-1031, PLS-201 and ORA-12514 error more popular on this forum, always because people post here never use online resources.

No, you do not have privilege. You have the privilege, thanks to a role and roles are disabled during the compilation of the procedures as roles can change on the fly.

You must
or the other

(1) create or replace... AUTHID current_user
(2) grant select privileges directly on dba_tables.

The last method is not preferable, because you will end up with a myriad of direct privileges which are not included in your export, they are owned by SYS and SYS is not exported.

Also in DDL in a procedure is generally considered bad because it has all kinds of side effects.
A regular SQL script should be sufficient.

----------------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • ORA-00942 Table or view does not exist when you run a procedure

    Hello

    I have a procedure called FND_GLOBAL under a scheme called APPS and I have granted execute privilege on this procedure to another schema called CIVICA

    However when I run the procedure of the CIVIC scheme I get

    ORA-00942 Table or view does not exist
    ORA-06512 at APPS. FND_CORE_LOG, line 25
    ORA-06512 at APPS. FND_GLOBAL, line 104
    ORA-06512 at APPS. FND_GLOBAL, line 1620
    ORA-06512 at APPS. FND_GLOBAL, line 2171
    ORA-06512 at APPS. FND_GLOBAL, line 2313

    I'm guessing that some of the sub components must also be given to the CIVICA?

    How does work to define rights? Subcomponents should not also be accessible via this procedure being owner / defined by Apps but executed by CIVICA?

    Jim

    Hi, Jim,.

    Jim Thompson wrote:
    Sorry Frank - in order to clarify

    I wanted to CIVICA to be able to execute procedures and functions in applications. Package FND_GLOBAL

    However this package has been defined with the rights of the plaintiff - CIVICA must be explicitly object privilege to all objects used by the package (or packages of sub that he calls, that there are some - it is really a case to view the hierarchy of this package and ensure that each object is explicitly given to CIVICA)

    What do you mean by "explicitly granted to CIVICA"? ". Do you mean granted directly to CIVICA, and not a role that CIVICA has?
    Once more, the privileges granted to the roles are good enough for packages AUTHID CURRENT_USER (also known as the "rights of the applicant"). The only time where you have to say "GRANT."... CIVICA"is when granting a role to the CIVICA; all other privileges may be granted to this role, or some other roles that are granted to the role that CIVICA has.
    Mnight want to create a role that has all the necessary privileges to use the package and grant this role to users like CIVICA.

    ... So, it seems as if I have no choice but to get my pen and paper and trace through the nested packages and objects called by FND_GLOBAL and to ensure that they are explicitly granted to CIVICA! I hate days like these!

    CIVIA want to have all the privileges that has APPS? You can query dba_tab_privs (and oither views in the data dictionary) to find (and write statements of "GRANT... ("for) all these privileges.

    You can also create another packet (let's call it FND_GLOBAL_I) in applications with rights of the author. Specification of package would be identical to the specification of FND_GLOBAL package, except that it says FMD_GLOBAL_I instead of FND_GLOBAL. The FND_GLOBAL_I package body are very similar to the spec. The body of each procedure or function would simply be a call to the corresponding functuion in FND_GLOBAL. Since FND_GLOBAL has hundreds of procedures, it will be a lot of work, but perhaps less work than to find exactly what privileges are needed.

  • 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

  • CREATE FUNCTION, getting ORA-00942

    Trying to create the function as the user system

    create or replace
    FUNCTION get_num_roles (iUser to VARCHAR, iRole in VARCHAR) RETURN NUMBER
    IS num_roles NUMBER (11);
    BEGIN
    Select count (1) in num_roles
    of dba_role_privs;
    RETURN (num_roles);
    END;

    and obtains ORA-00942

    But:
    Select count (1) in the num_roles of dba_role_privs;
    as user system works

    info from dba_synonyms:
    OWNER SYNONYM_NAME TABLE_OWNER, TABLE_NAME
    PUBLIC DBA_ROLE_PRIVS SYS DBA_ROLE_PRIVS

    Why ORA-00942?

    Systems administrator privileges allow the selection of the DBA_ROLE_PRIVS, but creating a stored object requires a direct subsidy.

    As SYS:

    Grant select on DBA_ROLE_PRIVS to the SYSTEM;

  • Data import of the AS400/P400 to Oracle using dbms_hs_passthrough throws ORA-00942

    The following code runs successfully, but when I manually delete the table, it fails with the error

    declare
      ret integer;
      c_date VARCHAR2(20);
      n_count number;
    begin
        begin
            EXECUTE IMMEDIATE 'DROP TABLE XXITGI.AGNTPF';
            exception
            when others then
            null;
         end;
        begin
            ret := dbms_hs_passthrough.execute_immediate@P400('drop table ITGDTA.AGNTPF1');
            exception
            when others then
            null;
        end;
            ret := dbms_hs_passthrough.execute_immediate@P400(
              q'|create TABLE AGNTPF1 AS
              (SELECT * FROM AGNTPF WHERE START_DATE >= DEC(REPLACE(CHAR(CURRENT_DATE - 7 DAYS, ISO), '-', ''), 8, 0) ) with data|');
            EXECUTE IMMEDIATE 'CREATE TABLE XXITGI.AGNTPF AS SELECT * FROM AGNTPF1@P400';
            ret := dbms_hs_passthrough.execute_immediate@P400('drop table ITGDTA.AGNTPF1');
            select to_char(CREATED, 'DD-MON-YYYY HH:MI AM') into c_date FROM DBA_OBJECTS where OWNER='XXITGI' AND OBJECT_NAME = 'AGNTPF' ;
            select count(*) into n_count from XXITGI.AGNTPF;
            DBMS_OUTPUT.PUT_LINE('TABLE:XXITGI.AGNTPF  CREATED ON :' || c_date);
            DBMS_OUTPUT.PUT_LINE('TOTAL ROWS IMPORTED :' || n_count);
    end;
    /
    
    
    
    
    

    TABLE: XXITGI. AGNTPF CREATED THE: MAY 21, 2014 12:47

    THE IMPORTED LINES TOTAL: 130

    PL/SQL procedure successfully completed.

    But when I remove the table and run again the block above. I get the error.

    12:47:55 CLONE > drop table xxitgi.agntpf;
    
    Table dropped.
    
    
    
    
    

    ERROR on line 25:

    ORA-06550: line 25, column 47:

    PL/SQL: ORA-00942: table or view does not exist

    ORA-06550: line 25, column 6:

    PL/SQL: SQL statement ignored


    Why his past even if I'm falling off the table in the code itself and recreated.


    Kind regards

    Gerard


    Oracle DB: 11.2.0.1

    Operating system: aix 6.1

    EXECUTE IMMEDIATE 'select count(*) from XXITGI.AGNTPF' INTO n_count
    

    would work.  I wonder still strongly the wisdom to create and delete tables on the fly.  And I'm still confused of what you're trying to accomplish here.  If your goal is to replicate the data, I would use a simple materialized view rather than to create and tables a fall on the two databases.

    Justin

  • ORA-00942 on import demand

    I created an application in a data base (Oracle 10) with Apex 4.1.1.
    I exported this app and tried to import using the Apex "Application Builder" page in a different database (Oracle 10) with Apex 4.1.1.

    But I meet an ORA-942 (error message full as shown in my browser).

    Workflow:
    -Open the homepage - Application Builder - import (page no. 460)

    -A file to import
    File type "Database, Page or component of export enforcement"

    -Click Next. 2 seconds, I see "Import a file" below error appears.

    Everyone knows this?

    PS Sofar only the default "example of Application data" value exists in the destination database, and that the app is working normally.


    Thu, 26 April 2012 09:51:38 GMT



    ORA-00942: table or view does not exist



    FATHER's name: ANTPETX

    PROCEDURE: wwv_flow.accept

    URL: http://by-spieu.abc-ag.com:4443/pls/ANTPETX/wwv_flow.accept

    PARAMETERS:

    ===========



    ENVIRONMENT:

    ============

    PLSQL_GATEWAY = WebDb

    GATEWAY_IVERSION = 3

    SERVER_SOFTWARE=Oracle-application-server-10G/10.1.2.0.0 Oracle-HTTP-Server

    GATEWAY_INTERFACE = CGI/1.1

    SERVER_PORT = 4443

    Server_name = by - spieu.abc - ag.com

    REQUEST_METHOD = POST

    QUERY_STRING =

    PATH_INFO = / wwv_flow. Accept

    SCRIPT_NAME = / pls/ANTPETX

    REMOTE_HOST =

    REMOTE_ADDR = 10.23.68.37

    SERVER_PROTOCOL = HTTP/1.1

    REQUEST_PROTOCOL = HTTPS

    REMOTE_USER = BY_ANTPETX

    ORACLE_SSO_USER =

    OSSO_IDLE_TIMEOUT_EXCEEDED =

    OSSO_USER_GUID =

    HTTP_CONTENT_LENGTH = 3201862

    HTTP_CONTENT_TYPE = multipart/form-data; Boundary = - 7dcc12320df6

    HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729 .NET CLR 3.0.30729; Media Center PC 6.0; NET4.0C;. NET4.0E; InfoPath.3; Tablet PC 2.0)

    HTTP_HOST = by - spieu.abc - ag.com:4443

    HTTP_ACCEPT = image/jpeg, application/x-ms-application, image/gif, xaml application / + xml, image/pjpeg, application/x-ms-application xbap, application / vnd.ms - excel, application / vnd.ms - powerpoint, application/msword, * / *.

    HTTP_ACCEPT_ENCODING = gzip, deflate

    HTTP_ACCEPT_LANGUAGE = en-GB

    HTTP_ACCEPT_CHARSET =

    HTTP_COOKIE = ORA_WWV_REMEMBER_UN = ADMIN:BY_APEX_SHARED; ORA_WWV_USER_71422666970717 = 752E94EBCB3EB577992FF26CE5EFC2D7

    HTTP_IF_MODIFIED_SINCE =

    HTTP_REFERER = https://by-spieu.abc-ag.com:4443 / pls/ANTPETX/f? p = 4000:460:435134425064001:NO:460:F4000_P56_CREATE_OPTION, P460_FILE_TYPE:IMP, FLOW_EXPORT

    HTTP_SOAPACTION =

    HTTP_ORACLE_ECID = 1335433895:10.190.175.119:22376:0:690, 0

    HTTP_ORACLE_CACHE_VERSION =

    HTTP_AUTHORIZATION =

    WEB_AUTHENT_PREFIX =

    DAD_NAME = ANTPETX

    DOC_ACCESS_PATH = docs

    DOCUMENT_TABLE = wpg_document

    PATH_ALIAS =

    REQUEST_CHARSET = AL32UTF8

    REQUEST_IANA_CHARSET = UTF-8

    SCRIPT_PREFIX = / pls

    HTTP_IF_MATCH =

    HTTP_CACHE_CONTROL =

    SOAP_BODY =

    HTTP_X_ORACLE_DEVICE_CLASS =

    HTTP_X_ORACLE_DEVICE_ORIENTATION =

    HTTP_X_ORACLE_DEVICE_MAXDOCSIZE =

    HTTP_X_ORACLE_DEVICE =

    HTTP_X_ORACLE_ORIG_ACCEPT =

    HTTP_X_ORACLE_ORIG_USER_AGENT =

    HTTP_X_ORACLE_USER_LOCALE =

    HTTP_X_ORACLE_USER_NAME =

    HTTP_X_ORACLE_USER_DISPLAYNAME =

    HTTP_X_ORACLE_USER_USERKIND =

    HTTP_X_ORACLE_USER_AUTHKIND =

    HTTP_X_ORACLE_USER_DEVICEID =

    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1 =

    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2 =

    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE =

    HTTP_X_ORACLE_USER_LOCATION_BLOCK =

    HTTP_X_ORACLE_USER_LOCATION_CITY =

    HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME =

    HTTP_X_ORACLE_USER_LOCATION_COUNTY =

    HTTP_X_ORACLE_USER_LOCATION_STATE =

    HTTP_X_ORACLE_USER_LOCATION_POSTALCODE =

    HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT =

    HTTP_X_ORACLE_USER_LOCATION_COUNTRY =

    HTTP_X_ORACLE_USER_LOCATION_TYPE =

    HTTP_X_ORACLE_USER_LOCATION_X =

    HTTP_X_ORACLE_USER_LOCATION_Y =

    HTTP_X_ORACLE_SERVICE_HOME_URL =

    HTTP_X_ORACLE_SERVICE_PARENT_URL =

    HTTP_X_ORACLE_HOME_URL =

    HTTP_X_ORACLE_MODULE_CALLBACK_URL =

    HTTP_X_ORACLE_MODULE_CALLBACK_LABEL =

    HTTP_X_ORACLE_CACHE_USER =

    HTTP_X_ORACLE_CACHE_SUBID =

    HTTP_X_ORACLE_CACHE_AUTH =

    HTTP_X_ORACLE_CACHE_DEVICE =

    HTTP_X_ORACLE_CACHE_LANG =

    HTTP_X_ORACLE_CACHE_ENCRYPT =

    HTTP_X_ORACLE_ASSERT_USER =

    The connection MUST be APEX_PUBLIC_USER and nothing else.

    In addition, APEX_PUBLIC_USER and ANONYMOUS must be UNLOCKED.

    Kind regards

    Published by: Dominique 27 April 2012 14:58

  • How to handle the ORA-00942: table or view does not exist

    HII All,

    I'm trying to delete a table dynamically independently of its existence in a procedure. Sound fine when the table exists, but when the table does not work I am facing following error
     ORA-00942: table or view does not exist
    I've made use of pragma exception_init and modified my code like below
    Create or replace Procedure sp_FSASA_FEEDUPLOAD_process
              (
               p_test_dir               in     varchar2,
               p_feed_file_name     in     varchar2
              )
    is
              l_exttable_str varchar2(32000) ;
              
              l_log_file constant varchar2(200) := 'logfile_rgh.log';
              
              l_table_doesnt_exist Exception;
              
              pragma exception_init(l_table_doesnt_exist,-00492);
              
              
              
    Begin
              
              Begin
                   execute immediate 'drop table FSASA_FEEDUPLOAD_EXT purge' ;
              Exception
                        when l_table_doesnt_exist then
                             null;
              
              End;
              
              
              
              
              l_exttable_str := 'Create table FSASA_FEEDUPLOAD_EXT ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' Category_No                    varchar2(1), ';
              l_exttable_str := l_exttable_str||' Financial_Category          varchar2(300), ';
              l_exttable_str := l_exttable_str||' GFCID                         number, ';
              l_exttable_str := l_exttable_str||' Balance                         number(34,14), ';
              l_exttable_str := l_exttable_str||' Refernce_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' Account_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' ce_trans_id                    varchar2(20) ';
              l_exttable_str := l_exttable_str||' ) ';
              l_exttable_str := l_exttable_str||' Organization external ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' type                    oracle_loader ';
              l_exttable_str := l_exttable_str||' default directory      '||p_test_dir;
              l_exttable_str := l_exttable_str||' Access parameters ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||'  records delimited by newline ';
              l_exttable_str := l_exttable_str||'BADFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||'feed.bad '||q'[']' ;
              l_exttable_str := l_exttable_str||'LOGFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||':feed.log '||q'[']' ;
              l_exttable_str := l_exttable_str||q'[FIELDS TERMINATED BY X'09']';
              l_exttable_str := l_exttable_str||' missing field values are null ';
              l_exttable_str := l_exttable_str||')location('||q'[']'||p_feed_file_name||q'[']';
              l_exttable_str := l_exttable_str||')' ;
              l_exttable_str := l_exttable_str||' )Reject limit unlimited ';
              
              dbg_print(l_log_file,'l_exttable_str : '||l_exttable_str);
    
              
              execute immediate l_exttable_str;
    
    
    End;
    But I am still unable to get rid of him. Pls help me.

    (1) I need the drop because I need to immediately create the table with the name of different file and different path.

    (2) the last thing I do not do is to check the name of the table in the USER_OBJECTS and then drop.

    (3) suggest that create an external table dynamically as a correct approach or not.

    (4) up to now, we use utl_file for reading stream file but I am much interested to use the concept of EXTERNAL TABLE.

    (5) as the file name and the path is changed, I need to create my external table during execution.

    Please suggest me that I can change my file name and the path when running

    Don't drop and re-create it, just create once as DDL not in code and then change it to point to a new file.

    External table

  • Error (20.22): PL/SQL: ORA-00942: table or view does not exist

    I get currently getting an error when I try and insert into a table of a different pattern of my stored procedure:
    Error (20.22): PL/SQL: ORA-00942: table or view does not exist

    I am explicitly calling the table with the name of the schema that is infront

    INSERT INTO SAPSR3. ZTREC_NAME_TYPE
    (
    MASTER_ID,
    NAME_TYPE,
    FAMILY_NAME,
    FIRST NAME,
    MIDDLE_NAME,
    TITLE
    )
    VALUES
    (
    In_MasterID,
    In_NameType,
    In_FamilyName,
    In_FirstName,
    In_MiddleName,
    In_Title
    );

    Only, I get this error when I try to compile my stored procedure. If I try this insert not within a stored procedure (for example, an empty script) it works perfectly.

    Can someone tell me what Im doing wrong?

    Thank you.

    Hello

    Looks like you (the owner of the procedure) have privileges on that table only through a role.
    Roles do not count in the stored procedures created with AUTHID OWNER (which is the default).

    Or the other
    (1) user SAPSR3 have the privileges needed directly at you (or public), or
    (2) change the procedure so that it runs with the privileges of the caller, adding AUTHID CURRENT_USER after the list of arguments, but before the keyword IS (AS os) like this:

    CREATE OR REPLACE PROCEDURE     foo
    (     x     IN     NUMBER
    )
    AUTHID CURRENT_USER
    IS ...
    
  • 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

  • 12 c OEM Error rendering element. Exception: ORA-00942: table or view does not exist

    Hi gurus,

    Need your help to resolve ORA-00942 in OEM 12 c. I am planning Long running with a custom query SQL report and get ORA - error.


    I followed the instructions of MOS ' how to create a Custom Information Publisher report listing the current status of all targets (Doc ID 1682668.1). I also gave all possible permissions for mgmt._view


    Grants-

    Grant select on gv_$ ACTIVE_SESSION_HISTORY to mgmt_view;

    Grant select on gv_$ SQLAREA to mgmt_view;

    Custom - query

    SELECT *.

    OF (WITH test (schema_name, machine, sql_id, executions, elapsed_time, sql_text)

    AS (SELECT b.parsing_schema_name,

    a.machine,

    a.sql_id,

    b.executions,

    To_char (MAX (b.elapsed_time) * 0,000001,)

    ' (999999999999999.999').

    LIKE "time (in seconds)."

    B.SQL_TEXT

    OF ACTIVE_SESSION_HISTORY $ Gv, Gv$ SQLAREA B

    WHERE A.SAMPLE_TIME > = SYSDATE - 1

    AND A.SQL_ID = B.SQL_ID

    AND b.executions > 5

    GROUP OF b.parsing_schema_name, a.machine, a.sql_id, b.executions, B.SQL_TEXT

    ORDER BY DESC 4)

    SELECT DISTINCT

    schema_name,

    machine,

    sql_id,

    SUM (executions) as TOTAL_EXECUTIONS,

    SUM (elapsed_time) as TOTAL_ELAPSED_TIME,

    To_char (SUM (elapsed_time) / SUM (executions), ' 999999999999999.999' ") as AVG_RUN_TIME,

    sql_text

    TEST where lower (sql_text) not like '% select%genre.itemname%genre.itemvalue%retailerslogourl%rights_token%md_basic_info_genre%' and sql_text not like '% Analyze % '.

    GROUP BY schema_name, sql_id, machine, sql_text

    ORDER BY DESC 4)

    WHERE ROWNUM < = 20

    Compared to the 10 g report and reading different articles, type target_user_table_from_sql element is missing from 12 c. Do we need to create 12 c or any other parameter that we must follow in 12 c.

    Thanks in advance.

    Kind regards

    Nikhil Mehta.

    Hi all

    I could solve the problem by following the steps below.

    (1) in order to generate reports on the target DB, inserts under folders sysman schema.

    insert into sysman.mgmt_ip_report_elem_def values ('target_user_table_from_sql', 'database_target_type', 'target_user_table_from_sql', 'oracle.sysman.db.util.reports.TableTargetRenderController', 0, NULL, 'EM', NULL, '10.2.0.1.0');

    Insert SYSMAN. MGMT_IP_ELEM_PARAM_CLASSES (ELEMENT_TYPE_NLSID, ELEMENT_PARAM_CLASS, ELEMENT_NAME_NLSID, DISPLAY_ORDER) values ('target_user_table_from_sql', 'database_target_type ','oracle.sysman.eml.ip.render.elem.HeaderParamController ', 1);

    Insert SYSMAN. MGMT_IP_ELEM_PARAM_CLASSES (ELEMENT_TYPE_NLSID, ELEMENT_PARAM_CLASS, ELEMENT_NAME_NLSID, DISPLAY_ORDER) values ('target_user_table_from_sql', 'database_target_type', 'oracle.sysman.eml.ip.render.elem.SQLStatementParamController', 2);

    Commit;

    (2) checked the privileged references and surveillance powers. Password has been changed. Changed the same and report started running as expected.

  • Problem with ore.save () - leads to ORA-00942 table or view does not exist

    I get an error when I try to use ore.save () to register a function of R in a data store. This works in our environment of DEV, but for some reason any is not going back to QA. (No not the right to try Prod...)

    What I see:

    -The function to be saved - loadInputData() - is defined

    -A confirmed that the data store exists

    -Tried to save a simple vector - same question

    -Looked directly into RQSYS. RQ$ DATASTOREOBJECT and it seems that he actually recorded? Except call ore.load () for the same object (function loadInputData) also gives the ORA-00942.

    -Both the function and the simple vector see when I call ore.datastoreSummary (), even if the call to ore.save () for both threw the ORA-00942

    -I am connected to a synonym account

    Full traceback from left to right:

    12 .oci. GetQuery (Conn., instruction, data = data = prefetch prefetch,

    bulk_read = bulk_read)

    11 .local (conn, statement,...)

    10 ROracle::dbGetQuery (.ore.con (), qry,...)

    9 ROracle::dbGetQuery (.ore.con (), qry,...)

    8 ore. QueryEnv$ dbGetQuery (qry, healthy = healthy,...)

    7 OREbase:.ore.dbGetQuery (stmt, data = raw.df)

    6.ore.insertObj (get (nm, envir = envir), name, nm, envAsEmptyenv)

    5 FUN ("loadInputData" [[1 L]],...)

    4 lapply (X = X, FUN = FUN,...)

    3 sapply (existingobj.names, function (nm).ore.insertObj (get (nm,

    ((envir = envir), name, nm, envAsEmptyenv))

    2 ore.save (loadInputData, name is MODEL_SAVE_DATASTORE, overwrite = TRUE)

    Question of privilege. The account was missing rights RQADMIN, as well as CREATING of DATA MINING, UNLIMITED TABLESPACE and maybe a few others

  • ORA-20001: System error: procedure sort_segment_order step 40

    ORA-20001: System error: procedure sort_segment_order step 40

    DECLARE

    lc_employee_number per_all_people_f.employee_number%TYPE; -: = "tan_01";

    ln_person_id per_all_people_f.person_id%TYPE;

    ln_assignment_id per_all_assignments_f.assignment_id%TYPE;

    ln_object_ver_number per_all_assignments_f.object_version_number%TYPE;

    ln_address_id PER_ADDRESSES. ADDRESS_ID % TYPE;

    ln_asg_ovn NUMBER;

    ld_per_effective_start_date per_all_people_f.effective_start_date%TYPE;

    ld_per_effective_end_date per_all_people_f.effective_end_date%TYPE;

    lc_full_name per_all_people_f.full_name%TYPE;

    ln_per_comment_id per_all_people_f.comment_id%TYPE;

    ln_assignment_sequence per_all_assignments_f.assignment_sequence%TYPE;

    lc_assignment_number per_all_assignments_f.assignment_number%TYPE;

    lb_name_combination_warning BOOLEAN;

    lb_assign_payroll_warning BOOLEAN;

    lb_orig_hire_warning BOOLEAN;

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

    -Assignment

    l_assignment_id NUMBER;

    l_effective_date DATE: = NULL;

    l_supervisor_id NUMBER;

    lb_correction BOOLEAN;

    lb_update BOOLEAN;

    lb_update_override BOOLEAN;

    lb_update_change_insert BOOLEAN;

    lc_dt_ud_mode VARCHAR2 (100): = NULL;

    l_obj_version_num NUMBER;

    l_organization_id NUMBER: = 81;

    l_soft_coding_keyflex_id hr_soft_coding_keyflex.soft_coding_keyflex_id%TYPE;

    l_concatenated_segments VARCHAR2 (2000);

    l_comment_id per_all_assignments_f.comment_id%TYPE;

    l_effective_start_date per_all_assignments_f.effective_start_date%TYPE;

    l_effective_end_date per_all_assignments_f.effective_end_date%TYPE;

    l_no_managers_warning BOOLEAN;

    l_other_manager_warning BOOLEAN;

    ERROR_MESSAGE VARCHAR2 (4000): = NULL;

    current_records NUMBER;

    total_records NUMBER;

    error_records NUMBER;

    l_effective_date_valid NUMBER;

    error_message1 VARCHAR2 (4000): = NULL;

    v_ledger_id gl_ledgers.ledger_id%type;

    v_job_definition_id PER_JOB_DEFINITIONS.job_definition_id%type;

    v_position_definition_id per_position_definitions.position_definition_id%type;

    v_location_id hr_locations_all.location_id%type;

    v_emp_count number: = 0;

    -The Variables of the criteria of update for employees Assgment

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

    -ln_people_group_id NUMBER: = null;   -This will cause the error ORA-20001: System error: procedure step 40

    ln_people_group_id NUMBER: = hr_api.g_number;   -PEOPLE_GROUP_ID

    end;

    ln_special_ceiling_step_id PER_ALL_ASSIGNMENTS_F.SPECIAL_CEILING_STEP_ID%TYPE;

    lc_group_name VARCHAR2 (30);

    ld_effective_start_date PER_ALL_ASSIGNMENTS_F.EFFECTIVE_START_DATE%TYPE;

    ld_effective_end_date PER_ALL_ASSIGNMENTS_F.EFFECTIVE_END_DATE%TYPE;

    lb_org_now_no_manager_warning BOOLEAN;

    lb_other_manager_warning BOOLEAN;

    lb_spp_delete_warning BOOLEAN;

    lc_entries_changed_warning VARCHAR2 (30);

    Entry: HR_ASSIGNMENT_BK3. UPDATE_EMP_ASG_CRITERIA_B 10

    hr_api.validate_commit_unit 10

    Leave: HR_ASSIGNMENT_BK3. UPDATE_EMP_ASG_CRITERIA_B 20

    Enter hr_kflex_utility set_profiles 5

    hr_kflex_utility set_profiles 10

    hr_kflex_utility set_profiles 20

    hr_kflex_utility set_profiles 30

    hr_kflex_utility set_profiles 40

    hr_kflex_utility set_profiles 50

    Leaving hr_kflex_utility set_profiles 100

    Enter hr_kflex_utility set_session_date 5

    hr_kflex_utility set_session_date 30

    Leaving hr_kflex_utility set_session_date 100

    Inbound: upd_or_sel_keyflex_comb 10

    upd_or_sel_keyflex_comb 20

    Inbound: check_ignore_varray 10

    Seg3 $Sys_Def$                                                         101

    Inbound: ins_or_sel_keyflex_comb 10

    ins_or_sel_keyflex_comb 20

    Inbound: check_ignore_varray 10

    ins_or_sel_keyflex_comb 30

    Inbound: sort_segment_order 10

    sort_segment_order 20

    sort_segment_order 30

    sort_segment_order 40

    ins_or_sel_keyflex_comb 100

    Leaving upd_or_sel_keyflex_comb 140

    -RollBack ORA-20001: System error: sort_segment_order procedure step 40

    Cause: The sort_segment_order procedure created a mistake in step 40.

    Action: Contact your system administrator citing the sort_segment_order procedure and 40 of the step.

    Thank you all,

    I found the solution of adding at least one value in the key flexfield: "Flexfield group of people.

    Kind regards

  • ORA-00942: table or view does not exist in SOA

    Hello

    I created a composite that contains the Web service-> Ombudsman-> DBAdapter.

    This web service retrieves the data from the database on the basis of the comments. The composite is compiled.

    But on the tests, I make the following mistake:

    env:Server < faultcode > < / faultcode >

    < faultstring > Exception occurred when the link was invoked.

    Exception occurred during invocation of the JCA binding: "JCA binding run operations reference 'DB_getSelect' have to: DBReadInteractionSpec Execute Failed Exception."

    Name of the query: [DB_getSelect], name of the descriptor: [DB_get. MdsPaths].

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

    .

    See the first exception for the specific exception.  This exception is considered as reproducible, probably due to a communication failure.  To be classified as not reproducible instead, add nonRetriableErrorCodes property to "942" deployment descriptor (i.e. weblogic - RA.Xml).  Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff.  All properties are integers.

    ".

    The called JCA adapter threw an exception of resource.

    Please examine the error message above carefully to determine a resolution. < / faultstring >

    < faultactor / >

    < detail >

    < exception > ORA-00942: table or view does not exist < / exception >

    I checked my DB Adapter Configuration. Its quite well. Please answer if you hava a solution.

    Thank you

    Hi AnatoliAtanasov,

    Thanks for the response to the stupid question.

    (a) Yes, I have the table created in the database.

    (b) the Data Source connection points to the correct schema.

    (c) Yes. The source is configured with a pool of outbound connections.

    (d) and I have re-deployed the adapter.

    Thank you

    Tanay

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

    Mr President.

    jasper test.gif

    Me trying to run a report of jasper in my adf application but to get the message

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

    net.sf.jasperreports.engine.JRException: the SQL statement execution error for: empReport

    at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:240)

    at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1114)

    at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:691)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1314)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:931)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:873)

    at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:87)

    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:457)

    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:864)

    to the view. JasperBean.runReport (JasperBean.java:90)

    to the view. JasperBean.runReportAction (JasperBean.java:39)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

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

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

    at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:141)

    at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:233)

    ... more than 66

    < 14 March 2015 13:13:20 PKT > < error > < javax.enterprise.resource.webcontainer.jsf.application > < BEA-000000 > < error rendered view [/Welcome]

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    Truncated. check the log file full stacktrace

    >

    < oracle.adf.controller > < AdfcExceptionHandler > < handleException > < NO_EXCEPTION_HANDLER >

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:938)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:377)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:338)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)

    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1095)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    < oracle.adf.view > < RichExceptionHandler > < _logUnhandledException > < ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase RENDER_RESPONSE 6 >

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:938)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:377)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:338)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)

    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1095)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    [< 14 March 2015 13:13:20 PKT > < error > < HTTP > < BEA-101020 > < [ServletContext@285463113[app:JasperTest module: JasperTest-ViewController-context-spec: null, path root-version: 3.0]] Servlet failed with an Exception

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    Truncated. check the log file full stacktrace

    >

    < 14 March 2015 13:13:20 PKT > < opinion > < Diagnostics > < BEA-320068 > < Watch "UncheckedException" in the module "Module-FMWDFW" with severity "Notice" on the server "DefaultServer" released March 14, 2015 13:13:20 PKT details. Notification:

    WatchRuleType: Journal

    WatchRule: (SEVERITY = "Error") AND ((MSGID = ' WL-101020') OR (MSGID = "WL-101017'") OR (MSGID = "WL-000802'") OR (MSGID = "BEA-101020'") OR (MSGID = "BEA-101017'") OR (MSGID = "BEA-000802'"))

    [WatchData: DATE = March 14, 2015 13:13:20 PKT SERVER = DefaultServer MESSAGE = [ServletContext@285463113[app:JasperTest module: JasperTest-ViewController-context-spec: null, path root-version: 3.0]] Servlet failed with an Exception

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:938)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:377)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:338)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)

    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1095)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Subsystem = HTTP USERID < WLS Kernel > = SEVERITY = error THREAD = ExecuteThread [ASSET]: '6' for queue: MSGID "(self-adjusting) weblogic.kernel.Default" = BEA - 101020 MACHINE = TANVIR-PC TXID = the CONTEXTID = 9e95b0a0-9417-4bdd-a665-16c85bcbc70c-00000094 TIMESTAMP = 1426320800208

    WatchAlarmType: AutomaticReset

    WatchAlarmResetPeriod: 30000

    >

    < oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl > < DiagnosticsDataExtractorImpl > < createADRIncident > < incident created 56 to key problem "DFW-99998 [java.lang.IllegalStateException] [oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView] [JasperTest]" >

    My code is

    JSP page

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="Welcome.jsf" id="d1">
            <af:messages id="m1"/>
            <af:form id="f1">
                <af:button text="Run Report" id="b1" partialSubmit="false" action="#{Jasper.runReportAction}"/>
                <af:table value="#{bindings.EmpView1.collectionModel}" var="row" rows="#{bindings.EmpView1.rangeSize}"
                          emptyText="#{bindings.EmpView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          rowBandingInterval="0" selectedRowKeys="#{bindings.EmpView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.EmpView1.collectionModel.makeCurrent}" rowSelection="single"
                          fetchSize="#{bindings.EmpView1.rangeSize}" id="t1">
                    <af:column headerText="#{bindings.EmpView1.hints.EmpId.label}" id="c1">
                        <af:outputText value="#{row.EmpId}" shortDesc="#{bindings.EmpView1.hints.EmpId.tooltip}" id="ot1"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.PhoneNo.label}" id="c2">
                        <af:outputText value="#{row.PhoneNo}" shortDesc="#{bindings.EmpView1.hints.PhoneNo.tooltip}"
                                       id="ot2"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.Desig.label}" id="c3">
                        <af:outputText value="#{row.Desig}" shortDesc="#{bindings.EmpView1.hints.Desig.tooltip}" id="ot3"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.LName.label}" id="c4">
                        <af:outputText value="#{row.LName}" shortDesc="#{bindings.EmpView1.hints.LName.tooltip}" id="ot4"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.MName.label}" id="c5">
                        <af:outputText value="#{row.MName}" shortDesc="#{bindings.EmpView1.hints.MName.tooltip}" id="ot5"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.FName.label}" id="c6">
                        <af:outputText value="#{row.FName}" shortDesc="#{bindings.EmpView1.hints.FName.tooltip}" id="ot6"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.BankAc.label}" id="c7">
                        <af:outputText value="#{row.BankAc}" shortDesc="#{bindings.EmpView1.hints.BankAc.tooltip}"
                                       id="ot7"/>
                    </af:column>
                </af:table>
            </af:form>
        </af:document>
        <!--oracle-jdev-comment:preferred-managed-bean-name:Jasper-->
    </f:view>
    

    report code

    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="empReport" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b049c1d2-c175-4a8b-b9af-65bcdc99a573">
      <property name="ireport.zoom" value="1.0"/>
      <property name="ireport.x" value="0"/>
      <property name="ireport.y" value="0"/>
      <queryString>
      <![CDATA[SELECT
         *
    FROM
         "SCHOOL"."EMP" EMP]]>
      </queryString>
      <field name="EMP_ID" class="java.lang.String"/>
      <field name="PHONE_NO" class="java.lang.String"/>
      <field name="DESIG" class="java.lang.String"/>
      <field name="L_NAME" class="java.lang.String"/>
      <field name="M_NAME" class="java.lang.String"/>
      <field name="F_NAME" class="java.lang.String"/>
      <field name="BANK_AC" class="java.lang.String"/>
      <background>
      <band splitType="Stretch"/>
      </background>
      <title>
      <band height="79" splitType="Stretch"/>
      </title>
      <pageHeader>
      <band height="35" splitType="Stretch"/>
      </pageHeader>
      <columnHeader>
      <band height="61" splitType="Stretch">
      <staticText>
      <reportElement x="218" y="2" width="100" height="20" uuid="da36d8a4-5af2-40f1-9c0e-06970db5131d"/>
      <text><![CDATA[EMP_ID]]></text>
      </staticText>
      </band>
      </columnHeader>
      <detail>
      <band height="125" splitType="Stretch">
      <textField>
      <reportElement x="218" y="36" width="100" height="20" uuid="0c47bb5c-e96f-4544-8686-8e19f677cee6"/>
      <textFieldExpression><![CDATA[$F{EMP_ID}]]></textFieldExpression>
      </textField>
      </band>
      </detail>
      <columnFooter>
      <band height="45" splitType="Stretch"/>
      </columnFooter>
      <pageFooter>
      <band height="54" splitType="Stretch"/>
      </pageFooter>
      <summary>
      <band height="42" splitType="Stretch"/>
      </summary>
    </jasperReport>
    

    bean code is

    package view;
    
    
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.sql.Connection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    
    
    import oracle.binding.BindingContainer;
    
    
    
    
    public class JasperBean {
        public JasperBean() {
        }
    
    
        public String runReportAction() {
            // Add event code here...
            DCIteratorBinding empIter = (DCIteratorBinding) getBindings().get("EmpView1Iterator");
                        String empId = empIter.getCurrentRow().getAttribute("EmpId").toString();
                        Map m = new HashMap();
                        m.put("employeeId", empId);
                        try
                        {
                          runReport("empReport.jasper", null);
                        }
                        catch (Exception e)
                        {
                        }
            return null;
        }
        public BindingContainer getBindings()
             {
               return BindingContext.getCurrent().getCurrentBindingsEntry();
             }
             
             public Connection getDataSourceConnection(String dataSourceName)
                 throws Exception
               {
                 Context ctx = new InitialContext();
                 DataSource ds = (DataSource)ctx.lookup(dataSourceName);
                 return ds.getConnection();
               }
             
             private Connection getConnection() throws Exception
             {
               return getDataSourceConnection("hrDS");
             }
             
             public  ServletContext getContext()
               {
                 return (ServletContext)getFacesContext().getExternalContext().getContext();
               }
             public  HttpServletResponse getResponse()
               {
                 return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
               }
             public static FacesContext getFacesContext()
               {
                 return FacesContext.getCurrentInstance();
               }
             public void runReport(String repPath, java.util.Map param) throws Exception
             {
               Connection conn = null;
               try
               {
                 HttpServletResponse response = getResponse();
                 ServletOutputStream out = response.getOutputStream();
                 response.setHeader("Cache-Control", "max-age=0");
                 response.setContentType("application/pdf");
                 ServletContext context = getContext();
                 InputStream fs = context.getResourceAsStream("/reports/" + repPath);
                 JasperReport template = (JasperReport) JRLoader.loadObject(fs);
                 template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
                 conn = getConnection();
                 JasperPrint print = JasperFillManager.fillReport(template, param, conn);
                 ByteArrayOutputStream baos = new ByteArrayOutputStream();
                 JasperExportManager.exportReportToPdfStream(print, baos);
                 out.write(baos.toByteArray());
                 out.flush();
                 out.close();
                 FacesContext.getCurrentInstance().responseComplete();
               }
               catch (Exception jex)
               {
                 jex.printStackTrace();
               }
               finally
               {    
                 close(conn);
               }
             }
             
             public void close(Connection con)
              {
                if (con != null)
                {
                  try
                  {
                    con.close();
                  }
                  catch (Exception e)
                  {
                  }
                }
              }
    }
    

    Concerning

    Mr President.

    I recreate my diagram by connecting as sysdba and opens the my database

    then I do not get this message.

    I think that was the problem with my database it has been locked or is created in use of the system.

  • 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

Maybe you are looking for

  • Satellite Pro M30 Performance wireless

    Hi everibody,. I informed my card wireless by Satellite Pro M30 a decrease in its performance after having disconnected from the grid. I have notified in applications such as Internet Explorer and MSN 7.5. I Don t know where he can be the cause of th

  • Skype freezes

    Latest Skype and Windows7-32 Everything worked fine since last week. For about a week, begins to Skype but immediately stop working: I can click on almost every menu option but I can't make calls, I can't write messages, I can't search for users, I c

  • mSATA SSD in Envy 15-j012eo

    Hello I have an HP Envy 15-j012eo laptop and I was wondering if I can install an mSATA SSD in my laptop? I noticed that here is a place under the lid between the SATA HDD and the WiFi card. Using the mSATA as a disk storage for Windows 8.1.

  • 2210, printer all-in-one: I'm trying to print from my computer

    I am trying to print from my computer and I get an error message saying: remove & check cartridge.  I removed the black & color cartridge and released. I always get the same message when I stopped the top. I tried to close the primter but I get the s

  • Why my SideWinder Precision 2 is not recognized by my game?

    It seems to work fine as XP is concerned. It appears in the control panel and Setup seems to work very well. It works even in recent games. The problem is when I try to play Crimson Skies. He didn't see any of my joystick. I tried to install and rein