Alter session for all

hi,
how can i run alter session for all users: i need to do follwoing:
alter session set "_fix_control"="7499258:off";
want to do it for all session can it be done?
thanks

user12020966 wrote:
Hi here is the solution they (Oracle Support) told me to do :
Most of the issues are solved just by Disabling cost based star transformation.
The remaining with alter session set "_fix_control"="7499258:off"; I was trying to set if off for all user because i don;t know which user might be causing the error (ora600)
also,, how to disable cost based star transformation?
thanksIf Oracle support told you to do this, don't you think it would be better to ask them your questions (how to best implement) instead of a forum of volunteers that has absolutely no context surrounding your question?
I think it would be, but that's just my opinion.

Similar Messages

  • Only one X session for all normal users combined possible

    Hi, I'm currently experimenting with the new xorg-server 1.16 with which it is possible to start and run the X server as a user.
    Setup: No display manager running. startx is used. No modifications of global xserverrc or other files.
    ~/.xinitrc looks like this for all users:
    startxfce4
    As root it is possible to start multiple X sessions (on different virtual terminals of course).
    But as a user only one X session is possible.
    After user flo has started a X session on tty1, the following occurs:
    Permissions for tty2 before startx
    crw------- 1 boolian tty 4, 2 24. Jul 10:24 /dev/tty2
    If I try to start a second X session via startx on another virtual terminal (here: tty2), the process aborts with the following message:
    X.Org X Server 1.16.0
    Release Date: 2014-07-16
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.15.1-1-ARCH x86_64
    Current Operating System: Linux flo.tower 3.15.6-1-ARCH #1 SMP PREEMPT Fri Jul 18 07:06:42 CEST 2014 x86_64
    Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw initrd=../initramfs-linux.img
    Build Date: 18 July 2014 07:12:40PM
    Current version of pixman: 0.32.6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/home/boolian/.local/share/xorg/Xorg.1.log", Time: Thu Jul 24 10:24:21 2014
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (EE)
    Fatal server error:
    (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
    (EE)
    (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    (EE) Please also check the log file at "/home/boolian/.local/share/xorg/Xorg.1.log" for additional information.
    (EE)
    (EE) Server terminated with error (1). Closing log file.
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    After this unsuccessful call to startx, the permissions for the tty2 have changed, but only the owner not the rwx flags.
    crw------- 1 root tty 4, 2 24. Jul 10:24 /dev/tty2
    Interestingly the permissions for the tty with the running X server stay as expected all the time.
    crw------- 1 flo tty 4, 1 24. Jul 10:37 /dev/tty1
    My first guess was, that the suid bit of Xorg.wrap has something to do with it. But I moved the binary and the behavior stayed the same.
    Another guess is, that systemd-logind has something to do with it as it is repsonsible for the permissions (see [0] and [1]).
    Can anybody reproduce this behaviour?
    Has anybody hints where to go next? I'm currently building a new kernel with the audit framework enabled to check which process changes the permission of the tty when startx is called.
    I'm reluctant to open a bug report as I know too little about the problem or whether it is a bug at all.
    Greetings.
    [0]http://dvdhrm.wordpress.com/2013/08/24/ … -on-linux/
    [1]http://dvdhrm.wordpress.com/2013/08/24/ … ing-works/

    I have captured all systemcalls which go to /dev/tty2 (which is dev with major 4 and minor 2) with the following auditctl line:
    -a always,exit -F arch=x86_64 -S all -F devmajor=4 -F devminor=2 -F key=vt2222
    This is the result:
    [root@flo rules.d]# ausearch -i -k vt2222
    type=CONFIG_CHANGE msg=audit(24.07.2014 13:19:49.400:83) : auid=flo ses=1 op="add rule" key=vt2222 list=exit res=yes
    type=PROCTITLE msg=audit(24.07.2014 13:19:53.749:84) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:53.749:84) : item=0 name=/dev/tty2 inode=24 dev=00:05 mode=character,620 ouid=root ogid=tty rdev=04:02 nametype=NORMAL
    type=CWD msg=audit(24.07.2014 13:19:53.749:84) : cwd=/
    type=SYSCALL msg=audit(24.07.2014 13:19:53.749:84) : arch=x86_64 syscall=stat success=yes exit=0 a0=0x6665a0 a1=0x7fffea504e50 a2=0x7fffea504e50 a3=0x666590 items=1 ppid=1 pid=5903 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=tty2 ses=unset comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:53.749:85) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:53.749:85) : item=0 name=/dev/tty2 inode=24 dev=00:05 mode=character,620 ouid=root ogid=tty rdev=04:02 nametype=NORMAL
    type=CWD msg=audit(24.07.2014 13:19:53.749:85) : cwd=/
    type=SYSCALL msg=audit(24.07.2014 13:19:53.749:85) : arch=x86_64 syscall=lstat success=yes exit=0 a0=0x6665a0 a1=0x7fffea5050c0 a2=0x7fffea5050c0 a3=0x7fffea504d00 items=1 ppid=1 pid=5903 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=tty2 ses=unset comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:53.749:86) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:53.749:86) : item=0 name=/dev/tty2 inode=24 dev=00:05 mode=character,620 ouid=root ogid=tty rdev=04:02 nametype=NORMAL
    type=CWD msg=audit(24.07.2014 13:19:53.749:86) : cwd=/
    type=SYSCALL msg=audit(24.07.2014 13:19:53.749:86) : arch=x86_64 syscall=access success=yes exit=0 a0=0x6665a0 a1=W_OK|R_OK a2=0x7fffea5050c0 a3=0x7fffea504d00 items=1 ppid=1 pid=5903 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=tty2 ses=unset comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:53.749:87) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:53.749:87) : item=0 name=(null) inode=24 dev=00:05 mode=character,620 ouid=root ogid=tty rdev=04:02 nametype=NORMAL
    type=SYSCALL msg=audit(24.07.2014 13:19:53.749:87) : arch=x86_64 syscall=fchown success=yes exit=0 a0=0x0 a1=0x0 a2=0x0 a3=0x7fffea504d00 items=1 ppid=1 pid=5903 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=tty2 ses=unset comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:53.749:88) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:53.749:88) : item=0 name=(null) inode=24 dev=00:05 mode=character,620 ouid=root ogid=root rdev=04:02 nametype=NORMAL
    type=SYSCALL msg=audit(24.07.2014 13:19:53.749:88) : arch=x86_64 syscall=fchmod success=yes exit=0 a0=0x0 a1=0600 a2=0x0 a3=0x7fffea504d00 items=1 ppid=1 pid=5903 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=tty2 ses=unset comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:53.749:89) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:53.749:89) : item=0 name=/dev/tty2 inode=24 dev=00:05 mode=character,600 ouid=root ogid=root rdev=04:02 nametype=NORMAL
    type=CWD msg=audit(24.07.2014 13:19:53.749:89) : cwd=/
    type=SYSCALL msg=audit(24.07.2014 13:19:53.749:89) : arch=x86_64 syscall=open success=yes exit=0 a0=0x6665a0 a1=O_RDWR|O_NONBLOCK a2=0x7f7a7bb9edf0 a3=0x7fffea504ce0 items=1 ppid=1 pid=5903 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=tty2 ses=unset comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:54.409:91) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:54.409:91) : item=0 name=(null) inode=24 dev=00:05 mode=character,600 ouid=root ogid=root rdev=04:02 nametype=NORMAL
    type=SYSCALL msg=audit(24.07.2014 13:19:54.409:91) : arch=x86_64 syscall=fchown success=yes exit=0 a0=0x0 a1=0x3e8 a2=0x5 a3=0x683ce7 items=1 ppid=1 pid=5903 auid=flo uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=users fsgid=root tty=tty2 ses=15 comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:54.409:92) : proctitle=/sbin/agetty
    type=PATH msg=audit(24.07.2014 13:19:54.409:92) : item=0 name=(null) inode=24 dev=00:05 mode=character,600 ouid=flo ogid=tty rdev=04:02 nametype=NORMAL
    type=SYSCALL msg=audit(24.07.2014 13:19:54.409:92) : arch=x86_64 syscall=fchmod success=yes exit=0 a0=0x0 a1=0600 a2=0x5 a3=0x683ce7 items=1 ppid=1 pid=5903 auid=flo uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=users fsgid=root tty=tty2 ses=15 comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:54.413:93) : proctitle=login -- flo
    type=PATH msg=audit(24.07.2014 13:19:54.413:93) : item=0 name=/dev/tty2 inode=24 dev=00:05 mode=character,600 ouid=flo ogid=tty rdev=04:02 nametype=NORMAL
    type=CWD msg=audit(24.07.2014 13:19:54.413:93) : cwd=/
    type=SYSCALL msg=audit(24.07.2014 13:19:54.413:93) : arch=x86_64 syscall=open success=yes exit=3 a0=0x6665a0 a1=O_RDWR|O_NONBLOCK a2=0x0 a3=0x7fffea504d00 items=1 ppid=5903 pid=5914 auid=flo uid=root gid=users euid=root suid=root fsuid=root egid=users sgid=users fsgid=users tty=tty2 ses=15 comm=login exe=/usr/bin/login key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:19:54.416:94) : proctitle=/usr/bin/tty
    type=PATH msg=audit(24.07.2014 13:19:54.416:94) : item=0 name=/dev/tty2 inode=24 dev=00:05 mode=character,600 ouid=flo ogid=tty rdev=04:02 nametype=NORMAL
    type=CWD msg=audit(24.07.2014 13:19:54.416:94) : cwd=/home/flo
    type=SYSCALL msg=audit(24.07.2014 13:19:54.416:94) : arch=x86_64 syscall=stat success=yes exit=0 a0=0x10d4060 a1=0x7fff388a7470 a2=0x7fff388a7470 a3=0x10d4050 items=1 ppid=5915 pid=5916 auid=flo uid=flo gid=users euid=flo suid=flo fsuid=flo egid=users sgid=users fsgid=users tty=tty2 ses=15 comm=tty exe=/usr/bin/tty key=vt2222
    type=PROCTITLE msg=audit(24.07.2014 13:20:38.319:95) : proctitle=/usr/bin/Xorg.bin
    type=PATH msg=audit(24.07.2014 13:20:38.319:95) : item=0 name=/dev/tty2 inode=24 dev=00:05 mode=character,600 ouid=root ogid=tty rdev=04:02 nametype=NORMAL
    type=CWD msg=audit(24.07.2014 13:20:38.319:95) : cwd=/home/flo
    type=SYSCALL msg=audit(24.07.2014 13:20:38.319:95) : arch=x86_64 syscall=open success=no exit=-13(Permission denied) a0=0x82715c a1=O_RDWR|O_NONBLOCK a2=0x0 a3=0x0 items=1 ppid=5937 pid=5938 auid=flo uid=flo gid=users euid=flo suid=flo fsuid=flo egid=users sgid=users fsgid=users tty=tty2 ses=15 comm=Xorg.bin exe=/usr/bin/Xorg.bin key=vt2222
    Look at the last block in PATH and the block before the last. The ouid changes (owner of file) but there is no process which does this.
    Am I deciphering this right?
    Greetings

  • Single session for all Application Modules

    Hello,
    I've got an application that has several Application Modules. All these modules need some data that are set from time to time. I've written some code that calls getSession().getUserData().put("myData",myData). After this method was called in another Application Module i want to retrieve myData with getSession().getUserData().get("myData"). But the result depends if I use 2-tier or 3-tier. In 2-tie I get myData while in 3-tier I get null. My question is:
    Is there a Session object or any other data instance that could be accessed from all Application Modules for on application instance.
    E.g. I've got two user (A,B) who start my application. Through using my app several instance of Application Modules are created. All Application Modules that are created for the instance of User A should be able to share his user name and some other dynamic data while the Application Modules created for B should have no access to that data.
    Doe anybody know if static data of an Application Module are a possible solution?
    regards
    Joerg

    Hi Joerg,
    I am not 100% sure what you are trying to achieve, and with which version of JDeveloper/ ADF, technologies (JSP, Swing), etc, but I can tell you that I have been experimenting with single session accounts myself within a rich-client Swing environment, as I have experienced Oracle DBA guys who want to control user authentication via Oracle accounts (I have achieved this via the JCLoginDialog mechanism, and a bit of a hack)... Frank Nemphius (sp?) posted something about a white paper coming out on a related subject but I don't know where he is with that.
    Anyway, I managed to do it in a prototype by nesting several application modules within a Root Application Module that was essentially simply a Container for the other application modules. Using this mechanism I was able to bind my root application module to any panel I wanted and it would inherit the roots Session.
    ie. I used many application modules and it only used one Oracle Session.
    However, my reservations -
    1) This solution was not tested robustly!
    2) I doubt this would be ideal for a distributed app with thousands of users - My solution is for a very complex app, with a limited number of users.
    Finally, I cannot confirm this is a great solution - I can only tell you it worked in my prototype, and I am currently awaiting the ADF source - when my company and Oracle can decide what level of support we currently have and need!?!? - what exactly does being an "Oracle partner" mean??? Its all very boring and un-interesting to a Java person like me... ;-)
    Once I have the source I will look at how it actually works and perhaps be able to answer questions like this more definitively. Hmm - I wonder if I could get the Oracle JDBC driver source too?? .... Is it written in C or C++?? I know them too... ;-)
    Cheers........Dean

  • Session ends on EXIT_FORM for all open applications.

    It seems like when an EXIT_FORM is executed in forms, the session which the form is currently in ends. This is a problem because if you have a multi form application using OPEN_FORM and NO_SESSION, all forms launched are based of the same session and when one form closes, it closes sessions for ALL of the open forms. I know this because I have a session specific temp table, and when I close one form the data clears inside the temp table for all forms that are open or to be opened. Anyone know how to get around this problem?
    Let me know :) thanks!

    status in B is changed and the session never ended. I verified this through V$SESSION, so its not the problem of ending a session. Even with the session intact, the global temporary table still clears out. The only way to keep it from happening is to minimize the form window instead of using EXIT_FORM. It doesnt seem like anyone knows the solution, and I dont have a metalink account so im going to try a work around.
    Im trying to find a way to hide a form or window without using a EXIT_FORM command. HIDE_WINDOW will not hide a window that is associated with the main canvas, so any ideas on that?

  • Error ORA-02248 invalid option for ALTER SESSION

    Hi All,
    I'm using windows vista.I have installed oracle database 11g.Now, SQL Developer is working fine in this.I gave the sid as orcl and gave my username and password in sqldeveloper and it works.
    But the host string is not working in forms and sql plus.How do i know which host string i should give??I came to know that the tnsnames.ora which is present in the oracle home directory should be copied to forms directory also.I did that too but still forms,reprorts and sql plus are not working.I get two errors namely ORA-02248 invalid option for ALTER SESSION and TNS could not resolve service name .Pls suggest how to proceed.Thanks in advance....
    Regards,
    Gowtham

    Unfortunately you forgot to mention forms/reports version. Currently only one Developer Suite version is certified on Vista running 11g,don't ignore software/hardware requirements.
    It's 10.1.2.0.2 and that package requires additionally patch 6153263.
    Werner

  • "ORA-02248: invalid option for ALTER SESSION" -- Urgent request

    Hi All,
    We use Discoverer 3.1.36.06 and are in middle of a 3i to 10g upgrade for Discoverer for a data warehouse setup. Our databases where upgraded to 10g from 9i and now we get the error message saying:
    "ORA-02248: invalid option for ALTER SESSION"
    I got some very helpful info abt the prob from the link below.
    Discoverer 3i Issue with 10.2.0.3 - ORA-02248
    We are mid way through the 3i to 10g upgrade and just need a quick fix for the next 2-3 weeks while the upgrade is finished.
    Does any one know if changing the NLS language and applying the post longon trigger on Database id's would help in resolving this connection issue temporarily.
    Any advice is deeply appreciated.
    Thanks.
    Edited by: Paul S on Dec 15, 2008 3:01 PM Corrected the link

    Hi,
    There are two types of trigger you can use: database triggers and discoverer triggers. You probably want to use a database trigger.
    If you are using an APPS mode EUL (ie. logging using Applications username/passwords) then you will be logging in as the APPS database user and the syntax is:
    create or replace trigger APPS.disco_logon_trigger after logon ON APPS.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    If it is a database EUL and the database user is gl_inq then the syntax would be
    create or replace trigger gl_inq.disco_logon_trigger after logon ON gl_inq.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    Rod West

  • ORA-02248: invalid option for ALTER SESSION when logging in from client

    Hi,
    I am a junior dba and I was hoping if someone could help me out with a problem I am having. I recently installed on oracle 10g client on my windows machine. I am trying to remote connect to my database on a unix box but I am getting the below error when trying to connect from the client.
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    I've done some digging around on this and I think it might be something to do with the NLS_LANG setting maybe. I'm not sure though and to be honest I'm a bit lost on this.
    Any help would be greatly appreciated. Cheers.
    Rgs,
    Rob

    Please see below
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

  • Global object visible for all sessions in WebDynpro application

    Hello everybody,
    in a normal java web application you have the possibility
    to put an object into the servlet context.
    This object is visible for all sessions(e.g. some configurations or global settings for the
    web application).
    Now my question:
    Is there a possibility in a WebDynpro application to put such an object into a "global context" visible for all sessions?
    So I am looking for a container in WebDynpro which has
    the same behaviour like the servlet context in a web application.
    Thank you for your ideas an suggestions.
    Greetings
    Anton

    Hi Anton,
    To make an Variable Global ,you have define variable at various levels based on Usage.
    1)Ex: If you want to define Variable between two different Components . when A component is embedded into B Component then you have to define at Component Interface level and Mapping has to be Defined.
    2) If you want to make Variable to be used within the component among the Iviews ,then you can define at Component Controller or Custom Controller and Mapping has to be defined at Iview Level.
    3) If you want to use Variable between two Webdynpro Iviews then you have define the eventing mechanism to pass the values among the EP Webdynpro Iviews.
    Hope this answer helps you.
    Thanks
    Madhan

  • Ability to perform ALTER SESSION SET SQL TRACE but not all alter clauses

    I see that in order to run the ALTER SESSION SET SQL TRACE command, the user should be explicitly granted alter session privilege as the CREATE SESSION privilege alone is not enough. Is there a way to grant the ability to perform ALTER SESSION SET SQL TRACE but not the other clauses such as GUARD, PARALLEL & RESUMABLE?.
    Thanks
    Sathya

    If you are using Oracle 10g and above, you can use DBMS_SESSION.session_trace_enable procedure,
    it doesn't require alter session system privilege.
    Simple example:
    SQL> connect test/test@//192.168.1.2:1521/xe
    Connected.
    SQL> alter session set tracefile_identifier='my_id';
    Session altered.
    SQL> alter session set sql_trace = true
      2  ;
    alter session set sql_trace = true
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> execute dbms_session.session_trace_enable;
    PL/SQL procedure successfully completed.
    SQL> select * from user_sys_privs;
    USERNAME                 PRIVILEGE                    ADM
    TEST                      CREATE PROCEDURE                NO
    TEST                      CREATE TABLE                    NO
    TEST                      CREATE SEQUENCE                    NO
    TEST                      CREATE TRIGGER                    NO
    TEST                      SELECT ANY DICTIONARY               NO
    TEST                      CREATE SYNONYM                    NO
    TEST                      UNLIMITED TABLESPACE               NO
    7 rows selected.
    SQL> execute dbms_session.session_trace_disable;
    PL/SQL procedure successfully completed.
    SQL> disconnect
    Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Productionand here is result from tkprof:
    TKPROF: Release 10.2.0.1.0 - Production on So Paź 23 00:53:07 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Trace file: xe_ora_176_my_id.trc
    ( ---- cut ---- )
    select *
    from
    user_sys_privs
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.08       0.08          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.01       0.01          0         15          0           7
    total        4      0.09       0.09          0         15          0           7
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 61 
    Rows     Row Source Operation
          7  HASH GROUP BY (cr=15 pr=0 pw=0 time=11494 us)
          7   CONCATENATION  (cr=15 pr=0 pw=0 time=4913 us)
          0    MERGE JOIN CARTESIAN (cr=4 pr=0 pw=0 time=1169 us)
          0     NESTED LOOPS  (cr=4 pr=0 pw=0 time=793 us)
          0      TABLE ACCESS FULL SYSAUTH$ (cr=4 pr=0 pw=0 time=592 us)
          0      INDEX RANGE SCAN I_SYSTEM_PRIVILEGE_MAP (cr=0 pr=0 pw=0 time=0 us)(object id 312)
          0     BUFFER SORT (cr=0 pr=0 pw=0 time=0 us)
          0      TABLE ACCESS FULL USER$ (cr=0 pr=0 pw=0 time=0 us)
          7    NESTED LOOPS  (cr=11 pr=0 pw=0 time=3429 us)
          9     HASH JOIN  (cr=9 pr=0 pw=0 time=2705 us)
          9      TABLE ACCESS FULL SYSAUTH$ (cr=4 pr=0 pw=0 time=512 us)
         63      TABLE ACCESS FULL USER$ (cr=5 pr=0 pw=0 time=914 us)
          7     INDEX RANGE SCAN I_SYSTEM_PRIVILEGE_MAP (cr=2 pr=0 pw=0 time=510 us)(object id 312)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       2        0.00          0.00
      SQL*Net message from client                     2       20.64         20.65
    BEGIN dbms_session.session_trace_disable; END;
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           1
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.01       0.00          0          0          0           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 61 

  • ORA-02248: invalid option for ALTER SESSION

    I deploy application in OC4J 10.1.3, it use Oracle 8.0.5.0.0, but when I try connect DB, it gives me error:
    ORA-00604 Error occured at recursive SQL Level 1
    ORA-02248 Invalid Option for Alter Session
    Can someone please help me with this.

    From which version of Designer/SCM are you exporting and to which version are you importing? Please give the complete version number as shown in the Help->About dialog. For example, Oracle SCM 9i (9.0.2.10) and Oracle SCM 10g (9.0.4.6).
    - Suresh

  • EA2 - invalid option for ALTER SESSION when logging in to 9i DB via EA2

    When logging in to a 9i DB(9.2.0.7.0) i recieve the following error in the Logging Window:
    SEVERE     48     16     ORA-02248: invalid option for ALTER SESSION
    Edited by: Trotty on Nov 10, 2009 10:37 AM
    Does anyone else get this logging message when accessing a 9i DB
    Edited by: Trotty on Nov 10, 2009 10:37 AM

    Trotty wrote:
    When logging in to a 9i DB(9.2.0.7.0) i recieve the following error in the Logging Window:
    SEVERE     48     16     ORA-02248: invalid option for ALTER SESSION
    Edited by: Trotty on Nov 10, 2009 10:37 AM
    Does anyone else get this logging message when accessing a 9i DBI use 10g but have never seen that message even on 9i.
    See if you have any on-login triggers that could be issuing an incorrect alter session command. Also see if the error occurs as other users (if possible)
    If this was SQL*PLUS I'd also check the login.sql and glogin.sql files but I don't think sql*developer uses those.
    Edited by: riedelme on Nov 10, 2009 6:18 AM

  • Form6i connecting to DB11g, ORA-02248: invalid option for ALTER SESSION

    when i am try to connect forms6 to database 11G then receiving this error:
    ORA-02248: invalid option for ALTER SESSION ,
    any one can help.
    Regard
    MK

    I believe Forms 6i issues this:
    ALTER SESSION SET REMOTE_DEPENDENCIES_MODE = SIGNATURE
    See if it is valid in Oracle 11.
    If that is not the problem, run your form with trace on, and view the SQL statements passed. From my notes, trace is :
    In C:\Orant\Net80\admin\SQLNET.ORA, set:
    trace_level_client = 16
    then run the form. File produced is named in:
    trace_directory_client = C:\ORANT\NET80\TRACE
    trace_file_client = C:\ORANT\NET80\TRACE\cli.trc
    Please report back what you find.

  • 2248ORA - 02248: invalid option for ALTER SESSION

    Hi,
    I have an application running for years (written in ORACLIP) without any change.
    The application runs fine against Oracle 8 and 9, and now I am trying to run against Oracle 11gR2.
    The Oracle11gR2 installation looks fine, I can sucessfully connect to instance using SQLPLUS SYSTEM/MANAGER.
    But my old oraclip application, (that are working fine in Oracle 8 and 9), fails to connect to the Oracle11gR2 instance with the error: 2248ORA - 02248: invalid option for ALTER SESSION.
    The error occurs in a ORACLIP function (I believe that this function try to execute the ALTER SESSION), but I have not access to the source code.
    I want to know if something have changed in Oracle 11gR2 about ALTER SESSION sintax or behaviour.
    If not, any idea about some missing or wrong configuration in the Oracle 11gR2 that cause this problem?
    How can I get ( to capture / to trace) the exactly ALTER SESSION that fails?
    There is a way to make ORACLE 11gR2 to ignore this error and continuing without return a error? Maybe the "ALTER SESSION" is not important to the program.
    There is a way to make ORACLE 11gR2 works like an ORACLE 9 or 10 (in order to verify if this problems is about the version or some wrong configuration).
    I will apreciate any idea or help.
    Thanks in advance,
    Luigggye

    880676 wrote:
    I have an application running for years (written in ORACLIP) without any change.From what I could find, Oraclip refers to a set of dev tools/libraries that has not been updated in over ten years. One version seem to have required 8.0.x Client (oci and sql net libs).
    The application runs fine against Oracle 8 and 9, and now I am trying to run against Oracle 11gR2.If this app "runs fine", why do you want or need to try that?
    The error occurs in a ORACLIP function (I believe that this function try to execute the ALTER SESSION), but I have not access to the source code.There's no support from vendor?
    I want to know if something have changed in Oracle 11gR2 about ALTER SESSION sintax or behaviour.Let's say Oraclip was designed with Oracle7 and SQL*Net v2 in mind. Yes, I think it is fairly easy to think that something has changed since then...
    How can I get ( to capture / to trace) the exactly ALTER SESSION that fails?Trace the session. Either client/oracle net side or SQL Trace (lookup dbms_monitor and session tracing).

  • Deployment Error ORA-02248: invalid option for ALTER SESSION

    While trying to deploy application on oc4j standalone 10.1.2, I receive the following error:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    Any ideas?

    Hello,
    Which kind of application are you deploying?
    What the application is doing with the database during deployment? (what j2ee components are you using that could access the DB during deployment)
    Regards
    Tugdual Grall

  • Alter session set NLS_DATE_FORMAT and to_date not working

    Hey folks,
    for the sake of simplicity let's assume i want to get the current system time from the table dual in a certain format, e.g. 'YY.MM.DD'.
    Currently the query
    select sysdate from dual;
    yields:
    07-JAN-08
    The desired output should look like this:
    08.01.07
    So, according to the manual, i tried the following:
    alter session set NLS_DATE_FORMAT = 'yy.mm.dd';
    No effect, date is still displayed as
    07-JAN-08
    Even the following query:
    select TO_DATE (sysdate, 'yy.mm.dd') from dual;
    yields
    07-JAN-08
    What am i doing wrong here?
    Additional information:
    -> DB is Oracle 9
    -> I am using the Oracle SQL Developer under Ubuntu Gutsy
    -> No, i did not forget to commit my commands....:-)
    Any ideas?

    select TO_CHAR (sysdate, 'yy.mm.dd') from dual;However the alter session command should work:
    SQL*Plus: Release 9.2.0.2.0 - Production on Mon Jan 7 14:32:26 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> alter session set NLS_DATE_FORMAT = 'yy.mm.dd';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    08.01.07
    SQL> Note: There is nothing to commit here. Only selects, no DML.
    Message was edited by:
    Sven W.

