Session info via audititng and System trigger?

Hi,
I am using the following logon trigger to store all the session
information into a table "client_info".
When ever the user logon , his session information stores in the
client_info table.This is our requirement.
And when the session logoff its information will be deleted from
the table client_inf via Logoff trigger.
But the problem is that , The information will not be deleted from
the client info table , if the user logoff abnormally from the
database.
How to overcome this issue.
I am using auditing + logon and logoff trigger in order get the
session info.
Any idea will be great.
Regards
Bill>>
>>
>>
>>
CREATE OR REPLACE TRIGGER trg_client_info
AFTER LOGON ON DATABASE
BEGIN
execute immediate
'INSERT INTO client_info(session_id,client_name,sid,
serial#,workstation,host_name,logon_time , description)
select a.sessionid,a.username , b.sid, b.serial#, a.os_username,
b.machine,b.logon_time,a.comment_text from user_Audit_trail a ,
V$session b
where a.sessionid = b.audsid
and a.username = b.username
and a.sessionid=userenv(''sessionid'')';
commit;
END;
CREATE OR REPLACE TRIGGER logoff_session
BEFORE LOGOFF ON DATABASE
BEGIN
DELETE from client_info where session_id = userenv('sessionid');
commit;
END;

See here for a similar discussion:
LOGOFF TRIGGER for getting Ip address info,etc

