Losing connetion pools when killing off sessions on the database

Hi,
We are using webLogic version 6.1 as our app. We are currently experiencing a problem with the connection pools to our databases.
Problem: We have some jobs that run on our databases through connections pools via webLogic. When we kill the session of the job on the database side, all the connections using that connection pool from webLogic to that database is lost. We tried to re-target the connection pool through the console but this fails to work, thus requiring a bounce to the webLogic system.
Is there an explanation for this, moreover is there a solution to resolve this as this seems unacceptable in a live production situation.
Thanks and regards
William Sung
Coporate Investment Banks & Markets
44 (0)20 7779 1357

William Sung wrote:
Hi,
We are using webLogic version 6.1 as our app. We are currently experiencing a problem with the connection pools to our databases.
Problem: We have some jobs that run on our databases through connections pools via webLogic. When we kill the session of the job on the database side, all the connections using that connection pool from webLogic to that database is lost. We tried to re-target the connection pool through the console but this fails to work, thus requiring a bounce to the webLogic system.
Is there an explanation for this, moreover is there a solution to resolve this as this seems unacceptable in a live production situation.
Thanks and regards
William Sung
Coporate Investment Banks & Markets
44 (0)20 7779 1357Hi. What DBMS is this, and what JDBC driver are you using? Also, show me the pool
definition. I may be able to help the situation, but I don't think that killing DBMS sessions
out from under applications is anything anyone should do in a production system.
Joe

