How to find the sessions connected to oracle through application server?

Hi all,
i want to restrict my application server users from the deletion of the data in my database.
for this i was try to find out the application name from v$session but it is showing some application names and some blanks. i need to find out the application server name, so that i can restrict the users in product user profile.
is there any view to find the sessions and applications which are connected to oracle database?
Thanks,
Sandeep

hi pavan,
Even whne the privileges are revoked, the java application(users) can able to delete data in the database schema through the java application.
please suggest me on this?
--sandeep                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to run the simple jsp on oracle 9ias application server?

    hi,
    how to run the simple jsp application jst disply the date on oracle 9ias application server?
    can any expline the steps how to do it?
    thanks
    pullareddy

    No, you need the Reports Server (as part of the Application Server or Weblogic, depending on your version).
    I try to save the report, it's saved as .jspThat depends. You can save it as a .rdf file too (so called Paper Layout). I think this option is used more often.

  • How to find the sessions which generated maximum redo amount at instance?

    I use below query or Sql*Plus's set autotrace traceonly statistics > redo size statistic to calculate how much redo I generated in my session;
    CREATE OR REPLACE VIEW redo_size AS
    SELECT value
    FROM v$mystat, v$statname
    WHERE v$mystat.statistic# = v$statname.statistic#
    AND v$statname.name = ‘redo size’;
    But how to find the sessions which generated maximum(top 5 for example) redo from the last database startup on 9iR2 or also with new 10gR2 historic views?
    We need this information because from the produced archived log files we observe something new producing almost 2 times more redo for a week. I looked at statspack report but couldnt find as I suspected for a massive update or delete.
    Best regards,
    Tonguc

    I tried v$sysstat but I didnt think about v$sesstat Mr.Gasparotto, thank you very much :)
    SELECT ss.sid,
    sq.sql_text,
    se.status,
    se.username,
    se.osuser,
    se.program,
    se.machine,
    ss.VALUE
    FROM v$sesstat ss, v$statname sn, v$session se, v$sqlarea sq
    WHERE ss.statistic# = sn.statistic#
    AND se.sql_hash_value = sq.hash_value(+)
    AND se.sql_address = sq.address(+)
    AND ss.sid = se.sid
    AND sn.NAME = 'redo size'
    ORDER BY ss.VALUE DESC
    Best regards.

  • How to find the size of an arrayList through Expression Builder.

    Hai OTN,
    How to find the size of an arrayList through Expression. I have a managed bean in View Scope.I am using Jdeveloper 11.1.1.2 with ADF Faces components.
    Managed Bean :
    ArrayList<IllnessEmployeesObj> employeeGridList =
    new ArrayList<IllnessEmployeesObj>();
    JSPX :
    Value="#{viewScope.PandIVH.employeeGridList.size}"
    Error : java.lang.NumberFormatException: For input string: "size"

    Hi Dinil,
    I have provided you with a sample that would show you the how you can get the size of an arraylist
    the sample has a page untitled1 and a bean named test.
    I have run in on jdev 11.1.2 and it is ok, it will be ok on 11.1.3
    after running the sample you will see the 2.
    please remember that you must add the JSTL taglib on the viewcontroller.
    just right click on viewcontroller, go to tag lib select the jstl.
    page
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>untitled1</title>
    </head>
    <body>
    <h:form>
    <h:outputText value="#{fn:length(test.a)}"/>
    </h:form>
    </body>
    </html>
    </f:view>
    bean
    import java.util.ArrayList;
    public class Test {
    public Test() {
    a= new ArrayList();
    Object o=new Object();
    a.add(o);
    a.add(o);
    ArrayList a;
    public void setA(ArrayList a) {
    this.a = a;
    public ArrayList getA() {
    return a;
    I hope this sample came handy.
    regards,

  • How to find the file versions in Oracle applications?

    I am requested by the Oracle applications team to check the versions of the following files.
    POXWPA6B.pls-115.68.11510.6
    POXWPA7B.pls-115.38.11510.7
    I have zero experience in managing oracle applications. I would appreciate if some one could let me know how to find the versions in my server. My DB and the applications are in Linux servers.
    Also would appreciate if some one could provide pointers to handling Application DBA scenario like this.
    Thanks,
    -- Bala

    Here is an example:
    1) /u01/oracle/testappl/po/11.5.0/patch/115/sql>strings -a POXWPA7B.pls | grep -i Header
    /* $Header: POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $ */
    /* $Header: POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $ */
    2) /u01/oracle/testappl/po/11.5.0/patch/115/sql>adident Header POXWPA7B.pls
    POXWPA7B.pls:
    $Header POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $
    $Header POXWPA7B.pls 115.3 1999/11/10 16:10:34 pkm ship       $

  • How to find users sessions connected in (11.1.0.7 & R12.1.1)

    We have 11.1.0.7 configured in our env with E-business suite R 12.1.1 .
    we created different users e.g John , Mark and they are connected through e-business suite application form. But when i query V$session table i dont find these users there.
    Where i can find the status of these connected users ?
    PLease reply

    Usually you start with the Oracle schema that install the application on the database. In my case, I created a schema called QC (quality control) with it own tablespace (QC) - a software from HP. From this schema, I can see all users created via this schame and in the tablepace QC.
    Another trick would be to use all_users table to check for the usernames: select * from all_users;

  • How to find the list of users loggin through HTTP session

    Hi All,
    we are using SRM 5.5 system with ITS. I am able to find the list of concurrent users from ABAP level using report "CCUEVAL" but how do I know the list of concurrent users logged in from HTTP session?.
    could you please let us know the SAP note number or any report?
    Thanks in advance,
    Mohan Karri

    Hi Uday,
    thank you very much for your prompt response.
    I need a report because by end of every month I would need the average peak http users list for the reporting month.
    or tell me how to find " how many users logged in through HTTP session in a day?"
    Thanks
    Mohan

  • How to find the session info using the Unix PID

    Hi Guys
    We found in alert log that Some process with Unix pid 3416182 makes some transaction fail. It happened on weekend and now when we try to find it in v$process we did not find any info. Is there any place where oracle stores the PID History where in i would be able to find which process,session,user caused the transaction failure.
    Kindly help me. I m using oracle 10G R2.
    Thanks in advance
    Ram
    Edited by: user448837 on Jun 29, 2009 2:04 AM

    We found the transaction failure because of an online rebuild.This rebuild is with a PID which none of the DBA's ran.From trace we can just see the unix PID.With this we need to find the user who ran this rebuild

  • How to find the size of a Oracle 11g table

    I want to find the size of a table in Oracle 11g.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    --- List all tables sorted by size
    set lines 100 pages 999
    col     segment_name     format a40
    col      mb           format 999,999,999
    select     segment_name
    ,     ceil(sum(bytes) / 1024 / 1024) "MB"
    from     dba_segments
    where     segment_type = 'TABLE'
    group     by segment_name
    order      by ceil(sum(bytes) / 1024 / 1024) desc
    --- List all tables owned by a user sorted by size
    set lines 100 pages 999
    col     segment_name     format a40
    col      mb           format 999,999,999
    select     segment_name
    ,     ceil(sum(bytes) / 1024 / 1024) "MB"
    from     dba_segments
    where     owner like '&user'
    and     segment_type = 'TABLE'
    group     by segment_name
    order      by ceil(sum(bytes) / 1024 / 1024) desc
    /

  • How to Sync the session timeout of Portal with CMS Server

    Hi Experts,
    We have a custom application build on our portal which will launch the reports of InfoView. It works fine untill the portal session timeout. Whenever the session timeout occurs and reloads it I am unable to launch the reports and getting the below exception.
    com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to reconnect to the CMS server_ip:6400. The session has been logged off or has expired. (FWM 01002)
    Portal is configured with SSO. Please adviese how to set the settings of session timeout in such way that Portal sync  session timeout with CMS server.
    Thanks in Advance,
    Chinaa.

    Hi ,
    There is no such option to sync Portal timout with CMS server.
    To resolve your problem you have only option to set your CMS server timout to MAX value.
    Thanks
    Anil

  • How to find the root document of my web application, if it is in WAR file ?

    Hi,
    I want the root document of my web application. I my EAR file, i have only one WAR file. In my WAR file the following are the folders:-
    enterprise/..
    properties/sql/..
    locale/..
    WEB-INF/..
    Once i get the 'real path' or 'root document', I will use that in my application in no.of times. Path(root document) is used in the following way in my application:-
    File emailTemplatesFolder = new File( path + "/enterprise/"+ enterpriseCode+"/EmailTemplates");
    If i use getRealPath() method, it works fine, in use Oracle9ias, because, EAR file will be extracted. Where as in Weblogic 6.1, EAR file willn't be extracted, so that getRealPath() is giving 'null', that is reason why i am seeking for alternative.
    Thanks in Advance
    Srinivas

    Yes, that is the corrected behaviour.
    What you need to do is to get the ServletContext, and then load the files as resources.
    Here is how to load a properties file in the init() servlet method, which has access to the ServletConfig object that can give u the ServletContext.
    String classesDir = "/WEB-INF/classes";
    ServletContext sc = config.getServletContext();
    InputStram is = sc.getResourceAsStream(classesDir+"default.properties");
    props.load(is);
    Hope it helps,
    Liviu

  • How to set the keepalive timeout and nativepoll in application server 8.2

    Hi,
    I would like to know how to set "keepalive timeout" and "nativepoll" on application server 8.2.
    Thanks,

    These parameters were set in Application server 7 as per the following documentation:
    http://docs.sun.com/source/817-2180-10/pt_chap4.html
    However I am not able to find any documentation with regards to application server 8.2
    Please advice..
    Thanks

  • How to determine the size of a file on application server

    Hello,
    using open dataset I have created a file on the application server and have put some data into the file.
    Now I want to know the size of this file.
    Is there a function module to do this ?
    Best regards
    Michael

    Hi,
    Use Function module   'EPS_GET_FILE_ATTRIBUTES'
    DATA fsize TYPE epsf-epsfilsiz.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
      EXPORTING
        file_name =     " here provide filename
        dir_name  =    "  here provide directory
      IMPORTING
        file_size = fsize.
    WRITE: 'File size' , fsize.
    Regards,
    Ravi

  • How to find the sessions/user consuming more temp tablespace

    Environment details
    IBM-AIX 64 bit
    Oracle 10.2.0.4.0
    Recently we encountered the issue of sudden peak in CPU utilization and temp tablespace usage. We are noticing this issue after Apr CPU 2009 patch and upgrade to 10.2.0.4.
    Recently temp space was full and we added 18 GB of space to temp tablespace, within few hours, they are also consumed.
    Application team is telling that they did not modify any code. ADDM report suggests most of the recommendations related to SQL tuning only
    not sure about the real issue. Can somebody tell me how I can find what are all sessions/user consuming high temp tablespace
    Edited by: user1368801 on Sep 1, 2009 5:32 PM

    Hi,
    Run below query to check if it is used by any session.
    select sum(a.BYTES_USED)/1024/1024 used_mb, sum(b.bytes)/1024/1024 total_mb,
    sum(a.BYTES_USED)/sum(b.bytes)*100 pct_used
    from V$TEMP_EXTENT_POOL a, v$tempfile b
    where a.file_id(+) = b.file#
    Check who is using it by the below query.
    SELECT s.sid,s.serial#,osuser,process,program,s.sql_hash_value,u.extents, u.blocks
    FROM v\$session s, v\$sort_usage u
    WHERE s.saddr = u.session_addr order by extents,blocks desc
    Hope this solves your issue.
    Regards
    Regards,
    Satishbabu Gunukula
    Click here to improve RMAN backup Performance using [Block change tracking in Oracle 10g|http://oracleracexpert.blogspot.com/2009/09/block-change-tracking-in-oracle-10g.html]
    http://oracleracexpert.blogspot.com

  • How to find # of sessions connected to database between a specific time?

    Hi guys,
    My database is 10.2.0.2 on a four node RAC Cluster. OS is RHEL4.
    I was watching total # of session (without system processes) on 9/24/08 at 9AM (from gv$session view) and total sessions across all four nodes were little over 1600. Following was the query I was using to count #of sessions.
    select s.inst_id, count(*) from gv$session s
    where s.username is not null
    and s.username not in ('SYS', 'SYSTEM', 'DBSNMP', 'SYSMAN')
    group by rollup (s.inst_id);
    Now after few days, when I check the distinct session_id connections using dba_hist_active_sess_history between 9:00 and 9:10 AM, I get lot less count on session_id, little less than 1000. I was expecting same or higher count than original 1600+ since I am giving 10 min time interval.
    Following is the query, I am using:
    select instance_number, count(distinct session_id) from dba_hist_active_sess_history
    where sample_time between
    to_timestamp('2008-09-24 09:00:00','YYYY-MM-DD HH24:MI:SS') and
    to_timestamp('2008-09-24 09:10:00','YYYY-MM-DD HH24:MI:SS')
    group by instance_number;
    Am I doing something wrong? Is there any other v$ view or any other sysaux repository table I can view to collect total # of session (with or without background processes) between 9:00AM and 9:10AM on 9/24/08?
    Thank you,
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thank you, Satish. Is there any way we can get the total # of session counts (including idle) from, lets say, two days ago?
    --MM                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Android Kitkat 4.4.2 Update Kills Visual Voicemail

    I updated my Note 3 to KitKat 4.4.2 using Kies3 software.  It works great, but visual voice mail is now DOA & impossible to use!  This has GOT TO BE FIXED!  I see that a few others are having the same problem.  I called Verizon tech Support about it

  • Deleting a single file in Trash goes to Desktop. Why?

    Hi, When I delete a single item in the Trash, it ends up on the Desktop. Why doesn't it just get deleted rather than be sent to the Desktop? Is there any way of deleting a single item in the Trash without deleting all of its content?

  • Reg: Error Running ADF page From Jdeveloper 12C 12.1.2.0.0

    Team, iam getting the below error while running the page. [Waiting for the domain to finish building...] [08:21:34 AM] IntegratedWebLogicServer Domain is invalid.  Regenerating it... [08:21:35 AM] Creating IntegratedWebLogicServer Domain... [08:21:37

  • Can Project Web App track output produced rather than time spent?

    Hi -- I understand how team members can track the amount of time that they've spent on different tasks using Project Web App.  However, what I really need to keep track of is how much they've produced, rather than how much time that they've spent on

  • IPhoto Library flles corrupted

    While attempting to add music to my Library slideshow, the edit screen went black even though all the pictures were showing above. Then I noticed nothing showed up in the Desktop system folder for Desktop Picture when I noticed my Desktop Pic had dis