Need clarifications regarding APEX_PUBLIC_USER

Hello all,
Apex 3.0 on 10g
'am aware that APEX_PUBLIC_USER is the one used by the apex applications to get the stuff from the database.
I have noticed that in v$session there do exist the apex_public_user even if i logout from the apex.
In my production i have found apex_public_user with last_call_et greater than 7 hrs
and also when i tried to drop a package from the apex sql window, it hangs and doing the same from sql*plus from system account makes the session hang, which i will need to kill later. What could be the reason for the session to get stuckup??
Thank you,
J J

Yea, today i had to bounce my DB for some reason and there were no connections from the APEX_PUBLIC_USER and i could drop the package.
Is there anyway to close those sessions from the oracle HTTP server once they are done with the job than letting them lingering around?
Will APEX use these existing sessions like a connection pooling?
TIA,
JJ

Similar Messages

  • Needs Clarification Regarding Listener.ora file

    I want a clarification regarding listener.ora file I've Listener.ora file and its content look like as:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (SID_NAME = ORCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    I can understand every entry in this file accept the following
    *(SID_DESC =*
    *(SID_NAME = PLSExtProc)*
    *(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)*
    *(PROGRAM = extproc)*
    *(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
    Although rest of entries refer to network services(Database name) and host address and protocol etc.
    what these above refere to.
    Please clarify me in this.
    Regards,
    D.Abbasi

    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    that about External Procedure, If you don't use "External Procedure" you can remove it, by the way you should avoid default configure.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1331
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#NETAG0132
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_extern_proc.htm#sthref1658
    Sample create External Procedure:
    http://surachartopun.com/2008/07/create-and-run-sample-external.html

  • Need clarification regarding the test cable-diagnostics tdr command

    Hello,
    I've read about the test cable-diagnostics tdr command but I need clarification on the examples listed below to make sure that I am providing the right answer to my co-workers.
    Example 1:
    CXXX7SW17#show cable-diagnostic tdr int g0/20
    TDR test last run on: July 16 10:23:00
    Interface Speed Local pair Pair length        Remote pair  Pair status
    Gi0/20    auto  Pair A     N/A                        N/A                Normal
                           Pair B     72   +/- 10 meters  N/A                Open
                           Pair C     75   +/- 10 meters  N/A                Short/Crosstalk 
                           Pair D     74   +/- 10 meters  N/A                Short/Crosstalk
    Does this example mean that there's a cable length issue in the line which is causing the device that it's connected to not to work properly?
    Example 2:
    CXXX2SW140#show cable-diagnostics tdr int g0/21
    TDR test last run on: July 16 09:16:22
    Interface Speed Local pair Pair length        Remote pair Pair status
    Gi0/21    100M  Pair A     N/A                      Pair A           Normal
                              Pair B     N/A                      Pair B           Normal
                              Pair C     N/A                     Pair C           Normal
                              Pair D     N/A                     Pair D           Normal
    Does this example state that the cable line is okay for use?
    Example 3:
    CXXX1SW19#show cable-diagnostics tdr int g0/22
    TDR test last run on: July 16 06:36:53
    Interface Speed Local pair Pair length            Remote pair Pair status
    Gi0/22    auto    Pair A       1    +/- 10 meters  N/A               Open
                              Pair B     39   +/- 10 meters   N/A               Open
                              Pair C     72   +/- 10 meters   N/A               Open
                              Pair D     1    +/- 10 meters    N/A               Open
    Does this example mean that there isn't a device connected on the other end? No pin-contact?
    Thank you very much for any help you could provide.
    S

    I found this article here at supportforums that seemed like the best explanation I've read so far for TDR info.
    Hope that helps.

  • Needs Clarification Regarding Segments and Datafiles

    Hi,
    I want clarification regarding Segments, Datafiles and extents.
    As we know that A segment is made of one or more extents and extents are composed of one or more datablocks in the HD.
    Since all data are store in Datafiles which are composed of extents and datablocks. I want to know weather a table(Segment) can span to multiple datafiles or in a sigle datafile.
    Regards,
    D.Abbasi

    And an easy way to check it by yourself :
    SQL> create tablespace abbasi_tbs
      2  datafile 'E:\ORADATA\DEMO111P\abbasi_01.dbf' size 1m autoextend off,
      3           'E:\ORADATA\DEMO111P\abbasi_02.dbf' size 1m autoextend off;
    Tablespace created.
    SQL> create table abbasi_tbl (id number)
      2  tablespace abbasi_tbs;
    Table created.
    SQL> insert into abbasi_tbl
      2  select rownum as rn
      3  from   dual
      4  connect by level <=10000;
    10000 rows created.
    SQL> commit;
    Commit complete.
    SQL> select distinct file_id
      2  from   dba_extents
      3  where  segment_name ='ABBASI_TBL';
       FILE_ID
             6
             7
    or...
    SQL> select distinct DBMS_ROWID.ROWID_RELATIVE_FNO(rowid)
      2  from   abbasi_tbl;
    DBMS_ROWID.ROWID_RELATIVE_FNO(ROWID)
                                       6
                                       7
    SQL> select file_name from dba_data_files where file_id in (6,7);
    FILE_NAME
    E:\ORADATA\DEMO111P\ABBASI_01.DBF
    E:\ORADATA\DEMO111P\ABBASI_02.DBF
    SQL>Nicolas.
    added the ROWID function usage
    Edited by: N. Gasparotto on Jun 21, 2009 11:02 AM

  • Need clarification regarding select query

    Hi,
    I need a little clarification regrding a Select senario
    I want to select data from table which have been minupulated between a certian date like between 1-DEC-10 to 31-DEC-10 and note that table does not have any time/date column. I've applied the following query to do this.
    select * from TABLE_NAME where sysdate between to_date('01-DEC-10') AND to_date('31-DEC-10');
    Would it work fine because I've tried it against a table and it returned me nothing however DML occur between time period.
    Regards,
    Abbasi

    Abbasi wrote:
    Hi,
    I need a little clarification regrding a Select senario
    I want to select data from table which have been minupulated between a certian date like between 1-DEC-10 to 31-DEC-10 and note that table does not have any time/date column. I've applied the following query to do this.
    select * from TABLE_NAME where sysdate between to_date('01-DEC-10') AND to_date('31-DEC-10');
    Would it work fine because I've tried it against a table and it returned me nothing however DML occur between time period.
    Regards,
    AbbasiAFAIK without log mining and auditing this is not possible.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm

  • Needs Clarification Regarding Tablespace

    Hello,
    I'm using Oracle 10g DB and I want to know weather to creating database from DBCA automatically create a tablespace for that database or we have to create manually.
    if it create automatically then how can we retrive information about that database.
    Looking for Reply
    Regards,
    D.Abbasi

    When you create database using DBCA you can choose tempalte, in the template there tablespaces defined, the tablespaces that will be created depends on the tamplate you choose, and if you installed sample schema's.
    Every database created need to have several system tablespaces.
    You can retrive all of database tablespaces using :
    select name from v$tablepsace;
    Oded
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

  • Need Clarification Regarding Structural Authorization

    Hi Gurus,
    When you do need to implement Structural Authorization? How do you know when you don't need it?
    I'm currently on an ECC6 implementation project and was informed that we do not need to implement it even though we are implementing the HR organization structure along with ESS and MSS.
    Your inputs are highly appreciated.

    for one it can be useful to implement structural authorizations when you want to restrict not only on the enterprise structure (e.g. personnel area, employee group etc.) but also on organizational atributes (position, org. units and the likes).
    this decision is purely based on the requirement of your company's security demands.
    as for your second question, I assume that there is a misunderstanding of terms.  HR roles as such are the same as non-HR roles in so far that they can be assigned to the user directly through SU01 or PFCG.
    the advantage of having an org. structure is that you may also assign the roles through this structure as well.  this in itself has nothing to do with whether you would want to implement structural athorizations.
    I hope to have clarified things a litlle for you.

  • Need clarification regarding Work status rule

    Hi All,
    I have a work state "Submitted" which is controlled by "owner".
    My work status is driven by following dimensions in the application:
    u2022Entity  - Owner dimension
    u2022Category
    u2022Time
    Entity hierarchy is as follows : A
                                                      |____B
                                                      |____C
    Now considering that user is owner of member "A", I set the work status to "Submitted". (Note: B and C does not have any owner)
    It gives error "controlled by rule has been violated".
    On the other side, one of the document tells states that "If the user is acting as an owner and the selected member has no parent, the user also acts as a manager (top hierarchy), they can select a work status controlled by "Owner", "Manager" or "Both"".
    Going by this rule, in the scenario which i have explained above, it should set the work status as "submitted". But it is throwing error.
    Kindly clarify if my understanding is wrong.

    Hi,
    The problem is arising because as per the setup, only the owner can change the work state to submitted. However, there are no owners for the child members.
    You can try changing the setting to manager. If you login as owner of A, then you will be able to change the work state of A (since you are your own manager because A is the top node) and you will be able to change B and C also (since you are the manager).
    Alternatively, you need to maintain the same user as the owner of B and C.
    You have rightly indicated the statement "If the user is acting as an owner and the selected member has no parent, the user also acts as a manager (top hierarchy), they can select a work status controlled by "Owner", "Manager" or "Both"".
    However, if you take a look at this statement, this is valid if the setting is manager. But in your case, the setting is owner. And there are no owners of the children.
    Hope this helps.

  • I need clarification regarding REFERENCE TYPES and CASTING.

    Hello all,
    I'm taking a course on the fundamental of JAVA. Everything's been going smoothly until I slammed into the the concept of CASTING and REFERENCE TYPES. Flat--out == I DON'T GET IT?
    I'm having trouble with...
    CONVERTING REFERENCE TYPES
    CASTING BETWEEN REFERENCE TYPES
    WORKING WITH REFERENCE TYPES
    I understand what's happening from an academic vantage point. I just don't understand why you'd want to convert REFERENCE TYPES? What would be an application of such an exercise?
    1. What IS a REFERENCE TYPE -- exactly?
    a. what are we referencing?
    b. type? type of what??
    for example... why would you want to do a widening conversion, a conversion of the hierarchy tree?
    I understand the concept of OBJECTS, CLASSES, METHODS and CONSTRUCTORS so far...
    I think it's the terminology that's screwing my up.
    Thanks,
    Alex

    ok... wow, thanks J.
    So--in a nutshell-- we're making it so that different
    objects:
    ie,. ford(), chevy(), honda(), lotus() and
    dealers()... so and so forth()...
    all share the resources(for lack of a better word) of
    the Auto Class? because all of those auto brand
    objects and one redically different object can be
    unrelated, correct?Um, yes and no.
    I just ran with the example you had, but that probably included too many concepts and they got muddied up.
    Yes, Chevy, Ford etc. all share the characteristics of Auto, since they're all subclasses. But that's just inheritance, and has nothing to do with casting.
    A "reference type" can loosely be described as a variable that refers to an object. (Constrasted with "primitive types" which are int, char, float, etc. and don't refer to objects--they just hold values.)
    Casting just tells the compiler that even though as far as it knows you only have a reference to some superclass, the object that reference points to will in fact be an instance of a subclass, and so treat it as such (e.g., we can now call methods that the subclass has that the superclass lacks).
    (You can also cast primitives, but one thing at a time.)
    So let's say you have class A (which extends object) and B extends A.
    A a = new B();
    B b = a; // won't compile. compiler sees the "A a" on the left of the =, not "new B()" on the right.
    B b = (B)a; // works because we're telling the compiler, "Dude, I'm seriously. This is a B.
    Note that if we had done new A() instead of new B(), it would still compile--the compiler would trust us. But at runtime, we'd get a ClassCastException, since we wouldn't actually have a B object.
    /**folks, I'm a web designer that has to learn Java
    so that I can perform my duties as a JSP author here
    at work. I tried to learn JSP sans Java and that was
    a simple exercise in ignorance.-- it's really hard
    without understanding the root concepts of Java and
    for that matter, C. Concepts like "polymorphism,
    inheritance, object references... are completely
    foreign to me. **/It's a rather big leap from web designing to OO concepts. Take your time, and don't be discouraged if you feel completely confused. It's a prerequisite. :-)

  • Need Clarification On Internal tables in Start Routine

    Hi,
    I have intenal table some IT_A which deletes the requests which are populated in to it.
    Now I need to populate requests into IT_A from  another internal table like IT_B which are of different structure.
    I have three fields in common in both internal tables like RNR,Timestamp n SID with different field names
    I Need Clarification that if i move the contents of the three fields to IT_A from IT_B by spcifying these three fields.Will the internal table IT_A deletes the Requests?
    Thanks,
    Sriram.

    Hi Sriram,
    As mentioned IT_A deleted the request loaded into it.
    if you move the contents of the three fields to IT_A from IT_B by spcifying the three fields after the deletion step for internal table IT_A takes place then it wont get deleted.
    But it would be deleted if the the contents are moved before the deletion step takes place
    regards,
    mahesh

  • Need Clarification for the Attribute Property (Calculated)

    hi
    I am new to Web Dynpro and i am in need of clarification regarding the Attribute
    Property - Calculated
    Thanks in Advance
    Regards
    S.Chandran

    Hi,
    Calculated Property in webdynpro is required when you want to handle node context attribute programmatically.
    When you say Context Attribute as True, it generates two methods, Setter and Getter Method for that attribute.
    In getter method you will be getting one ‘element’ it is the context node, where you created attribute. These methods will be called automatically.
    For more Info check this link
    Related to calculated property
    Hope that helps

  • Need clarification for Quarter....( Can Q1 start from DECEMBER )

    Friends..
    I need a clarification regarding the QUARTER 1...
    instead of JAN,FEB,MAR can a Quarter 1 (Q1) start from  DEC,JAN,FEB ...
    Q2 --MAR,APR,MAY ..etc....
    Is there any possible ways to do this ..
    Thanks in Advance
    BASKAR

    Hi Baskar,
    Yes, its feasible.
    However you need to map your 0CALMONTH to your 0CALQUARTER, then write this routine.
    DATA : MY_VARSPMON(6),MY_VARYEAR(4),MY_VARMON(2),MY_VARQUARTER TYPE /BI0/OICALQUARTER.
        MY_VARSPMON = SOURCE_FIELDS-SPMON.
        MY_VARYEAR = MY_VARSPMON+0(4).
        MY_VARMON = MY_VARSPMON+4(2).
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = MY_VARMON
          IMPORTING
            OUTPUT = MY_VARMON.
        IF MY_VARMON = '01' OR MY_VARMON = '02' OR MY_VARMON = '03'. MY_VARYEAR = MY_VARYEAR - 1.
          CONCATENATE MY_VARYEAR '2' INTO MY_VARQUARTER.
        ELSEIF MY_VARMON = '04' OR MY_VARMON = '05' OR MY_VARMON = '06'.
          CONCATENATE MY_VARYEAR '3' INTO MY_VARQUARTER.
        ELSEIF MY_VARMON = '07' OR MY_VARMON = '08' OR MY_VARMON = '09'.
          CONCATENATE MY_VARYEAR '4' INTO MY_VARQUARTER.
        ELSEIF MY_VARMON = '10' OR MY_VARMON = '11' OR MY_VARMON = '12'.
          CONCATENATE MY_VARYEAR '1' INTO MY_VARQUARTER.
        ENDIF.
        RESULT = MY_VARQUARTER.
    I don't guess there's any changes in particular; but you may considerably change as per requirements in the ABAP logic.
    Thanks,
    Arun Bala
    Edited by: Arun Bala G on Jul 16, 2010 7:11 AM

  • Some clarifications regarding Aironet settings

    Hi,
    i need some clarifications regarding configuring Aironet stand-alone AP (in this case AIR-LAP1131AG).
    Under Security->SSID Manager:
    what is the purpose of Network ID?
    Under Guest Mode/Infrastructure SSID Settings - what is the purpose of Set Infrastructure SSID?
    and Force Infrastructure Devices to associate only to this SSID?
    Cheers,

    Assign a Service Set Identifier (SSID) to each VLAN configured on the AP. SSIDs enable endpoints to select the wireless VLAN they will use for sending and receiving traffic. These wireless VLANs and SSIDs map to wired VLANs. For voice endpoints, this mapping ensures priority queuing treatment and access to the voice VLAN on the wired network
    For further information click this link,
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/srnd/4x/42nstrct.html#wp1098806

  • Need inputs regarding the dvd drive on primary ide channel.

    Specs:
    Motherboard: MSI P35 Neo3 (MS-7935 1.0)
    CPU: Intel Core2 Duo E6550
    Memory: Team Elite DDR2800 (2x1GB Dual Channel)
    Hard drive: Seagate Barracuda 7200.11 500GB 32MB Cache (SATA)
    Optical drive: LG GSA-H55L (IDE only) Firmware version 1.02
    Graphics card: Gecube HD3870
    Chipset: Intel P35/G33/G31 (Rev. A2)
    Southbridge: Intel 82801IB (ICH9)
    LPCIO: Fintek F71882F
    BIOS: AMI V1.1 (11/07/2007)
    Hello,
    Almost all new motherboards today only have a primary ide channel and the rest are SATA.
    I need inputs regarding the dvd drive which is shown in device manager as located on the primary ide channel while the hard drive is located on the secondary channel. Because I would like to update the dvd drive to the latest firmware (version 1.06; to be able to recognize more blank media) but the LG site recommends that the drive (dvd) be located on the secondary ide channel.
    I already tried to uninstall every channel from the device manager but all would still be the same after reboot, dvd drive on primary, hard drive on secondary.
    Current ide mode in BIOS is set to AHCI+IDE mode, DMA modes are fine (UDMA4 for dvd, UDMA5 for hard drive), boot sequence (1st=HD, 2nd=DVD, 3rd=Floppy drive)
    Tried switching to IDE mode only in BIOS but would not detect the optical drive. Never tried RAID+IDE mode since I only have a single hard drive.
    I'm not sure but if I try to update the firmware, it might instead try to update the hard drive's firmware instead of the optical drive and make the hard drive unusable.
    I would like to know if anybody with this same situation was able to successfully update the optical drive's firmware or is there some way to place the optical drive on the secondary ide channel and the hard drive on primary for me to follow and replicate the process.
    Thank you for any replies.

    Thanks sir NovJoe for the reply.
    Just received the solution from another forum where I posted the same problem.
    They said that the flash program for the firmware will detect the drive on its own and would not flash other devices except the optical drive itself. So its pretty safe, and I can confirm this since I just flashed my ODD a little over a while ago and everything went fine. No errors.
    Though I'm speaking for the brand of ODD I own and may be different for other brands so take precautions as well. It may be different for the others.

  • I need information regarding the creation of Workbook and WAD.

    Hi,
    I need information regarding the How to create the Workbook and WAD.
    Can any one help me to get the information..
    Regards,
    Suman
    Edited by: Suman Reddy Vuyyuru on May 19, 2009 8:22 AM

    Hi,
    for workbook:
    [Queries in Workbook|http://help.sap.com/saphelp_sem40bw/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    for WAD:
    [WAD for Beginners|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22]
    thnks.

Maybe you are looking for

  • How to print the data in a seperate page / text file

    Hi Experts, I have created WD program which fetches data from R/3 using RFC. I am using following statement for printing the results: wdComponentAPI.getMessageManager().reportSuccess("The value is " + value); I am running the code for 20,000 rows. Th

  • What is the Table to Capture line item changes in PO?

    Dear Guru's what is the table in which i can find the report of ammendment in the PO at line item level OR is there any Standard SAP report ??? please help.. gaurav

  • BAPI to create tax classification for business partners

    Hi all, I'm trying to create tax classification for a business partner (situated in the tab Control) from a BAPI. I tried to use BAPI BUTX_FRG0010_CREATE, but I always receive an error... Does someone know how to implemnt this ? Or do I need to use a

  • ORA-24810 on writing blob via Pro*C

    I'm using Oracle Pro*C with an Oracle 9.2 RDBMS. I am trying to store a blob from a file using Pro*C. If the file is small enough that I can read/write the entire file in a single operation, it blow write works okay. However, I would like to be able

  • How to set the charset encoding dynamically in JSP

    Is there any way to set the charset encoding dynamically in a JSP page? we are using weblogic 6.1 on HP unix. is there some way we can set the charset dynamically in the page directive <%@ page contentType="text/html;charset=Shift_JIS" %> and in MAET