Generic Trigger for Auditing in 10g R2

I am using 10g R2 on Solaris.
I tried to follow toms following article but could not fit in my requirement
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:59412348055
If a user modifies a column say SALARY, then according to above article it will have values such as...
who : SCOTT
tname :EMP
cname :SALARY
old :5000
new :9000
But it will be useful, if we can store EMPID(..ie primary key information) so that we can identify which record it is referring to.
My requirement:
Table: AUDIT UPDATE TRANSACTIONS
who : SCOTT
tname :EMP
pkey_col: EMPNO
pkey_val: 201
cname :SALARY
old :5000
new :9000
Could any one help,
thanks

One solution is to use the RETURNING clause
http://www.morganslibrary.org/reference/update.html
scroll down to: "Update with Returning clause"
It would be really helpful if you included the update statement and the existing trigger code as well as your version number.
SELECT * FROM v$version;

Similar Messages

  • How to Pass APP_USER to a database trigger for auditing

    I have a table which is updated by an Apex Page. (Application Express 4.2.1.00.08).
    The application is using the standard Oracle apex authentication.
    I have created an Audit table with a before update trigger to insert a record into the audit table of who made a change to what column and when.
    If I use User in the trigger I get APEX_PUBLIC_USER recorded as who changed the record.
    What I actually need is the APP_USER Value e.g KJR recorded. I am not writing the APP_USER to a field in the table so I cannot use : new syntax to capture it from any of the field I am updating.
    Can anyone advise how I can pass the APP_USER for the trigger to use?

    In PL/SQL code like Trigger you can access the value of item by using v function. Refer the below link
    http://docs.oracle.com/cd/E1755601/doc/user.40/e15517/concept.htm#BEICHBBG_
    You can use NVL function as well,
    :NEW.CREATED_BY := NVL(v('APP_USER'), USER);Thanks,
    Lakshmi

  • Triggers for audit control

    Good morning all,
    I am in desperate need of a trigger for audit control, that is who is doing what action (udpate, delete, insert)to a record, old value, and new value. Time and date wouild also be helpful.
    Problem -- and it's a big one. I don't know pl/sql. Trying to learn it, but in time for this project.
    Thanks all.
    P.S. If you have a link to a documentation that tells you how to do something like this, please let me know. Thanks again.

    Hi,
    The following example demonstrates a trigger that audits modifications to the Emp_tab table for each row. It requires that a "reason code" be stored in a global
    package variable before the update. This shows how triggers can be used to provide value-based auditing and how to use public package variables.
    Note:
    You may need to set up the following data structures for the examples to work:
    CREATE OR REPLACE PACKAGE Auditpackage AS
    Reason VARCHAR2(10);
    PROCEDURE Set_reason(Reason VARCHAR2);
    END;
    CREATE TABLE Emp99 (
    Empno NOT NULL NUMBER(4)
    Ename VARCHAR2(10)
    Job VARCHAR2(9)
    Mgr NUMBER(4)
    Hiredate DATE
    Sal NUMBER(7,2)
    Comm NUMBER(7,2)
    Deptno NUMBER(2)
    Bonus NUMBER
    Ssn NUMBER
    Job_classification NUMBER);
    CREATE TABLE Audit_employee (
    Oldssn NUMBER
    Oldname VARCHAR2(10)
    Oldjob VARCHAR2(2)
    Oldsal NUMBER
    Newssn NUMBER
    Newname VARCHAR2(10)
    Newjob VARCHAR2(2)
    Newsal NUMBER
    Reason VARCHAR2(10)
    User1 VARCHAR2(10)
    Systemdate DATE);
    CREATE OR REPLACE TRIGGER Audit_employee
    AFTER INSERT OR DELETE OR UPDATE ON Emp99
    FOR EACH ROW
    BEGIN
    /* AUDITPACKAGE is a package with a public package
    variable REASON. REASON could be set by the
    application by a command such as EXECUTE
    AUDITPACKAGE.SET_REASON(reason_string). Note that a
    package variable has state for the duration of a
    session and that each session has a separate copy of
    all package variables. */
    IF Auditpackage.Reason IS NULL THEN
    Raise_application_error(-20201, 'Must specify reason'
    || ' with AUDITPACKAGE.SET_REASON(Reason_string)');
    END IF;
    /* If the above conditional evaluates to TRUE, the
    user-specified error number and message is raised,
    the trigger stops execution, and the effects of the
    triggering statement are rolled back. Otherwise, a
    new row is inserted into the predefined auditing
    table named AUDIT_EMPLOYEE containing the existing
    and new values of the Emp_tab table and the reason code
    defined by the REASON variable of AUDITPACKAGE. Note
    that the "old" values are NULL if triggering
    statement is an INSERT and the "new" values are NULL
    if the triggering statement is a DELETE. */
    INSERT INTO Audit_employee VALUES
    (:old.Ssn, :old.Ename, :old.Job_classification, :old.Sal,
    :new.Ssn, :new.Ename, :new.Job_classification, :new.Sal,
    auditpackage.Reason, User, Sysdate );
    END;
    Optionally, you can also set the reason code back to NULL if you wanted to force the reason code to be set for every update. The following simple AFTER statement
    trigger sets the reason code back to NULL after the triggering statement is run:
    CREATE OR REPLACE TRIGGER Audit_employee_reset
    AFTER INSERT OR DELETE OR UPDATE ON Emp_tab
    BEGIN
    auditpackage.set_reason(NULL);
    END;
    Hope that helps.
    Thanks,
    Sharmila

  • ORACLE 10g generate reports for audit trail

    HELP ORACLE 10 g
    I am a beginner about the oracle 10g
    anybody can guide me how to start with
    generate reports for audit trail , top ten url
    , no of hits in the portlets ......
    =(
    thank you ....

    In a nutshell:
    1 - You will have to have the portal database schema as your data source.
    2 - You will have to design a target database schema with the target data bjects (tables, dimensions and fact tables - cubes) where the data will be loaded for reporting purposes.
    3 - Then you will have to model the loading process by defining mappings (mappings will translate into generated code for the load process) and process flows to run the mappings in the right order etc.
    4 - You will deploy the sources, targets and processing entities to the target schema.
    5 - You will run the deployed code periodically as needed and maintain the source, target and loading entities which might change with time.
    One observetion - OWB does not produce reports. It creates and maintains the data infrastructure for a reporting/analysis system (a data warehouse, data mart or an operational data store). To produce reports (for example, the top-10 report mentioned by you), you will have to run a reporting tool on top of the data structures created and maintained by OWB.
    Regards:
    Igor

  • WHAT IS THE MECHANISM FOR AUDITING PORTAL USER ACTIVITY

    Is there any default mechanism for auditing a portal users access to
    tables. At the DB level, we are seeing the portal_public user but we want to see the portal user instead; e.g. we need to report on activity such as: portal user johndoe deleted a row of data from a table.
    johndoe is only a portal user not a database user.
    We are trying to keep from writing additional custom code to auditing. We are
    using wwctx_api.get_user_id in other parts of the application and we would like
    to avoid writing a custom auditing module.

    William,
    I'm not sure if this is what you are looking for, but...
    When you create (or edit) a component in Portal 10g, there is a Log Activity check box. If you check this box, then go to Manage the component (in the Portal Navigator), there are Develop, Manage and Access tabs. The Manage tab has a Monitor icon, which has the information you may be looking for. This does not seem to be available directly for database tables. However, I created a Calendar, based on a database table I created to keep track of the Calendar Events. I also created a form to allow users to add Calendar Event entries. I turned logging on for both components. The Monitoring allows me to see when each user has accessed the Calendar, and who and when they insert, update or delete entries from the Calendar table.
    -Ricky Burke

  • Is it possible raise a trigger for particular user

    hi,
    i have oracle user zil,i want to write trigger for this user..
    with out writting trigger for each table .
    for ex:
    i have 2 tables in this user
    1.emp
    2.audit_log
    suppose i m inserting values into emp table at the same time insert into audit_log with action as insert,like that suppose i m updating any row in emp then insert one row into audit_log with action as modify,
    my question is is it possible to write a trigger for the user zil,not for table emp
    so i can maintain audit_log..
    pls give me a solution
    regards
    singh

    It depends upon how you are connecting to the Oracle database, if you are connecting through CITRIX then it is difficult to identify the user or the other option for you is to have a field USER in each table and pass the user name form the front end.
    To captures the changes in the table EMP and insert into the AUDIT table you may need to write a trigger in the EMP table and before you INSERT into AUDIT check the user.
    Or why dont you use AUDITING provied by Oracle.
    Thanks

  • Oracle triggers for auditing

    Let us say I want to audit data updates, deletes on existing table EMP_TAB that
    has a few hundred thousands of records.
    I created a shadow table Emp_tab_audit and added few audit columns
    Emp_tab (
    Empno NUMBER NOT NULL,
    Ename VARCHAR2(10),
    Job VARCHAR2(9),
    Mgr NUMBER(4),
    Hiredate DATE,
    Sal NUMBER(7,2),
    Comm NUMBER(7,2),
    Deptno NUMBER(2) NOT NULL);
    CREATE TABLE Emp_tab_audit (
    seq number
    operation varchar2(3),
    user varchar2(20),
    Timestamp date,
    ip_address varchar2(25),
    Terminal varchar2(10,
    Empno NUMBER NOT NULL,
    Ename VARCHAR2(10),
    Job VARCHAR2(9),
    Mgr NUMBER(4),
    Hiredate DATE,
    Sal NUMBER(7,2),
    Comm NUMBER(7,2),
    Deptno NUMBER(2) NOT NULL);
    I am mostly interested in UPDATES and DELETES but I decided to add INSERTS to have full history for
    each eomplyee in one table (audit schema) instead of querying two tables all the time (production
    table and audit table) to see the changes.
    I created this AFTER INSERT, UPDATE, DELETE trigger.
    I decided to copy the :NEW values for INSERT and UPDATE and :OLD values for DELETE.
    see attached.
    so when insert happens, the first audit row is created in EMP_TAB_AUDIT.
    when update happens, the 2nd new row is created in EMP_TAB_AUDIT.
    The problem I am facing is the old records that curently exist. If someone updates an old row I am
    copying the :NEW values so I won't have a copy of the :OLD values unless I create 2 ROWS (one for
    the old and one for the new).
    Do you think I should copy all the hundreds of thousands of records to the AUDIT tables for this to
    work. I am hesitant to do that.
    ANy better ideas. I am applying this solution to several tables (not just one).
    This is also in 9i and i dont flexibility other than using a trigger to track data changes.
    CREATE OR REPLACE TRIGGER TRG_EMP_AUDIT
    AFTER INSERT OR DELETE OR UPDATE ON EMP_TAB
    FOR EACH ROW DECLARE
    v_operation VARCHAR2(10) := NULL;
    v_user VARCHAR2(20);
    v_timestamp Date;
    v_ip_address VARCHAR2(25),
    v_terminal VARCHAR2(10);
    BEGIN
    v_user := USERENV(user);
    v_timestamp := SYSDATE;
    v_ip_address := USERENV(ip_address);
    v_terminal := USERENV(terminal);
    IF INSERTING THEN
    v_operation := 'INS';
    ELSIF UPDATING THEN
    v_operation := 'UPD';
    ELSE
    v_operation := 'DEL';
    END IF;
    IF INSERTING OR UPDATING THEN
    INSERT INTO EMP_TAB_AUDIT (
    seq,
    operation,
    user
    timestamp,
    ip_address,
    terminal,
    empno,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno )
    VALUES (
    audit_seq.nextval,
    v_operation,
    v_user,
    v_timestamp,
    v_ip_address,
    v_terminal,
    :new.empno,
    :new.job,
    :new.mgr,
    :new.hiredate,
    :new.sal,
    :new.comm,
    :new.deptno);
    ELSIF DELETING THEN
    INSERT INTO EMP_TAB_AUDIT (
    seq,
    aud_action,
    user
    timestamp,
    ip_address,
    terminal,
    empno,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno )
    VALUES (
    audit_seq.nextval,
    v_operation,
    v_user,
    v_timestamp,
    v_ip_address,
    v_terminal,
    :old.empno,
    :old.job,
    :old.mgr,
    :old.hiredate,
    :old.sal,
    :old.comm,
    :old.deptno);
    END IF;
    END;
    *******************************************************************************

    For auditing normailly you do AFTER triggers (not BEFORE) as ther could be other triggers that change the :NEW data stored in the row.
    You can capture :OLD in AFTER too, but the issue you are saving the updated values. You are storing an image of the OLD row so you still need to check the current row to find out what has been updated. My preference was to store NEW values on updates.

  • Trigger for logging changes(DML changes) for All tables in Schema

    Hi ,
    Is there a way to create a schema level trigger to audit the DML changes that affect all the tables.I need the output in my log table as
    1) the table name on which the DML occurred
    2) type of DML
    3) column names affected.
    I know this can be achieved through enabling AUDIT or by creating dynamically, triggers for each tables...
    Is there a way to create a single trigger to achieve this??

    It's not possible to create DML trigger on schema level
    I think the only way is to create the triggers dynamically for each table..
    Re: Schema level Database triggers by Kamran Agayev
    Edited by: jeneesh on Oct 12, 2012 6:39 PM

  • Comment creer un trigger pour auditer une table scott.emp

    Bonjour j aimerais savoir comment creer un trigger pour auditer delete update on scott.emp

    DROP TABLE EMP;
    CREATE TABLE EMP(C NUMBER);
    DROP TABLE AUDIT_T;
    CREATE TABLE AUDIT_T
              time DATE
              ,who VARCHAR2(100)
              ,what VARCHAR2(100)
    DROP PROCEDURE AUDIT_EMP;
    CREATE OR REPLACE
    PROCEDURE AUDIT_EMP(p_what IN AUDIT_T.what%TYPE) IS
         PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
         INSERT INTO AUDIT_T VALUES
                   SYSDATE
                   ,TRIM(SYS_CONTEXT('USERENV', 'HOST')) || '.' ||
                        TRIM(SYS_CONTEXT('USERENV', 'OS_USER')) || '.' ||
                        TRIM(SYS_CONTEXT('USERENV', 'SESSIONID'))
                   ,p_what
         COMMIT;
    END;
    CREATE OR REPLACE TRIGGER EMP_BDUR
         BEFORE DELETE OR UPDATE
         ON EMP
         FOR EACH ROW
    DECLARE
         l_what VARCHAR2(100);
    BEGIN
         IF UPDATING THEN
              l_what := 'Updating EMP';
         ELSE
              l_what := 'Deleting from EMP';
         END IF;
         AUDIT_EMP(l_what);
    END EMP_BDUR;
    INSERT INTO EMP(SELECT ROWNUM FROM USER_OBJECTS WHERE ROWNUM <= 10);
    DELETE FROM EMP WHERE C IN (2,3);
    UPDATE EMP SET C = C + 3 WHERE C IN (5,6);
    COLUMN who FOR A40
    COLUMN what FOR A20
    SELECT * FROM AUDIT_T;
    TIME WHO WHAT
    11.05.2006 10:52:40 host\osuser..27953 Deleting from EMP
    11.05.2006 10:52:40 host\osuser..27953 Deleting from EMP
    11.05.2006 10:53:27 host\osuser..27953 Updating EMP
    11.05.2006 10:53:27 host\osuser..27953 Updating EMP

  • Generating Security Events for Auditing Purposes

    Hello! What I’m writing about today concerns generating events in the Security Log on Win2008 R2 for auditing purposes. Information on this specific action is fairly scare online, from what I’ve seen, after some extensive searching.
    If there were a utility that would facilitate this, that would be ideal, but I’m not seeing anything of that nature. I see that there are some APIs (e.g. AuthzReportSecurityEvent) that allow this sort of thing, but I’m not quite sure where to start with those.
    I pick up most programming things pretty quickly, but I’ve not done anything with C# or .NET before.
    My initial thought was to use eventcreate and write a simple batch file to generate a bunch of events, but eventcreate turned out to be a dead end, since I need to audit occurrences of lots of events in the 4XXX range, like 4726.
    I then tried PowerShell (New-EventLog –LogName Security –Source “TEST” then
    Write-EventLog –LogName Security –Source “TEST” –EntryType Information –EventID 1 –Message “TESTING”) but with the Security log being locked down that won’t fly.
    I tried giving myself full rights on the eventlog registry key and the security key specifically, but that didn't work. Is there something obvious that I'm missing?
    If I need to call the APIs with a script or application of some sort (ideally a script), I can look into that, but I’m afraid that I’m rather puzzled on how to start.
    Thank you very much for your time!

    Hi,
    If you want to get a scripting solution, I would suggest you refer to
    The Official Scripting Guys Forum to get professional support:
    The Official Scripting Guys Forum
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    In addition, you can also configure email notifications on specific events IDs:
    Getting event log contents by email on an event log trigger
    http://blogs.technet.com/b/jhoward/archive/2010/06/16/getting-event-log-contents-by-email-on-an-event-log-trigger.aspx
    E-mail Notification of Security events
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/37a54113-e53f-4024-ae4b-59ab18be62fd/email-notification-of-security-events?forum=winserverDS
    Best Regards,
    Amy Wang

  • STOCK REPORT FOR AUDIT

    Hi GUYS
    I am working for a Garment Industry and the audit is in next month end.
    I need your advice in how to catch up with the things related to Stock for Audit.
    We have 3-4 locations in System
    Like
    FABRIC STORE
    CUTTING STORE
    STICHING STORE
    FINISHING STORE
    FINISHED GOOD STORE(from there the material gets dispached EXPORT/LOCAL)
    I need to maintain the STOCK from Cutting to Finishing , Stock at Sub Contractor, How much dispached and how much left, rejected etc
    Please Advice how to do the things.
    I know its all related to MB51 MB52, MBLB, ME2L, MC.9, MB5B ETC
    But i am Confused from where to start and how to proceed.
    I dont even know from which report the auditor will get the details and ask us
    SHD i take the Physical report ie Work in progress report in my hand first or shd i take the SAP Reports first
    I am looking after the following things
    SUB COntracting PO
    STO
    GRN(Fabric, CUT PART , ACCESSORIES ETC)
    Out Bound Dillivery
    PI
    CI
    EI
    Work Related to PP Making production orders etc
    Need a procedure to maintain the stuff in SAP
    Thanks & REGards
    Abhishek

    Dear Abhishek,
    It all depends on how efficiently your company Uses SAP, If company has properly entered all the transactions that take place on a day to day basis in SAP, then there is nothing which can't be answered to the Auditor, its all Integrated and you can see all the stock movements that have happend, If required you can go for a Physical Inventory Count Also so that these is no discrepancy in the system stock and Physical Stock.
    Rest for any material if any question comes up then you can readily use MB5B which will give the material movements in a specified period along with Opening and Closing Stock. The basic questions which Auditors Put up is on the movement of Stock and sometimes the reason for the movement, so if everything is maintained properly in SAP you will have no issues in getting any data.

  • One trigger for Multiple tables

    Hi all,
    I want write a trigger for mutiple tables.
    For Example,
    In database schema,some user update one table.I want to capture what the table and capture old value and new value.
    the above example for all insert and delete also.
    Regards
    Fame

    Hi, Fame,
    Sorry, a trigger only works on one table, so you need a separate trigger on each separate table.
    All of those triggers can call a common procedure.
    If you'd like to give a more detailed description of what you want to do, using two or three tables, then someone can give you more detailed instructions on how to do it.
    Always say which version of Oracle you're using.

  • Error while creating the Generic Connector for flatfile

    Hi All,
    I was trying to create the Generic connector for the flat file reconciliation. But i was throwed into errors. I'm using 11.1.1.3 OIM and as well as SOA also. I have been following the OIM 9 document to create the GENERIC connector.
    i'm copying the error i got
    <Mar 14, 2012 3:48:12 PM IST> <Warning> <XELLERATE.SERVER> <BEA-000000> <readme.txt is not a valid connector resource file.>
    <Mar 14, 2012 3:48:12 PM IST> <Warning> <XELLERATE.SERVER> <BEA-000000> <readme.txt is not a valid connector resource file.>
    <Mar 14, 2012 3:48:12 PM IST> <Error> <XELLERATE.WEBAPP> <BEA-000000> <Class/Method: CreateConnectorAction/imageScreen encounter some problems: >
    java.lang.NullPointerException
    at oracle.iam.platform.utils.OIMMessageResourcesUtil.getConnectorResourcesFromFile(OIMMessageResourcesUtil.java:964)
    at oracle.iam.platform.utils.OIMMessageResourcesUtil.getConnectorResourceBundle(OIMMessageResourcesUtil.java:778)
    at oracle.iam.platform.utils.OIMMessageResourcesUtil.getConnectorResources(OIMMessageResourcesUtil.java:764)
    at com.thortech.xl.webclient.util.tcMessageResourcesUtil.getConnectorResources(tcMessageResourcesUtil.java:215)
    at com.thortech.xl.webclient.util.tcMessageResourcesUtil.getMsgFromConnectorRes(tcMessageResourcesUtil.java:238)
    at com.thortech.xl.webclient.util.tcMessageResourcesUtil.getLocalizedText(tcMessageResourcesUtil.java:66)
    at com.thortech.xl.webclient.util.UIFacade.getUserDefLocalizedLabels(UIFacade.java:3024)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.imageScreen(CreateConnectorAction.java:1250)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.goNext(CreateConnectorAction.java:521)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(tcLookupDispatchAction.java:133)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:894)
    at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)
    at com.thortech.xl.webclient.actions.CreateConnectorAction.execute(CreateConnectorAction.java:135)
    at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
    at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
    at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:260)
    at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
    at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:121)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.thortech.xl.webclient.security.XSSFilter.doFilter(XSSFilter.java:103)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:61)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:115)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:100)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    i'm just using a flat file which contents are normal.
    #GTC Trusted Source
    login,firstName,lastName,eMail,organization
    RDUDE,Robert,Dude,[email protected],Xellerate Users
    Can somebody help where i have done wrong for this. All my deployment is in oracle linux 4.5
    Thanks,
    Venkatesh

    Follow the doc for 11g, guide you might be missing something:
    http://docs.oracle.com/cd/E17904_01/doc.1111/e14309.pdf
    Highlevel configuration steps (not all and exact) are:
    -> Give it Name
    -> select Reconciliation
    -> Select Transport Provider and format provides
    -> select Trusted Source Reconciliation
    ->provide flat file details
    -> Source reconciliation staging and mapping
    ->finish
    regards,
    GP

  • OIM 9.1.0 install connector for "Oracle Database 10g"

    Hello,
    Is anybody here who succeeded to install the connector for Oracle Database 10g into OIM 9.1.0?
    If yes please give me a hint
    Have a nice day!

    Thanks guys for the quick responses.
    But I have tried both the options for putting the jar in Third Party and also by uploading using the OOTB utility UploadJar.sh.
    But it is giving the same error.
    I have tired rebouncing the server and also Purge cached, but no success.
    Just to mention again, I have tried with all the last 3 postgres JDBC4 driver available on the site (u mentioned).
    So, any other clue?
    Thanks in advance.

  • Creation of sequence and trigger for each table!!!!!!!1

    Hi
    I am new to trigger and Sequence field. In one of my database we have many tables with fields for specifing ID numbers. Iam planning to insert the ID field with help of a Sequence and trigger...that trigger fires by adding the sequence value from the dual table. Now the point is here we r having around *60* table with ID field. And i am planning use the above process for each table by creating sequences and trigger for each table.
    Will this affects the performance of database.
    Is there any other option other than the above process, I mean other than creating sequences and trigger for each table.
    PLzz help to resolve this issuee......
    Shiyas
    Edited by: user13170361 on Jun 7, 2010 12:37 AM

    Tiger, I didn't mind about your comment, but the point is try to use
    select NVL(max(a) + 1,1) into i from p1_temp;This line in your trigger code and see what is happening. The problem is with your trigger. You are using group by function and you will not get no_data_found !
    For more help, this is some modification of your code.
    SQL> create table p1_temp (a number(10) primary key, b number(10));
    Table created.
    SQL> create or replace trigger trg_p1_temp
      2  before insert on p1_temp for each row
      3  declare
      4  i number(10);
      5  begin
      6  begin
      7  select NVL(max(a) + 1,1) into i from p1_temp;
      8  exception
      9  when no_data_found then
    10  i := 1;
    11  end;
    12  :new.a := i;
    13  end;
    14  /
    Trigger created.
    SQL> insert into p1_temp(b) values (1);
    1 row created.
    SQL> insert into p1_temp(b) values (2);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from p1_temp;
             A          B
             1          1
             2          2
    SQL> Edited by: Saubhik on Jun 7, 2010 2:30 AM