Maybe you are looking for

  • Gentoo installation: error while loading shared libraries

    Hello, I am trying to install Free JSP editor on Gentoo with 2.6 kernel. I get errors about loading shared libaries (full output below). I am almost sure that it is caused by LD_ASSUME_KERNEL=2.2.5 in install script but i dunno how to prevent it from

  • Problem using classreference with setstyle

    I'm building a custom datagrid and having trouble setting the headerbackground skin style programatically Here's what it look like in css: headerBackgroundSkin: ClassReference('skins.DataGridHeader'); and here's how I'm trying to set the style in AS

  • Troubleshooting malfunctioning keys after coffee spill

    A few months ago, I spilled some coffeee on my N100. Since then, the '0' key sticks (i.e., I have to hold it down firmly for a moment to produce a '0'), and the'-' key next to it doesn't work at all, no matter what I do. And a few of the function key

  • User Exit/Enhancement to populate the characteristic value during runtime in FB50

    Hi I have a requirement where in FB50 when I enter the GL Account , Tax Code, Tax Jurisdiction code and Assignment and press enter  I need to default some of the characteristics value (which comes in the popup when you click on the Profit. Sgment ).

  • XML Component FileNotFoundException Error

    I am using 9iAS r2 and am trying to use the XML Component. The source for my XML is a URL, this point to Oracle Reports and is working an produces valid XML, the XSL is static (entered in the dialog box). When I try and run the XML Component I get th