Similar Messages

  • After the new update my ipad4 will not do a full recharge even when turned off overnight and the battery goes flat it 2 hours  it is driving me crazy as I had to stop all apps but still not helping

    After the new update my ipad4 will not do a full recharge even when turned off overnight and the battery goes flat it 2 hours  it is driving me crazy as I had to stop all apps but still not helping but my iPhone 5 is great no troubles at all HELP

    Do you place the ipod in the dock during the night? I did this once and the other day the battery was almost empty because it kept on playing after it rested in the dock.
    Here is more info about battery life and exchange program: http://support.apple.com/kb/HT1322
    and http://www.apple.com/support/ipod/service/battery/

  • DI 11.5.3 created inactive repository sessions on the database server

    The cusotmer complaint that many inactive sessions have been created on their DI repository database. As a result, the database has to be bounced every 3 or 4 days to clean those sessions. They use DI 11.5.3 on HP-UX. The database is Oracle 10g. What would cause this issue? The improper close of the Desinger window? Or something wrong with the job design?
    Thanks,
    Larry

    what is the process or application to which these sessions belong, Designer is not the only application which will open repo connection. WebAdmin also open connection to repository, it actually opens multiple connection
    I think you can get the application and process which have opened session to the database from v$sessions table

  • How an INDEX of a Table got selected when a SELECT query hits the Database

    Hi All,
    How an Index got selected when a SELECT query hits the Database Table.
    My SELECT query is as ahown below.
        SELECT ebeln ebelp matnr FROM ekpo
                       APPENDING TABLE i_ebeln
                       FOR ALL ENTRIES IN i_mara_01
                       WHERE werks = p_werks      AND
                             matnr = i_mara_01-matnr AND
                             bstyp EQ 'F'         AND
                             loekz IN (' ' , 'S') AND
                             elikz = ' '          AND
                             ebeln IN s_ebeln     AND
                             pstyp IN ('0' , '3') AND
                             knttp = ' '          AND
                             ko_prctr IN r_prctr  AND
                             retpo = ''.
    The fields in the INDEX of the Table EKPO should be in the same sequence as in the WHERE clasuse?
    Regards,
    Viji

    Hi,
    You minimize the size of the result set by using the WHERE and HAVING clauses. To increase the efficiency of these clauses, you should formulate them to fit with the database table indexes.
    Database Indexes
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
    The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVING clause, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    reference : help.sap.com
    thanx.

  • Query to find Memory used by each session in the database

    Hi All,
    Is there any query to find the memory utilised by each session in the database.I am in 9i database.
    Regards
    Vijay

    Memory using sessions script,
    SET LINESIZE 145
    SET PAGESIZE 9999
    COLUMN sid FORMAT 99999 HEADING 'SID'
    COLUMN serial_id FORMAT 999999 HEADING 'Serial#'
    COLUMN session_status FORMAT a9 HEADING 'Status' JUSTIFY right
    COLUMN oracle_username FORMAT a12 HEADING 'Oracle User' JUSTIFY right
    COLUMN os_username FORMAT a9 HEADING 'O/S User' JUSTIFY right
    COLUMN os_pid FORMAT 9999999 HEADING 'O/S PID' JUSTIFY right
    COLUMN session_program FORMAT a18 HEADING 'Session Program' TRUNC
    COLUMN session_machine FORMAT a8 HEADING 'Machine' JUSTIFY right TRUNC
    COLUMN session_pga_memory FORMAT 9,999,999,999 HEADING 'PGA Memory'
    COLUMN session_pga_memory_max FORMAT 9,999,999,999 HEADING 'PGA Memory Max'
    COLUMN session_uga_memory FORMAT 9,999,999,999 HEADING 'UGA Memory'
    COLUMN session_uga_memory_max FORMAT 9,999,999,999 HEADING 'UGA Memory MAX'
    prompt
    prompt ----------------------------------------------------
    prompt | User Sessions Ordered by Current PGA Size |
    prompt ----------------------------------------------------
    SELECT
    s.sid sid
    , s.serial# serial_id
    , lpad(s.status,9) session_status
    , lpad(s.username,12) oracle_username
    , lpad(s.osuser,9) os_username
    , lpad(p.spid,7) os_pid
    , s.program session_program
    , lpad(s.machine,8) session_machine
    , sstat1.value session_pga_memory
    , sstat2.value session_pga_memory_max
    , sstat3.value session_uga_memory
    , sstat4.value session_uga_memory_max
    FROM
    v$process p
    , v$session s
    , v$sesstat sstat1
    , v$sesstat sstat2
    , v$sesstat sstat3
    , v$sesstat sstat4
    , v$statname statname1
    , v$statname statname2
    , v$statname statname3
    , v$statname statname4
    WHERE
    p.addr (+) = s.paddr
    AND s.sid = sstat1.sid
    AND s.sid = sstat2.sid
    AND s.sid = sstat3.sid
    AND s.sid = sstat4.sid
    AND statname1.statistic# = sstat1.statistic#
    AND statname2.statistic# = sstat2.statistic#
    AND statname3.statistic# = sstat3.statistic#
    AND statname4.statistic# = sstat4.statistic#
    AND statname1.name = 'session pga memory'
    AND statname2.name = 'session pga memory max'
    AND statname3.name = 'session uga memory'
    AND statname4.name = 'session uga memory max'
    ORDER BY session_pga_memory DESC
    Thanks

  • How to find when index was created in the database.

    Hi,
    Please help me, how to find when index was created in the database. It should give with date and time.
    Thanks... Bakser

    Please help me, how to find when index was created in the database. It should give with date and time.DBA_/ALL/User_objects Created
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(128)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                           DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    select OBJECT_NAME,TIMESTAMP,CREATED  from ALL_OBJECTS where OWNER='OWNERNAME' AND OBJECT_NAME='OBJECT_NAME' AND OBJECT_TYPE='INDEX';Edited by: Anantha on Apr 21, 2009 3:18 PM
    Edited by: Anantha on Apr 21, 2009 3:19 PM

  • How to clean the dead sessions in the database?

    Hi,
    sqlldr user/passwd@dbtns DIRECT=TRUE SKIP_UNUSABLE_INDEXES=TRUE SKIP_INDEX_MAINTENANCE=FALSE control="test.ctl"
    3M records
    The OS shutdown when i sqlldr, and start another sqlldr into the same table
    but the table is locked.
    sqlldr failed
    SQL*Loader-951: Error calling once/load initialization
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    how to use ORACLE system maintenance procedure to clear the database dead session?
    Which procedure?
    I don't want to use the solution:
    alter system kill session

    HI..
    What is the status of the session in V$sesison view.Does the session exist.
    COLUMN username FORMAT A15
    col osuser for a15
    col module for a15
    COLUMN machine FORMAT A30
    col program for a20
    COLUMN logon_time FORMAT A20
    SELECT NVL(s.username, '(oracle)') AS username,
           s.osuser,
           s.sid,
           s.serial#,
           p.spid,
           s.status,
           s.module,
           s.terminal,
           s.machine,
           s.program,
           TO_CHAR(s.logon_Time,'DD-MON-YYYY HH24:MI:SS') AS logon_time
    FROM   v$session s,
           v$process p
    WHERE  s.paddr  = p.addr
    and AND    s.status = 'ACTIVE'
    ORDER BY s.username, s.osuser;Anand

  • B110 losing wireless config when turned off

    Hi guys
    What am I doing wrong!?
    I have configured my new B110 to talk with my home network. All goes well until I turn it off at the button. When I turn it back on again it has forgotten the configuration and needs to be set up again.
    Help please...
    Bill

    Hi,
    In order to resolve the issue, please follow the steps given below:
    -          Make sure the printer is connected to the Network.
    -          Print the network Configuration page. To do so: Press the Wireless Button or Select Setup on the printer display and then Scroll Down and select Wireless>>> Wireless Settings>>> Print Network Configuration page.
    -          Make a note of the printer IP address and open the browser on the computer and type the IP address of the printer in the Address Bar and press Enter. This will open the Printer Page
    -          In the Printer page, please click on Networking Tab and then click on Wireless (802.11) and then click on IPv4 configuration.
    -          Then Select Manual IP and in the Manual IP address, please type the IP address of the printer.
    -          Then type the Manual Subnet Mask 255.255.255.0.
    -          Then enter the Manual Default Gateway address. (IP address of the router)
    -          Then under the DNS Address configuration, Select Manual DNS Server and enter the Manual Preferred DNS Server address.
    -          Then click on Apply.
    To find the DNS address and the Gateway Address, please click on Start on the computer and then click on RUN. In the Run window type CMD and click on OK.
    In the Command Prompt type IPCONFIG/ALL and press enter. This will display the Default Gateway address and the DNS Address. Please make a note of the it and enter it in the Printer page as mentioned above.
    Then Shutdown the Router and then Shutdown the printer and then turn on the router and then turn on the printer.  The next time you restart the printer if it prompts you to enter the wireless settings, select No or Cancel and then check.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"
    (Although I am employed by HP, I am speaking for myself and not for HP)

  • Losing app docs when turning off docs & data iCloud backup switch.

    Will I lose the documents in my I annotate app if I turn off the docs & data switch in my iPad?  I don't know if there is a difference between docs saved directly to the iPad vs saved through an app like I annotate witch is saved to the iPad or cloud. I CANNOT afford to lose these docs & data.  However, I must back this up.

    New question, I'm trying to do a software update, the iOS 7.1.2.  I keep getting an error.  What do I need to do?  FYI, I cleared out my iCloud backup & I have 4.8 G of my 5 G iCloud storage.  Don't know if that matters.  Please help, thank you.
    Jeremy
    Sent from my iPhone

  • My ipod touch battery keeps losing power even when switched off

    Why? What can I do? Change the battery?

    I believe I have the information you're looking for, in return, please repond to the thread saying if it's useful or not.
    The iPod Touch can lose battery under several conditions:
    1. If the Touch is left in the USB cradle, disconnected, the wires can leech current, reducing charge.
    2. Heat can significantly reduce a battery's charge, so keep your unit away from the sunlight or other heat.
    3. Leaving your Touch with the wifi on will tax the battery, even if you're listening to tunes. Make sure the unit is completely disconnected and turned off.
    In short, make sure your Touch has wifi completely turned off, keep its cool, and disconnect the Touch from the USB cable or cradle.

  • Recent bugs? Click when clicking off/Related to the Sort Artist/Album/Track

    I've had my G5 for about a year now and it bit the dust, 4 days before my year was up :-D So I got it replaced but since then I have noticed something odd. I have clicking turned off but I can still hear it faintly in my headphones.
    Also, I began tagging my library with Album Artist and using Artist for a featured musician or remixer. Well to keep my sanity, I used the Sorting options to keep everything together in the transition. Well, after I got about 500 tracks tagged, I plugged in my iPod to sync and I have multiple duplicate artist entries on my iPod. I remove the Sorting options and it's fine. Is this a bug or feature No seriously, has anyone else experienced this? I have the latest iTunes update.

    I'm also sometimes getting some feedback when I change songs, a sound that ramps up then the track plays. Possibly hard drive spinning up? I have had this issue with my last iPod, I technically have until tomorrow until my full year is up so I may take it in again.

  • When switch off my iphone4 the SMS disappeare when I switch on no old SMS any moreno

    When I switch off my iphone4 and then switch on again my old SMS disapeare only new one appeare

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Killing Forms session from  the OEM

    It won't let me. I have tried every user/pw combo I can think of and I still get; Error:oracle.sysman.emSDK.common.emdComm.RemotOperationException: Error from external process:6 Check the User Name and Password

    Thanks Yonus,
    I am using Clear_Form(no_validate) still lock is happen...Today i deployed the following code and lets see how this one behave
    declare
                   V_cust_NO varchar2(25);
                   cursor c1(bpref varchar) is
                                  select distinct cust_NO from cust_DEVIATIONS
                   WHERE cust_NO = bpref;
         BEGIN
                        for i in c1(:block.cust_NO) loop
                   if c1%notfound then
                        V_cust_NO:=i.cust_no;
                             Display_Item( 'NAVIG.ITEM565','VA_TEXT');
                   else
                             Display_Item( 'NAVIG.ITEM565','VA_AGR');
                        end if;
                   end loop;
              --     Display_Item( 'NAVIG.ITEM565','VA_AGR');
         EXCEPTION WHEN OTHERS THEN
                   Display_Item( 'NAVIG.ITEM565','VA_TEXT');
         END;
    Do you think this above way will help or what?

  • Saving sessions in the database...

    Hi there, I'm trying to save a session object ( not a J2EE session but a custom one ) in an Oracle database. I save the session in a table with a BLOB column and some other varchar columns... Whenever I want to write a blob, the application freezes... When I want to read a file, it's ok... Anyone knows of this problem? Here is the code of my write method:
      private void writeSession(CapSession pSession) throws Exception
        static final String writeObjSQL      = "BEGIN " +
                                             "  INSERT INTO intranet_sessions(session_id, session_last_access, session_timeout, session_value) " +
                                             "  VALUES (?, ?, ?, empty_blob()) " +
                                             "  RETURN session_value INTO ?; " +
                                             "END;";
        CallableStatement stmt = conn.prepareCall(writeObjSQL);
        stmt.setString(1, pSession.getSessionId() + pSession.getPassword());
        stmt.setLong(2, pSession.getLastAccess());
        stmt.setLong(3, pSession.getTimeout());
        stmt.registerOutParameter(4, java.sql.Types.BLOB);
        stmt.executeUpdate();
        BLOB blob = (BLOB) stmt.getBlob(4);
        OutputStream os = blob.getBinaryOutputStream();
        ObjectOutputStream oop = new ObjectOutputStream(os);
        oop.writeObject(pSession);
        oop.flush();
        oop.close();
        os.close();
        stmt.close();
        conn.commit();
    }Thanks!

    Try this
    conn.setAutoCommit(false);
    PreparedStatement pstmtIns = conn.prepareStatement
                   ("INSERT INTO intranet_sessions" +
                        "(session_id, session_last_access, session_timeout, session_value) " +
    " VALUES (?, ?, ?, empty_blob()) ");
    pstmt.setString(1, pSession.getSessionId() + pSession.getPassword());
    pstmt.setLong(2, pSession.getLastAccess());
    pstmt.setLong(3, pSession.getTimeout());
    pstmt.execute();
    PreparedStatement pstmtSel = conn.prepareStatement
                   ("select session_value from intranet_sessions where session_id = ? for update");
    pstmtSel.setString(1, pSession.getSessionId() + pSession.getPassword());
    ResultSet rs = pstmtSel.executeQuery();
    while(rs.next())
         BLOB blob = (BLOB) rs.getBlob(1);
         OutputStream os = blob.getBinaryOutputStream();
         ObjectOutputStream oop = new ObjectOutputStream(os);
         ObjectOutputStream oop = new ObjectOutputStream(os);
         oop.writeObject(pSession);
    oop.flush();
    }

  • ORA-12514 when trying to connect to the database using SERVICE

    Hi,
    Version 10204
    In a single instance database i would like to create new SERVICEs in order to use them later with Resource Manager.
    The instance name is DWH.
    I run the following commands:
    I added to the tnsnames.ora file the following input:
    XYZ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XYZ)
    As SYSDBA i execute:
    > exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
    PL/SQL procedure successfully completed.
    > exec DBMS_SERVICE.START_SERVICE('xyz');
    PL/SQL procedure successfully completed.
    But when i tried to connect to the instance:
    sqlplus ac/ac@xyzSQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:44:43 2008
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    When i am trying to connect , not via the service , its successed:
    sqlplus ac/ac@dwh
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:45:07 2008
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Could you please help to understand why its failed to connect via SERVICE ?
    Thanks

    You told us.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    I ask some questions, you set alias for listener port (no default) + local_listener parameter, don't you?
    If you did....
    Please check by .....
    lsnrctl status
    lsnrctl service
    Let me show my example:
    About 1522 (no default port)
    SQL> show parameter local_listener
    NAME TYPE VALUE
    local_listener string ALIASLISTENER
    - check tnsnames.ora file in the same location listener.ora file.
    $ cat tnsnames.ora
    ALIASLISTENER=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1522))
    - About create new service
    SQL> show parameter service_names
    NAME TYPE VALUE
    service_names string db
    SQL> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_SERVICE.START_SERVICE('xyz');
    PL/SQL procedure successfully completed.
    SQL> show parameter service_names
    NAME TYPE VALUE
    service_names string xyz
    $ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:21
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 02-NOV-2008 03:28:45
    Uptime 0 days 0 hr. 0 min. 36 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File ORACLE_HOME/network/admin/listener.ora
    Listener Log File ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522)))
    Services Summary...
    Service "db" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "db2XDB" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "db_XPT" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "xyz" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    $ lsnrctl service
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:40
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
    Services Summary...
    Service "db" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "db2XDB" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:972 state:ready
    DISPATCHER <machine: hostname, pid: 30200>
    (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=45572))
    Service "db_XPT" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "xyz" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully

Maybe you are looking for

  • More than 1200 bad blocks do I need to change my Hard Disk

    Hi my hard disk on a Macbook pro has more than 1200 bad blocks do I need to change my Hard Disk Thanks for your help

  • Editing a MS Word document on CD

    Okay, I am working on a variety of books which I want to save on CDs so that I can more easily access the individual chapters in order to edit them as I need to.  How the F do I go about doing this?  I inserted a blank CD-RW and saved a chapter to it

  • New iTunes, Old iPod

    My iTunes was on an old computer that was cleaned, so all the files were deleted. All my songs are still on my iPod, but the library on the iTunes, which I recently reinstalled, is empty. Is there anything I can do to get the songs from my iPod onto

  • Need info about bundled soware with Satellite A200-1FJ

    Hello all, is Windows Vista preinstalled? Do they provide a copy with the laptop? What about driver disk? I've just received a recovery disk with my laptop. Some one bought the laptop for me from kuwait. Can anyone guide me about the dvd's included w

  • Muse and Filezilla  exporting issues

    Hello, Just finished a site and two pages do not seem to overwrite. Local preview works fine. Just two pages are missing components and do not render correctly. I tried to re export with different folder locations and re naming pages to no avail. I d