APEX_PUBLIC_USER creates several newspapers-ins in the database.

Hello

Our software team is new to the APEX, and the ADMINISTRATOR noted that whenever a user connects to an APEX application, there are several connections APEX_PUBLIC_USER created in the database.

As soon as I entered the URL, he had 3 records of the APEX_PUBLIC_USER in the instance.

Is this normal, or is there something that we should have Setup differently?

Thank you
Keisha

It's normal. You see the sessions created for the modplsql connection pool. This improves performance by keeping the connections available for applications expected.

Scott

Tags: Database

Similar Questions

  • Problem in creating several attributes XML with the same name of the attribute

    I am trying without success trying to create several attributes XML with the same name, as shown here in a Microsoft example configuration file:



      
         
         
         
      

    I'm calling the NewDocument GetRootElement functions and then "newelement" (appSetting), "newelement" (add)

    Then I call AddAttribute with add, key & Key0, then with add, value & 0.  This seems to work fine but when I try to add the second pair of key & Key1 and value attributes & 1 for item "Add" replaces ""and I find myself with"" only.

    I do something wrong or CVI is not able to create an XML of this type?

    Thank you

    Here's how you do it. I show not to keep things simple error checking.

    #include

    public static void CreateAddElement (mother of CVIXMLElement, const char * key, const char * value)
    {
    Add the CVIXMLElement;
    CVIXMLNewElement (parent, -1, 'Add', &add);)
    CVIXMLAddAttribute (add, "touch", key);
    CVIXMLAddAttribute (add, "value", value);
    CVIXMLDiscardElement (add);
    }

    void main (void)
    {
    CVIXMLElement root, and appSetting;
    Doc CVIXMLDocument.
     
    CVIXMLNewDocument ("configuration", &doc);)
    CVIXMLGetRootElement(doc, &root);)
    CVIXMLNewElement (root,-1, "appSetting", and appSetting);
    CreateAddElement (appSetting, "Key0", "0");
    CreateAddElement (appSetting, "Key1", "1");
    CreateAddElement (appSetting, "Key2", "2");
    CVIXMLDiscardElement (appSetting);
    CVIXMLDiscardElement (root);
    CVIXMLSaveDocument (doc, 1, "c:\\temp\\temp.xml");
    CVIXMLDiscardDocument (doc);
    }

  • Inserting data in several related tables using the database

    Hello world
    I'm working on a BPM application using Oracle BPM 11.1.1.5.0 and JDeveloper 11.1.1.5.0.

    In my database, I have two tables, loan and guarantee that are related by a field named employeeID (PK on loan) and FK in warranty.
    Each line can have several lines of guarantee.

    At this point, I'm doing an entry form for the user to insert data in the two tables.

    I did successfully before with a single table that has no relations.

    The way I'm doing here is, after the creation of the database successfully adapter, a type of LoanCollection is created in the types module, which can be used to create business objects and data objects of.

    The problem is when I create an object of type loanCollection process data and then create a UI generated automatically on that basis, only the fields in the primary table (the Table of loan) appear in the form.
    On the other hand, if I create a business object based on the LoanSchema, the form for all of the two tables is created automatically (the loan as a form, the guarantee in a table), but then, when I try to access it in the section processing service mission which calls the database adapter, I have no access to such.
    In fact, the only type which can be used in the service task is the process based on the loanCollection data object.

    To summorize, I have to use the type of business for my UI object to include all the fields in both tables, so I have to use the data object from the collection process in the transformation of service task dialog box.
    And I can't find a way to map to another.

    Can someone help me with this please?
    Thank you very much

    Try to follow these steps.

    1. create a new module in your catalogue our BPM project management section
    2. in this new module create 3 Business Objects - (LoanBusinessObject, GuaranteeBusinessObject and GuaranteeArrayBusinessObject)
    3. Add the attributes appropriate to the LoanBusinessObject and the GuaranteeBusinessObject so that they mimic your database tables, then to the GuaranteeArrayBusinessObject add an array of type attribute GuraranteeBusinessObject
    4. now you need to create two process data objects, type loanProcessObject LoanBusinessObject and type guaranteesProcessObject GuaranteeArrayBusinessObject
    5. as inputs to your human task adds the loanProcessObject and guaranteesProcessObject, these should now be available in your data controls and can be used to auto generate the form
    6. in your dbadapter you'll then use XSL Transformation and use for each so that it will write the data to the ready table and all the line items of warranty for the warranty table.

  • Connection.setAutoCommit (false); She creates a transaction next to the database?

    I'm curious to know what the transaction is started next to the database? I use oracle as database and ojdbc6 driver to connect to the db jar.

    I'm also curious to know what exactly is a connection? There I can relate to a database session? taken do allow to install a java application on the database server?

    Thank you!

    I'm curious to know what the transaction is started next to the database? I use oracle as database and ojdbc6 driver to connect to the db jar.

    I'm also curious to know what exactly is a connection? There I can relate to a database session? taken do allow to install a java application on the database server?

    Thank you!

    Non - autocommit affecting false does NOT create a transaction.

    You can EASILY search the Web for definitions of terms such as the transaction, logon session.

    The Java tutorials has a track for "aid Operations."

    https://docs.Oracle.com/javase/tutorial/JDBC/basics/transactions.html

    Turn off autocommit Mode

    When a connection is created, it is in autocommit mode. This means that each SQL statement is treated as a transaction and is automatically committed right after his execution. (To be more precise, the default is for a SQL statement to be engaged when it is finished, not when it is executed. A statement is completed when all its result sets and update counts were recovered. In almost all cases, however, a statement is completed and therefore committed, just after his execution.)

    How to allow two or more instructions which lie in a transaction is to disable auto-commit mode. This is illustrated in the following code, where con is an active connection:

    on.setAutoCommit(false);
    

    The Java API tells you what a 'link'

    Connection (Java SE 7 platform)

    A connection (session), with a specific database. The SQL statements are executed and results are returned as part of a connection.

    See where it says "connection (session)?

    And the Oracle documentation can discuss those from the point of view of DB

    https://docs.Oracle.com/database/121/CNCPT/Transact.htm#CNCPT117

    Introduction to Transactions

    A transaction is a logical, Atomic work unit that contains one or more SQL statements. A transaction includes the SQL statements so that they are all committed, which means they are applied to the database, or all canceled, which means that they are cancelled from the database. Oracle database assigns to each transaction a unique identifier called transaction ID.

    Oracle transactions obey the basic properties of a database transaction, known as ACID properties. ACID is an acronym for the following:

    . . .

    After the end of a transaction, the next executable SQL statement automatically starts the following transaction.

    . . .

    The Oracle documentation also discuss when a transaction begins - which may be different from another database

    http://docs.Oracle.com/database/121/SQLRF/statements_10005.htm#SQLRF01705

    Use of the SET TRANSACTION statement to establish the current transaction in read-only or read-write, to establish its isolation level, assign it to a specified rollback segment or type a name for the transaction.

    A transaction is implicitly starts with any operation that requires a TX lock:

    • When a statement that changes data are issued
    • When a SELECT ... FOR UPDATE instruction is emitted
    • When a transaction is explicitly started with one SET TRANSACTION statement or the DBMS_TRANSACTION package
  • Create several virtual machines from the same base image

    Hi all

    Is there any vi api sdk by which I can create several virtual machines form same base vmdk file?

    All create the VM from the base VMDK file will have their own delta vmdk file that will refer to the same base VMDK file. Only changes that are performed on each virtual machine are saved on their respective delta vmdk files.

    Thanks in advance...

    Hello

    What you are referring is called Clones related, in the current VI API, there is no method that supports this feature. You can take a look at CloneVM_Task() http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.VirtualMachine.html#clone if you want to implement a full clone and this will require you to have access to vCenter.

    In the next version of vSphere, vSphere SDK THAT will provide a way to implement the related Clones and it will be a parameter you can specify CloneVM_Task() , more precisely in the VirtualMachineRelocateSpec where you will specify diskMoveType to createNewChildDiskBacking

    You can find more information once vSphere of GA and the new QAnywhere VI documents are released, but if you are looking to implement related Clones today, you can take a look at the product of VMware View 3, which provides support for linked Clones or you can take a look at two scripts that I wrote which creates linked Clones similar to that of the view :

    Clones related to ESX

    CLones related to ESXi

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • Create read only user to the database

    Hi all

    I need to create read only the user to one of the databases so that he should have the select query on all tables, views etc...

    Can I create a user of this type with the role OEM_MONITOR at once?

    Please advice
    Concerning
    Arun

    No.:

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 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
    
    SQL> create user toem identified by toem;
    
    User created.
    
    SQL> grant oem_monitor to toem;
    
    Grant succeeded.
    
    SQL> select count(*) from hr.jobs;
    
      COUNT(*)
    ----------
            19
    
    SQL> connect toem/toem
    Connected.
    SQL> select count(*) from hr.jobs;
    select count(*) from hr.jobs
                            *
    ERROR at line 1:
    ORA-01031: insufficient privileges
    
    SQL>
    

    Grant select ANY TABLE might work, but note it is generally regarded as a bad security practice:
    http://download.Oracle.com/docs/CD/E11882_01/network.112/e10574/guidelines.htm#CHDHFIFG

    Edited by: P. Forstmann on March 8, 2010 21:31

  • Several newspapers-ins on iMAC, how each access log merger of their individual login?

    I am operating my Fusion of my log-in, but share the computer with my wife.  How she acess merger of its log-in?  It, at the present time, doesn't seem to be available.  Should I have it loaded into the shared file?  Once loaded, Windows Vista allows log-ins separate, but we cannot at this point in his log-in on the iMAC.

    Please notify. VMware Fusion 2.0.4 running on Windows Vista x 64 Edition

    Thank you.

    Ricklsca

    Are you talking about accessing the Fusion , or to access a virtual machine ? Fusion is installed in / applications, so any user should be able to run it. Virtual machines, on the other hand, are like documents. By default, they are in your home directory and OS X permissions prevent other users to see or use. See the Beginner Guide to VMware Fusion.

  • I can't create several different uls on the same page

    There is a nav - ul on the page.
    #online - nav ul {}
    text-align: left;
    display: block;
    padding: 5px;
    Width: 130px;
    margin: 5px;
    list-style-type: none;
    }
    I need uls several points, squares etc. on the same page, width 300px and text sizes different and color etc. But every time I get ul I get the same div as above. How can I change the new lists?

    Thank you, that's all.

  • It's for Windows 7, Vista: bring back to Option to create several Custom command start the lines for the games in game Explorer!

    It was probably the best feature in Vista, and absolutely should have been postponed to Windows 7. I will continue to campaign for the return of this function until MS gives. Please everyone see support by adding your comments below.

    I just don't want an explanation that this feature has been removed. Put it back!

    Thank you.

    There is a meeting place for feature requests. You should encourage others to find a path of entry that actually works. (Falling on the floor and your feet kicking and screaming works only in the supermarket. :))) Microsoft.url entry:

    Messages rating helps other users

    Mark L. Ferguson MS - MVP

  • Create table statement will hang the State... in ODI... in the BI database

    Our development team is trying to create an external tabe in the database of another schema. ODI is to create the inside connection bridge. I don't know how. But whenever they get from this request, he'll hang on State. When in the same code works fine in a different database.

    Users whereby they are connceting to the source in the fire database this query have the same privileges.
    For a database, it works fine that the table is created in the target database and in the correct schema but for another, it doesn't work and hung... (not giving any results)

    Databases are used to the BI work and having almost the same configurations.
    I checked the view target database v$ session. It gives me < enq: PS - contention > event
    and three rows are back with < PX Deq: table Q narrow > event for others following two lines...

    is - can anyone shed some light on this? What should I do now. like killing the session blocking is not solve problems


    Here is an example of the executed query:

    CREATE TABLE SCHEMA_NAME. C$ _0ODS_JDE_F0004
    (C1_DTSY, C2_DTUCD1, C3_DTRT, C4_DTJOBN, C5_DTUPMJ_DT, C6_DTMRTY, C7_DTDL01, C8_DTPID,
    C9_DTMRCT, C10_DTLN2, C11_DTCNUM, C12_DTUSEQ, C13_DTUSER, C14_DTCDL, JRN_SUBSCRIBER, JRN_FLAG, JRN_DATE)
    EXTERNAL ORGANIZATION
    (TYPE oracle_datapump
    THE DEFAULT DIRECTORY DIR_SCHEMA_NAME
    LOCATION ("X58030417C$ _0ODS_JDE_F0004_1.EXP", ' X58030417C$ _0ODS_JDE_F0004_2.EXP ')
    )
    2 PARALLEL AS
    SELECT
    NVL (TRIM (F0004. (DTSY), ' ') C1_DTSY, NVL (TRIM (F0004. (DTUCD1), ' ') C2_DTUCD1, F0004. DTRT C3_DTRT,
    TRIM (F0004. C4_DTJOBN DTJOBN), J2DT (DTUPMJ, DTUPMT) C5_DTUPMJ_DT, NVL (TRIM (F0004. (DTMRTY), ' ') C6_DTMRTY;
    TRIM (F0004. DTDL01) C7_DTDL01, TRIM (F0004. DTPID) C8_DTPID, F0004. DTMRCT C9_DTMRCT, F0004. DTLN2 C10_DTLN2,
    F0004. DTCNUM C11_DTCNUM, F0004. DTUSEQ/10 C12_DTUSEQ, TRIM (F0004. C13_DTUSER DTUSER),
    F0004. DTCDL C14_DTCDL, ' ' AS JRN_SUBSCRIBER, 'I' AS JRN_FLAG, SYSDATE AS JRN_DATE
    OF SCHEMA_NAME. F0004 F0004 WHERE (1 = 1)

    -Best regards,.
    Saha

    scratched...

    -saha

  • Possible problems with the database in double training?

    Hi all!

    First of all, please forgive my ignorance! I only worked with databases slightly over the past two years and so far only with MySQL and MS SQL.

    Recently, the company I work for bought a new Oracle requiring package. We bought a copy of Oracle 10.2 in the case and the company who resell it to us and set up for us, we have been denied access to the database on our server, dev because it would expose their underlying data schema. I wasn't in the change when the decision was made and we have spent money on a paralyzed copy of Oracle, but it's in the past.

    Because we have not dev access to Oracle, we are unable to create a database of training for this new software in the home. We pay this company to create a test environment for us. I was told that it would cost $500, until technology has said it will install Oracle on the server of our training.

    At this point, I stopped him and said $ 500, they'll be violating their license agreement, or by giving us a free copy! The other possibility is that they were going to install this and then just this law we for Oracle, despite citing the work at $500.

    Technology that was about to proceed with the installation went to check with someone of higher rank and then returned to inform me that install the second copy of Oracle would require license more fresh indeed.

    This verified what I already told him, and I said, we want a database on our existing Oracle server and copies of the new training software can just point to this training base.

    He must now take time with senior technicians while they "analyze the existing database server or the environment. He was trying to tell me to install a database on the existing server and rather buy another copy of Oracle, which seems to me to be a total drain cash. He had no solid reason why it could not do, but refused anyway and said he needs to talk to a senior technician (the same one who said that Yes, we you will need to purchase a second copy of Oracle instead of using a second database on the existing server).

    Thus, these two bases of data, data from phase one and the other a direct duplicate of these data used in a training environment where change will not be being reported should, however, be able to exist peacefully should they not? The same version of the same software to access the same data from the server, just an another database, should not be a problem with my limited knowledge of the Oracle! There are still connections in the environment of training may 5 at the time, and the server must be able to manage currently twice more than the logged in users as is the maximum current (edit: expected) load.

    I know that this would not be a problem with MySQL or MS SQL and Oracle is a superior database package, then someone can think any legitimate reason that can back up the assertion that having this duplicate database will be a problem?

    Thanks in advance for any guidance here!

    It is certainly possible to create a second instance of the database on the same server as your production system. We have several servers with multiple instances. If you follow this path, there are a few things that you should keep in mind.

    Every Oracle instance must have little memory assigned from the RAM server to host the CMS, PGA and other process oracle. Each instance must have sufficient disk space to accommodate files data temporary tablespace, rollback segments etc. Depending on how you plan to implement your training environment, this could potentially be equal to your production environment memory requirements and the disc. If you plan to have a smaller subset of data for purposes of training, then you could probably get with much less than your environment of production.

    Another possibility would be to create another schema in the database of existing production to use for training purposes. While this would need less additional memory and space drive that uttering a completely separate database, it could have an impact on your production system, since the training environment would be sharing resources with the production.

    None of these scenarios would need additional licenses to Oracle (assuming that you have either licensed CPU, or that production and training combined have fewer users you have named user licenses).

    John

  • Invalid objects in the database

    Hi Sawwane,

    We have an old environment of a year of R12.0.5 and db 10.2.0.2 apps, we receive daily invalid objects in the database, we have not applied the patches and we did not recently, all changes
    every day, we used to compile all invalids at night time, before we start our working hours in the morning, we can see some of the invalid objects,

    normally, reason why we get disabled even if we just run some scheduled several simultaneous requests in the database but we did not have before these invalides now we receive invalids in the database.

    Hello

    Please see the following document.

    Note: 312076.1 - DBA_HIST % objects become DISABLED at random
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=312076.1

    For other objects, I suspect it's something to do with the regular simultaneous queries. Then, check if new applications were created recently? And what is its role?

    Kind regards
    Hussein

  • size of the database

    Hello

    on 11 GR 2, when I do sum (bytes) of dba_segments, I get 8 to size.

    But there are only several data files in the database, each with perhaps 1 to 5 GB, and a with 8TB bigfile tablespace is allocated, but it showes

    only 3 TB free and used 5 TB.

    It's because I droped several table partitions yesterday.

    The question is how is the sum (bytes) of dba_segments gives 8TB size when I droped aprox. 5 TB of data?

    And another, how can I reduce the db so that um dba_segments (bytes) shows the size near utilization as reported in data files, and it is slightly more than 3 TB.

    You have RECYCLEBIN = ONE and if if you use the PURGE option when you fell? Otherwise, PURGE RECYCLEBIN.

  • several stores data on the same disks

    It's so strange. I can't create several stores data on the same drive. I have a 2 TB plugged on my server (motherboard) disk and after that I created my first store of data (100 GB), when I return to create another, that the drive isn't an option for me to create a new data store of. When I delete the data store, the drive comes as an option to create a new data store of. WTF?

    of http://pubs.vmware.com/vsphere-esx-4-1/wwhelp/wwhimpl/js/html/wwhelp.htm#href=fc_san_config/c_making_lun_decisions.html

    A logic unit number must contain only a single VMFS data store.

    I guess the reason for this is a SCSI reservation. Even if this has been significantly reduced in 4.x it is still necessary for some operations. Each SCSI reservation - even if this is necessary for an operation on a datastore - locks the entire disk and could therefore cause problems on other stores of data on the same drive.

    André

  • How to create a new record with the old values

    Hi all

    I have the creation with 45 page are there fields
    the user will enter all areas and save, it will call the uneditable mode

    If the change button is clicked it will call for the editable mode

    My requirement is user will not change among these ites (45 items) clcik on save again it will call to view mode

    in this user will change one value among 45 Articles and click on the button Save I need to create more than one record in the database

    If the user will not modify one of the field elements of the 45 I will not create a new record in the database

    How can we achieve this feature


    Concerning
    Anthony

    Hi Mary,

    Please try this method to copy a line in the new line...

    public void copy()
    {
    Pervert SuppliersVOImpl = getSuppliersVO1();
    Rank rank [] = pervo.getFilteredRows ("SelectFlag", "Y");
    for (int i = 0; i)<>
    {
    Rowi rank (SuppliersVORowImpl)= SuppliersVORowImpl;
    OADBTransaction trx (OADBTransaction) = getTransaction ();
    Number b = trx.getSequenceValue ("FWK_TBX_SUPPLIERS_S");
    AttributeList a rowi = (AttributeList);
    R = (SuppliersVORowImpl) pervo.createAndInitRow SuppliersVORowImpl (a);
    Define your unique attribute values here, I'll put here Ref supplier as with each new line, it must be different.
    r.setSupplierId (b);
    pervo.insertRow (r);
    }
    }

    Kind regards
    Out Sharma

Maybe you are looking for