Similar Messages

  • Facebook Security/Active Session Question via iPhone and Safari

    I am running Mac OS 10.8.3 with Safari 6.0.4 on an iMac. On Facebook using Safari, I set up "Login Approvals" which would require a security code. However, every once in a while under the "Active Sessions" I noticed an unknown session from an iOS 6 device from a different location other than the state I live in. I ended that activity. As a test, I accessed my Facebook account using my iPhone 5. I noticed that under Facebook's Active Sessions on Safari on my iMac, it lists my iPhone device as being in a different state. Why is that? Is there some general iPhone setting that I need to change?

    Hi, Thanks for the suggestion!
    To look at the keychain sounds helpful to solve the problem. It seems top be a problem with accessibility. I will have a look. But I also have decided to extend my RAM - since it is very true 128 MB really isn't much.
    Then for clarity:
    I have not followed an email link to download the security upgrade, but I used the usual software update manager - I just didn't find the proper english description, since my eMac talks german with me.
    I had had a look into some protokolls "system.log" - well I don't understand much what is written down there. There I might have got the confusion about the security server.
    There are several lines with Safari, like this one:
    date + time: localhost/Applications/Safari.app/Contens/MacOS/Safari:
    InitializeDiskArbitrationMessages: DiskArbitraitionRegister failed 1102
    The same is noticed about Mail
    These messages are followed by several lines telling:
    date + time: localhost lookupd[623]: NetInfo connection failed for server 127.0.0.1/local
    But I am afraid, I don't really know what this means.

  • Finding Session Info (Machine name and IP address)

    All,
    I have a procedure that was called by an applition about three days ago. The issue is I want to determine the IP address of the application server that called the procedure.
    We did not turn on auditing but the issue looks more like an unautorised call to the procedure and thats why we are more interested in th IP / machine name.

    Perhaps you are looking something like this ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:00.06
    satyaki>
    satyaki>
    satyaki>select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    13 rows selected.
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>set autotrace on
    satyaki>
    satyaki>
    satyaki>update /*+ Satyaki_De_On_22_Sep_2008_8_25_PM*/emp
      2  set ename = 'Travor'
      3  where empno = 7499;
    1 row updated.
    Elapsed: 00:00:00.95
    Execution Plan
    Plan hash value: 3659136155
    | Id  | Operation          | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT   |        |     1 |    10 |     1   (0)| 00:00:01 |
    |   1 |  UPDATE            | EMP    |       |       |            |          |
    |*  2 |   INDEX UNIQUE SCAN| PK_EMP |     1 |    10 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("EMPNO"=7499)
    Statistics
            145  recursive calls
              3  db block gets
             35  consistent gets
              3  physical reads
              0  redo size
            659  bytes sent via SQL*Net to client
            618  bytes received via SQL*Net from client
              3  SQL*Net roundtrips to/from client
              4  sorts (memory)
              0  sorts (disk)
              1  rows processed
    satyaki>
    satyaki>
    satyaki>commit;
    Commit complete.
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          7499 Travor     SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    13 rows selected.
    Elapsed: 00:00:00.21
    Execution Plan
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |    13 |   481 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| EMP  |    13 |   481 |     3   (0)| 00:00:01 |
    Statistics
              0  recursive calls
              0  db block gets
              7  consistent gets
              0  physical reads
              0  redo size
           1323  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
             13  rows processed
    satyaki>
    satyaki>set long 40000
    satyaki>
    satyaki>select *
      2  from v$sqltext
      3  where instr(sql_text,'Satyaki_De_On_22_Sep_2008_8_25_PM')> 0;
    ADDRESS  HASH_VALUE SQL_ID        COMMAND_TYPE      PIECE SQL_TEXT
    1D578E00 2499086422 ddfyupqaga22q            6          0 update /*+ Satyaki_De_On_22_Sep_2008_8_25_PM*/emp set en
    Elapsed: 00:00:00.18
    Execution Plan
    Plan hash value: 1787836842
    | Id  | Operation        | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |         |     1 |    98 |     0   (0)| 00:00:01 |
    |*  1 |  FIXED TABLE FULL| X$KGLNA |     1 |    98 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("KGLOBOCT"<>0 AND INSTR("NAME",'Satyaki_De_On_22_Sep_2008_
                  8_25_PM')>0 AND "INST_ID"=USERENV('INSTANCE'))
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            794  bytes sent via SQL*Net to client
            396  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    satyaki>You have to execute -> set autotrace on as i have shown in my example.
    Regards.
    Satyaki De.

  • Urgent!! How to publish a session Info Object once and pass it to sevaral forms

    Hi , I am using JDev 3.1. I have this problem when i create several forms in Jdev, where the wizard adds a sessionInfo object for each form. It also publishes them on the Infobus every time the form is called.I tried to use 1 marster sessionInfo Object from a marster form publish it there and then pass it to the other forms, but then the rowsets don't work propally. I f any one has any ideas please post as soon as possible.

    We do have a FAQ, and the topic is part of the FAQ. Unfortunately, it seems that the FAQ is not yet available on OTN. In the meantime, I'll post some of the content here which may be useful:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Q
    How do I share database information across multiple Frames?
    A
    This describes using a SDI with multiple frames that share common database information (for example, a master-detail application
    based on Dept-Emp where Dept information is dispayed in one frame, and Emp in another). For help in constructing an MDI
    application, please refer to the JDeveloper documentation.
    1.Create an empty project
    2.Add a class to this project (this class will contain the SessionInfo, RowSetInfo, AttributeInfo)
    3.Switch to Design mode for this class, and create the SessionInfo and RowSetInfos for your application by selecting the
    appropriate object from the Component Palette, then clicking in the Structure Pane.
    4.Set the properties of these objects as normal.
    5.Create an Application with an empty Frame
    6.In design mode, drop the desired controls into the Frame.
    7.You can set all the properties for these controls as usual except for the properties that bind the control to a datasource. To bind
    the controls to a datasource, switch to Source mode and add the appropriate code, for example:
    textFieldControl1.setDataItemName("infobus:/oracle/sessionInfo1/rowSetInfo1/Deptno");
    8.Repeat steps 6 and 7 for the second Frame.
    9.Modify the Application to instantiate the class that contains the database information, and optionally to display the second
    Frame (you may want to use a button on Frame1 that shows Frame2 instead).
    Note that if you wish to access the methods of the database information objects programmatically, you may need to make the objects
    public static.
    <HR></BLOCKQUOTE>
    Also in regards to Ali's comment that executing all these queries when the app starts, you may be interested in the following:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Q
    How do I delay the execution of one or more queries?
    A
    By default, all queries being used by RowSetInfos in your application are executed when SessionInfo.PublishSession() is invoked.
    There are two methods to potentially improve the performance of your DAC application if your queries return a large number of
    rows.
    1) As a workaround, you can dynamically alter the Where clause of your queries so that fewer rows (or no rows) are retrieved
    initially. For example, include the condition 1=2 in the Where clause. Then, based on some interaction from the user, you can set a
    "real" where clause condition. For information on dynamically altering the Where clause, see the appropriate FAQ.
    2) A slighter cleaner method is to delay the association and subsequent publishing of the RowSetInfo until AFTER
    SessionInfo.publishSession() is invoked. The following illustrates the order in which the key steps would be performed:
    1.define the all RowSetInfo objects and their attributes
    2.parent any RowSetInfo whose queries should be executed immediately to the SessionInfo object
    3.publish the SessionInfo
    4.parent any RowSetInfo objects whose queries should be delayed to the SessionInfo object
    5.when appropriate, publish the RowSetInfo using RowSetInfo.publishRowSet(true)
    <HR></BLOCKQUOTE>
    And, finally, the above makes reference to a FAQ for how to dynamically set the where clause:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Q
    How do I dynamically alter the Where clause of a RowSet?
    A
    There are two ways to accomplish this task. You can either call the setWhereClauseCondition on the RowSet, or you can use bind
    variables. Both of the samples below assume a TextField named textSearch in which the user has entered a search value.
    void buttonSearch_actionPerformed(ActionEvent e) {
    // Two ways of "refreshing" the RowSet with condition specified by user
    // Note that both samples use AttributeInfo.getColumnName() to get the appropriate
    // format of the column name which differs depending on whether the VO uses "Expert mode"
    // Example using dynamically created condition
    rowSetInfo1.setQueryCondition(NamerowSetInfo1.getColumnName() + " LIKE '" + textSearch.getText() + "%'");
    // Example using bind variable in condition (Note that the VO and its associated views must use ? style parameters)
    rowSetInfo1.setQueryCondition(NamerowSetInfo1.getColumnName() + " LIKE ?");
    rowSetInfo1.setQueryConditionParams(new Object[] {textSearch.getText() + "%"});
    // Execute the query in either case...
    rowSetInfo1.executeQuery();
    <HR></BLOCKQUOTE>
    I hope this helps!!!
    -- Brian
    null

  • Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?   What do I need to do dif

    Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?
    What do I need to do differently?

    The late, great Pondini was investigating that issue before he passed away.
    See here: https://discussions.apple.com/thread/5125969
    I think there might be information there on how to reset Time Machine to do a full backup. I think you basically have to reset it and start over.

  • HT4796 I did all of the above and the migration was successful, but I don't know where the files are.  It says they're under a different user, 'owner' .  I tried to access via sys pref/system/users&groups, but it asks for a password for owner which I don'

    Migration Assit , PC to MAC - The migration was successful, but I don't know where the files are.  It says they're under a different user, 'owner' .  I tried to access via sys pref/system/users&groups, but it asks for a password for owner which I don't have.  What must I do to access my files?
    My experience is with MS PC's I'm new with the MAC Book Pro.

    Then, see if this works:
    Mac OS X 10.6 Help- If you forget your administrator password
    If you are running Lion or Mountain Lion you may need to do the following to access the same utility:
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    When the menubar appears select Terminal from the Utilities menu. Enter resetpassword at the prompt and press RETURN. Follow instructions in the dialog window that will appear.
    Or see Reset a Mac OS X 10.7 Lion Password and OS X Lion- Apple ID can be used to reset your user account password.

  • My iphone 5s is connected via bluetooth with mercedes benz e class. I can make the calls and receive the calls but music of my phone can't be play via car music system so pleaase help.

    My iphone 5 s is connected via bluetooth system with my car mercedes benz e class. I can make calls & receive calls but my phone music can't be play via car music system. The car muisc system can't find external devise if it is connected with i phone 5 s via bluetooth or via cable.

    Hello parthivfromahmedabad,
    Thanks for using Apple Support Communities.
    To troubleshoot issues with car stereo bluetooth connections please follow the steps in the article below.
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/TS3581
    Take care,
    Alex H.

  • Error from the session log between Informatica and SAP BI

    HI friends,
          I am working extraction from bi by Informatica 8.6.1.
          now, I start the process Chain from bi, and I got a error from Informatica's session log.Pls help me to figure out what's going on during me execution.
    Severity     Timestamp     Node     Thread     Message Code     Message
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6228     Writing session output to log file [D:\Informatica\PowerCenter8.6.1\server\infa_shared\SessLogs\s_taorh.log].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6014     Initializing session [s_taorh] at [Fri Dec 17 11:01:31 2010].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6683     Repository Name: [RepService_dcinfa01]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6684     Server Name: [IntService_dcinfa01]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6686     Folder: [xzTraining]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6685     Workflow: [wf_taorh] Run Instance Name: [] Run Id: [43]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6101     Mapping name: m_taorh.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6964     Date format for the Session is [MM/DD/YYYY HH24:MI:SS.US]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6703     Session [s_taorh] is run by 32-bit Integration Service  [node01_dcinfa01], version [8.6.1], build [1218].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24058     Running Partition Group [1].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24000     Parallel Pipeline Engine initializing.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24001     Parallel Pipeline Engine running.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24003     Initializing session run.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     CMN_1569     Server Mode: [UNICODE]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     CMN_1570     Server Code page: [MS Windows Simplified Chinese, superset of GB 2312-80, EUC encoding]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6151     The session sort order is [Binary].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6156     Using low precision processing.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6180     Deadlock retry logic will not be implemented.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     SDKS_38029     Loaded plug-in 300320: [PowerExchange for SAP BW - OHS reader plugin 8.6.1 build 183].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     SDKS_38024     Plug-in 300320 initialization complete.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     PCCL_97003     [WARNING] Real-time session is not enabled for source [AMGDSQ_IS_TAORH]. Real-time Flush Latency value must be 1 or higher for a session to run in real time.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     SDKS_38016     Reader SDK plug-in intialization complete.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6307     DTM error log disabled.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TE_7022     TShmWriter: Initialized
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6007     DTM initialized successfully for session [s_taorh]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     PETL_24033     All DTM Connection Info: [<NONE>].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24004     PETL_24004 Starting pre-session tasks. : (Fri Dec 17 11:01:31 2010)
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24027     PETL_24027 Pre-session task completed successfully. : (Fri Dec 17 11:01:31 2010)
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     PETL_24006     Starting data movement.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6660     Total Buffer Pool size is 1219648 bytes and Block size is 65536 bytes.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     READER_1_1_1     OHS_99013     [INFO] Partition 0: Connecting to SAP system with DESTINATION = sapbw, USER = taorh, CLIENT = 800, LANGUAGE = en
    INFO     2010-12-17 11:01:32     node01_dcinfa01     READER_1_1_1     OHS_99016     [INFO] Partition 0: BW extraction for Request ID [163] has started.
    Edited by: bi_tao on Dec 18, 2010 11:46 AM

    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8167     Start loading table [VENDOR] at: Fri Dec 17 11:01:32 2010
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8168     End loading table [VENDOR] at: Fri Dec 17 11:01:32 2010
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8141     
    Commit on end-of-data  Fri Dec 17 11:01:32 2010
    ===================================================
    WRT_8036 Target: VENDOR (Instance Name: [VENDOR])
    WRT_8044 No data loaded for this target
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8143     
    Commit at end of Load Order Group  Fri Dec 17 11:01:32 2010
    ===================================================
    WRT_8036 Target: VENDOR (Instance Name: [VENDOR])
    WRT_8044 No data loaded for this target
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8035     Load complete time: Fri Dec 17 11:01:32 2010
    LOAD SUMMARY
    ============
    WRT_8036 Target: VENDOR (Instance Name: [VENDOR])
    WRT_8044 No data loaded for this target
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8043     ****END LOAD SESSION****
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8006     Writer run completed.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24031     
    RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [AMGDSQ_IS_TAORH] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [AMGDSQ_IS_TAORH] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [VENDOR] has completed. The total run time was insufficient for any meaningful statistics.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24005     PETL_24005 Starting post-session tasks. : (Fri Dec 17 11:01:33 2010)
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24029     PETL_24029 Post-session task completed successfully. : (Fri Dec 17 11:01:33 2010)
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MAPPING     SDKS_38025     Plug-in 300320 deinitialized and unloaded with status [-1].
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MAPPING     SDKS_38018     Reader SDK plug-ins deinitialized with status [-1].
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MAPPING     TM_6018     The session completed with [0] row transformation errors.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24002     Parallel Pipeline Engine finished.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     DIRECTOR     PETL_24013     Session run completed with failure.
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6022     
    SESSION LOAD SUMMARY
    ================================================
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6252     Source Load Summary.
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     CMN_1537     Table: [AMGDSQ_IS_TAORH] (Instance Name: [AMGDSQ_IS_TAORH]) with group id[1] with view name [Group1]
          Rows Output [0], Rows Affected [0], Rows Applied [0], Rows Rejected[0]
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6253     Target Load Summary.
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     CMN_1740     Table: [VENDOR] (Instance Name: [VENDOR])
          Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6023     
    ===================================================
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6020     Session [s_taorh] completed at [Fri Dec 17 11:01:33 2010].

  • Connection to CRX via RMI and getting WeakReference value..... with an exception!

    Hi there,
    I have the following problem.
    I opened a ticket in Day Care Support system, about CRX users/group membership that got lost while synchronization with our LDAP server.
    Although when the user and the group had been created (and therefore taken from that same LDAP server), the membership was good.... but after some time the membership got lost......
    So what i am trying to do now is a Java program that connects to CRX via RMI.
    And gets the list of all the users from a group (aka membership).
    The idea is to monitor the membership each seconds.
    But when trying to get the property "rep:members" of the group, I have the following exception :
    javax.jcr.ValueFormatException: Unknown value type 10
              at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:13 9)
              at org.apache.jackrabbit.rmi.server.ServerProperty.getValues(ServerProperty.java:71)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
              at java.lang.reflect.Method.invoke(Method.java:611)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)"
    I searched a little bit and found that "10" is the number for type WeakReference.
    That's normal to me because memberships are stored in the group as a list reference to users linked to that group....
    Anyways, what's not normal to me is that when the type is "10" the API does not let me get the Value (cf. ServerProperty.getValues() method)
    Here is the program:
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import javax.imageio.spi.ServiceRegistry;
    import javax.jcr.Node;
    import javax.jcr.NodeIterator;
    import javax.jcr.Property;
    import javax.jcr.PropertyIterator;
    import javax.jcr.Repository;
    import javax.jcr.RepositoryException;
    import javax.jcr.RepositoryFactory;
    import javax.jcr.Session;
    import javax.jcr.SimpleCredentials;
    import javax.jcr.Value;
    public class Test {
              public static void main(String[] args) {
                        String uri = "rmi://sma11c02.............:1234/crx";
                        String username = "admin";
                        char[] password = {....................};
                        String workspace = "crx.default";
                        String nodePath = "/home/groups/a";
                        Repository repository = null;
                        Session session = null;
                        try {
                                  // Connection to repository via RMI
                                            Map<String, String> jcrParameters = new HashMap<String, String>();
                                            jcrParameters.put("org.apache.jackrabbit.repository.uri", uri);
                                            Iterator<RepositoryFactory> iterator = ServiceRegistry.lookupProviders(RepositoryFactory.class);
                                            while (null == repository && iterator.hasNext()) {
                                                      repository = iterator.next().getRepository(jcrParameters);
                                  if (repository == null) {
                                            throw new IllegalStateException("Problem with connection to the repository...");
                                  // Creation of a session to the workspace
                                  session = repository.login(new SimpleCredentials(username, password), workspace);
                                  if (session == null) {
                                            throw new IllegalStateException("Problem with creation of session to the workspace...");
                                  // Get the targetted node
                                  Node node = session.getNode(nodePath);
                                  System.out.println("Node : " + node.getName());
                                  System.out.println();
                                  PropertyIterator properties = node.getProperties();
                                  System.out.println("List of properties for this node :");
                                  while (properties.hasNext()) {
                                            Property property = properties.nextProperty();
                                            System.out.print("\t"+property.getName() + " : ");
                                            if (property.isMultiple()) {
                                                      Value[] values = property.getValues();
                                                      for (int i = 0; i < values.length; i++) {
                                                                System.out.print(values[i]);
                                                                if (i+1 != values.length) {
                                                                          System.out.print(", ");
                                                      System.out.println();
                                            } else {
                                                      Value value = property.getValue();
                                                      System.out.println(value);
                                  System.out.println();
                                  NodeIterator kids = node.getNodes();
                                  System.out.println("List of children nodes for this node :");
                                  while (kids.hasNext()) {
                                            Node kid = kids.nextNode();
                                            System.out.println("\tChild node : "+kid.getName());
                                            PropertyIterator kidProperties = kid.getProperties();
                                            System.out.println("List of properties for this child :");
                                            while (kidProperties.hasNext()) {
                                                      Property property = kidProperties.nextProperty();
                                                      System.out.print("\t"+property.getName() + " : ");
                                                      if (property.isMultiple()) {
                                                                Value[] values = property.getValues();
                                                                for (int i = 0; i < values.length; i++) {
                                                                          System.out.print(values[i]);
                                                                          if (i+1 != values.length) {
                                                                                    System.out.print(", ");
                                                                System.out.println();
                                                      } else {
                                                                Value value = property.getValue();
                                                                System.out.println(value);
                                            System.out.println();
                        } catch (RepositoryException e) {
                                  e.printStackTrace();
                        } finally {
                                  if (session != null) {
                                            session.logout();
    Here is the output of the below program:
    Node : a
    List of properties for this node :
              jcr:createdBy : admin
              jcr:mixinTypes : mix:lockable
              jcr:created : 2011-10-25T16:58:48.140+02:00
              jcr:primaryType : rep:AuthorizableFolder
    List of children nodes for this node :
              Child node : administrators
    List of properties for this child :
              jcr:createdBy : admin
              rep:principalName : administrators
              rep:members : javax.jcr.ValueFormatException: Unknown value type 10
              at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:13 9)
              at org.apache.jackrabbit.rmi.server.ServerProperty.getValues(ServerProperty.java:71)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
              at java.lang.reflect.Method.invoke(Method.java:611)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
              at sun.rmi.transport.Transport$1.run(Transport.java:171)
              at java.security.AccessController.doPrivileged(AccessController.java:284)
              at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
              at java.lang.Thread.run(Thread.java:736)
              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
              at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
              at sun.rmi.server.UnicastRef.invoke(Unknown Source)
              at org.apache.jackrabbit.rmi.server.ServerProperty_Stub.getValues(Unknown Source)
              at org.apache.jackrabbit.rmi.client.ClientProperty.getValues(ClientProperty.java:173)
              at Test.main(Test.java:96)
    Here is the list of jar files i'm using with this program:
              2862818581          61388           crx-rmi-2.2.0.jar
              732434195           335603           jackrabbit-jcr-commons-2.4.0.jar
              1107929681           411330           jackrabbit-jcr-rmi-2.4.0.jar
              3096295771           69246           jcr-2.0.jar
              1206850944           367444           log4j-1.2.14.jar
              685167282           25962           slf4j-api-1.6.4.jar
              2025068856           9748           slf4j-log4j12-1.6.4.jar
    Finally, we are using CQ 5.4 (CRX 2.2) with the latest hotfix and under Websphere 7.0
    Best regards,
    Vincent FINET

    Je suis absent(e) du bureau jusqu'au 17/04/2012
    Je suis absent.
    Je répondrai à votre sollicitation à mon retour le 17 avril 2012.
    Cordialement,
    Vincent FINET
    Remarque : ceci est une réponse automatique à votre message  "[CQ5]
    Connection to CRX via RMI and getting WeakReference value..... with an
    exception!" envoyé le 13/4/12 0:32:14.
    C'est la seule notification que vous recevrez pendant l'absence de cette
    personne.
    Le papier est un bien precieux, ne le gaspillez pas. N'imprimez ce document que si vous en avez vraiment besoin !
    Ce message est confidentiel.
    Sous reserve de tout accord conclu par ecrit entre vous et La Banque Postale, son contenu ne represente en aucun cas un engagement de la part de La Banque Postale.
    Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.
    Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur.

  • How to save user name and system date in a table

    I have a form that allow users to enter some information...
    I want to save user name in one of the columns and system date in another column by default when the user submit the form to save data...
    Please advice...
    Thanks

    Hi talbo,
    The most reliable method is to use a before-insert trigger on your table. This way the columns will be set properly no matter how rows are inserted (via your app or any other means). Given your user name column is called "CREATE_USER" and your date column is called "CREATE_DATE" for example - include these lines in a before-insert trigger:
    :NEW.CREATE_USER := NVL(V('APP_USER'), USER);
    SELECT SYSDATE INTO :NEW.CREATE_DATE FROM DUAL;The NVL(V('APP_USER'), USER) will set CREATE_USER to the current ApEx application user if the row is created from within the application, or to the current database user if the row is created outside the application.
    Hope this helps,
    John
    If you find this information useful, please remember to mark the post "helpful" or "correct" so that others may benefit as well.

  • Delete session after error 023 and WP has reached abap/heaplimit = 40000000

    Hello,
    I had upgraded my system's kernel to 7.21 401 last weekend and started getting below errors.
         "Delete session after error 023" and "WP has reached abap/heaplimit = 40000000"
    When I change the abap/heaplimit parameter to 6000000000 program runs without error.
    This parameter value is out of max value of this parameter.
    I donot want to give the parameter over max allowed value.
    I also changed dbsl patch to 7.21 418 but no solution.
    I searched through sap notes and scn but could not find an answer to my problem.
    What could be the relation between kernel upgrade and this parameter?
    Why the program was working with Kernel 7.21 316 and not working with 7.21 401?
    I inserted SM21 and developer trace file below.
    Can you help about the issue, please?
    Thanks and Regards,
    Yuksel AKCINAR
    SM21:
         11:56:52 DIA  010 200 USER1 TX01          R4  7 Delete session 004 after error 023
    dev_wx:
    L Fri Mar 13 11:52:31 2015
    L  EVTSDL: Begin of FORM PROCESS_EVENT_TRIGGERED_JOBS
    L  EVTSDL:    Event raised: SAP_END_OF_JOB
    L  EVTSDL:    Event parameters: SLCA_LCK_SYNCHOWNERS            10523100
    L  EVTSDL:    Begin of FORM SELECT_EVENT_TRIGGERED_JOBS
    L  EVTSDL:      Eventhistory > There are no active profiles of criteria type 'EVTHIS'
    L  EVTSDL:    End of FORM SELECT_EVENT_TRIGGERED_JOBS
    L  EVTSDL: End of FORM PROCESS_EVENT_TRIGGERED_JOBS
    L  TIMESDL: CLEANUP_MUTEX try to grasp for server:
    L  TIMESDL: arq01_ARQ_10
    L  TIMESDL: CLEANUP_MUTEX not grasped (is busy)

    A Fri Mar 13 11:56:35 2015
    A  WP has reached abap/heaplimit = 40000000 bytes

    A Fri Mar 13 11:56:39 2015
    A  SelMemClass: heap quota (DIA) exceeded 2000000000 2000030480

    A Fri Mar 13 11:56:40 2015
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.
    A  ** RABAX: level LEV_RX_HOTSPOT_TRACE entered.
    A  ** RABAX: level LEV_RX_HOTSPOT_TRACE completed.
    A  ** RABAX: level LEV_RX_SAVE_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_SAVE_SHMLOCKS completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    C  Call to DbSlRollback96 while DBIF already active in DbSlExeRead96
    B  ***LOG BZY=> unexpected return code 1 calling DbSlRollback [dbcon        3820]
    B  ***LOG BYJ=> database function ROLLBACK for connection R/3 failed [dbcon        3823]
    B  *** ERROR => DISTRIBUTED_TA_FAILED:
    [dbcon.c      2029]
    B  {root-id=0050569300301EE4B2AC40086FE743BF}_{conn-id=00000000000000000000000000000000}_0
    B  00: name=R/3, con_id=000000000, state=ACTIVE      , tx=NO , bc=NO , hc=NO , perm=YES, reco=NO , info=NO ,
    B      timeout=000, con_max=255, con_opt=255, occ=NO , prog=
    M  ***LOG R39=> ThIRollBack, db_rollback ( 016384) [thxxhead.c   14956]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThIRollBack: db_rollback (step 4, th_errno 18, action 2, level 1) [thxxhead.c   11560]
    M  {root-id=0050569300301EE4B2AC40086FE743BF}_{conn-id=00000000000000000000000000000000}_0

    Hi Yuksel ,
    From the trace file it seems  it is a parallel processing Jobs . Has anything changed  ( In terms of number of parallel background work  process ) in this Job .
    If this relates to only one job  dont think this  increased memory could be because of the kernel patching .
    The only thing i could think of is the following ( 1713986 - Installation of kernel 721 (EXT) ) - The note is valid for 721 als
    5.6 Dynamic work processes (NetWeaver 7.00/7.01)
    The 720 and 721 kernel versions support the dynamic increase of the number of work processes at runtime. However, this function is not fully compatible with NW 7.00 and NW 7.01. To prevent errors from occurring, deactivate it by setting the following parameters:
    rdisp/wp_no_restricted = 0
    rdisp/configurable_wp_no = 0
    rdisp/dynamic_wp_check = FALSE
    rdisp/wp_max_no = Sum of:( rdisp/wp_no_dia + rdisp/wp_no_vb2 + rdisp/wp_no_btc + rdisp/wp_no_vb + rdisp/wp_no_spo + rdisp/wp_no_enq ).
    Mind that rdisp/wp_max_no has the default value DEFAULT, which will add two unwanted dynamic processes if not set the number of configured, classical wp types.
    Check the parameters and try again after a restart .
    Believe have seen in many projects  functional consultants complaining  the issue is after the patch upgrade . Does this fall in that category
    Thanks ,
    Manu

  • System trigger error

    Hi Guys,
    I have created system trigger as follows
    ONLOGON
    declare
    s_date number(2);
    p_count number(10);
    BEGIN
    select to_char(sysdate,'DD') into s_date from dual;
    if s_date in (1,7,14,21,28) then
    select count(*) into p_count from t_bug;
    if p_count >20000 then
    --delete t_bug;
    --delete t_err_audits;
    execute immediate 'truncate table t_bug';
    execute immediate 'truncate table t_err_audits';
    end if;
    end if;
    COMMIT;
    END;
    While logon on date 21-AUG-09 system hangs and giving errors
    *** SESSION ID:(38.44) 2009-08-21 14:51:36.234
    Skipped error 604 during the execution of JBP_WEST.ON_LOGON_DELETE
    *** 2009-08-21 14:51:36.343
    ksedmp: internal or fatal error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30511: invalid DDL operation in system triggers
    ORA-06512: at line 11
    What is wrong here. Guide me to correct the problem.
    Arvind2
    Edited by: Arvind2 on Aug 21, 2009 3:19 AM

    Arvind2
    Apparently you didn't look up the error message
    ORA-30511: invalid DDL operation in system triggers
    In the online documentation.
    Most people posting here sadly refuse to look up any error message.
    Please tell me, when you look at your own code, what part of this error message you don't understand?
    It is quite self-explanatory!!!!
    'Kindly do the needful' and don't ask for clarification of the obvious.
    There is also no reason why you couldn't run this as an independent PL/SQL job.
    Sybrand Bakker
    Senior Oracle DBA

  • How to pass session info to applet?

    Hi all,
    Is it possible to pass a browers' session id to applet in Tomcat server? I've known that an applet can get a session info from brower.
    Howserver, since I can't chage a applet code I want to modify Tomcat server to maintain session.
    Is there any suggestions?
    thanks.

    The Servlet will normally communicate the session id with a web client (e.g., browser) via cookies. A random session UID is generated and associated with a given client's session. The id is sent back to the client via the http-header set-cookie. On subsequent requests, the browser will include the cookie http-header containing the UID. Some implementations may opt to store the session UID in a hidden form field, though this is less common.
    I'm not sure where the applet is in your architecture. However, if you send and receive HTTP messages, you should be able to store the id and ensure that you send your own requests to the Servlet with the appropriate cookie http-header.
    - Saish

  • Lock sys and system user

    Dear all,
    We have 10.2.0.4 on solaris 10.
    Currently we had I.T audit on our environment and auditor commented to lock sys and system user and use one user with any name (not oracle generic name) and grant him sys and system privilege and to use this user for admin purposes. is this right ?.. is this recommended ?
    Please advise

    Hello,
    I think it's not a right way to lock SYS.
    More over, if you connect as OS Administrator (root for Unix/linux) on the server and use
    OS Authentification then, you can connect on SYS AS SYSDBA anyway.
    So, in fact, it's not possible to lock out SYS even if you execute the following:
    ALTER USER SYS ACCOUNT LOCK;If you want to prevent access on SYS you should set a complex and long password and
    apply the same rule for the Administrator / root OS user.
    These passwords must be known by very few and well - identified people and written nowhere
    (in any files or scripts).
    More over, you should limit DBA roles to SYS and SYSTEM and remove this powerful Role
    from other Oracle Users.
    Then, you may enable session AUDIT so as to control the connexion on the database and,
    create a LOGON TRIGGER so as to check the login, workstation, program of the end users
    who connect to the database.
    On 10g, EM DBConsole shows an alert everytime a User is connected with SYS.
    Please, find enclosed, an interesting document written by Pete Finigan on this topic:
    http://www.insight.co.uk/files/presentations/Hacking%20and%20securing%20Oracle.pdf
    Hope this help.
    Best regards,
    Jean-Valentin

  • Encrypt sys and system tables

    How to encrypt/restrict sys and system tables so that no user can view them.
    On one of the database few user are having dba access.
    Is it possible to restrict their access on the dictionary tables.

    I have not heard of anyone encrypting the sys and system schemas, and suspect it is not possible due to the number of tools that need access to these tables and views (OEM, RMAN etc)
    Maybe the application needs to run "create user" or "select * from v$session", but this does not mean that it needs DBA role. Turn on tracing or auditing to find out what priveleges the application actually needs, then grant minimum priveleges and revoke DBA.
    In the worst case if the application won't start unless it has been granted a role called "DBA" then you may be able to revoke all priveleges from the DBA role and then grant them via a custom role called "MY_DBA", but there is potential for this to go very wrong, so test in a DEV environment first, and I doubt Oracle Support would approve.
    Or you could use Database Vault ....

Maybe you are looking for

  • BT Infinity 2 and Master Socket.

    Hello all. We ordered our BT infinity 2 and telephone line and they said the engineer will be coming on the 13th to set things up. After looking through the installation of BT infinity I found out that it has to be connected to a master socket. This

  • Uninstall then install problem

    OK. I decide to ask this question now befroe I get total frustration. I had problem since update with 6u2 (successful for 6u1). So I decide to clean up all Java related files (uninstall using the Windows Installer CleanUp Utility Installer, It was no

  • Using 'touch and hold' doesn't work on xoom

    When typing on the xoom I am not able to use the 'touch and hold' to bring up anything i.e.: the other smiley-faces (there's supposedly 15 of them), foreign language equivalents, fractions, etc.  I have tried everything from changing the language to

  • Is there any way to recover my Apple ID age?

    I must have incorrectly entered my age when creating my Apple ID and I was wondering if there is any way to recover it and perhaps change it. Replies are greatly appriciated, thank you.

  • FW order PR tp FW order PO conversion..

    Hi .. i want to create a Framework Purchase order with reference to Frame work PR.. For that purpose , i have created A FW PR with itme category Standard.. But while converting in PO, i want item category to be B.i.e. limit. System is not allowing to