Maybe you are looking for

  • Audio Issues with MacBook Pro (Late 2008)

    I am seeing an occasional issue with my MacBook Pro (Late 2008). The Audio will go out... and instead you will just hear static-like clicking sounds when and audio even happens. For example... when you have the up/down volume notification on... and y

  • ITunes Up grade will not install

    I have an upgrade for iTunes 12.0.1 that will not install. It starts and appears to install but doesn't complete. it shows in the area below as it has been installed but stays as a update. also when i check about iTunes it still shows 12.0.0 I have r

  • How can we use SX_OBJECT_CONVERT_OTF_INTO_PDF function module IN SCRIPT

    Hi Gurus, can any one inform me,how to use  SX_OBJECT_CONVERT_OTF_INTO_PDF  function module in script.. how can we convert  the script output into pdf file format.... i need your help......plz my mail id : [email protected]  Thanks, Rajkumar.A Edited

  • Using Podcast Capture with a mobile me feed?

    Hi, I have a mobile me account with about 5 gb in memory. I was wondering if I could use podcast capture (snow leopard 10.6.2) and use my idisk in mobile me as my feed/ server to connect to. I will eventually be publishing my podcast to Itunes and I

  • ITunes keeps saying the server could not be contacted when trying to restore my iPhone 5

    I'm trying to restore my iPhone 5 using iTunes, because my battery life has greatly decreased, and I believe it to be a software problem. Therefore I'm wanting to wipe the software completely, and update it again, but when I hit restore, it extracts