the connection of WebLogic connection pool timeout issue too soon

We are having a problem with the connection to weblogic pool. Our web application is based on the Spring Framework, deploy to Weblogic using the data source to connect to Oracle. We use a duration of 1 min and max setting of connection pool 15 on weblogic. But the problem that we face is that the pool does not manage any connection as a pool. Each request makes a new connection to the Oracle server and right closed within a few seconds of connection. The number of new connections could be easily up to more than 100 within 10 minutes.

Is there a timeout parameter to check the living connection? Could someone please share your thoughts how to solve the problem? Your help is really appreciated.

Framework Spring (2.5.3), Weblogic (10.3), Oracle (11 g 2)

This is the setting on our data source:

-----------------------
Driver class: oracle.jdbc.OracleDriver

Initial capacity: 30
Maximum capacity: 30
Ability to increment: 1
Type of instruction Cache: LRU
Statement Cache Size: 10

Test the connections on the reserve: checked
Test frequency: 120
Name of the test Table: SQL SELECT 1 FROM DUAL
Seconds to trust an idle connection pool: 10
Reduce the frequency: 900
The login retry frequency: 0
Connect time: 0
Timeout:0 connection inactive
Maximum pending connection: 2147483647
Timeout:10 store login
Reporting deadline:-1
Ignore the connections in use: checked
Pins-wire: unchecked
Remove Infected connections Enabled: checked
---------------------
Of the tracking tool, we have seen the following statistics:

Average number of active connections: 0
Current number of active connections: 0
High number of active connections: 1
Total number of connections: 1523
Current capacity: 1
Doesn't have a number of requests for reserve: 46
More high Num available: 30
Number of connections leak: 0
Wait for the high number of seconds: 0
Number of requests for reserve: 1531

Other parameters are all 0.

--------------------------
For the adjustment of the spring:

< bean id = "ourdatasource" class = "org.springframework.jndi.JndiObjectFactoryBean" >
< property name = "jndiName" > < value > weblogic.datasource < / value > < / property >

<!-adds the following to the question if debugging caused by cluster or not->
< property name = "cache" value = "false" / >
< property name = "lookupOnStartup" value = "false" / >
< property name = "proxyInterface" value="javax.sql.DataSource"/ >
< / bean >

Try to uncheck ' delete infected enabled connections "and let me know...

Tags: Fusion Middleware

Similar Questions

  • How to activate the connection pool dynamically during loading happens

    Hello

    I have two databases that contains the same data. IE Prod_db, Prod_db1,

    I want to move the connection pool dynamically during loading times

    Ex: During load happens I want to hit prod_db1, after full charge I want to hit prod_db. How to get there.

    Use the W_ETL_RUN_S of the situation of the table column to validate the loadtime

    PS mark correct or useful

  • Impossible to select the connection pool when creating block init for current_month

    Hi all

    I use OBIEE 11.1.1.6.0 Version,

    I'm tempted to create a session variable (current month), but I found I could not choose the option of pool connection, is disabled, do not know why

    Anyone encounter this issued before?

    Your response will be much appreciated!

    Thanks in advance

    Kind regards
    Anne

    Hello

    try to make
    In the administration tool go to tools-> Options-> general tab and check "allow first connection Pool for blocks. Init option."
    After the checkbox activated, then save it and then try again.

    Thank you
    Deva

  • OBIEE 11 g RPD migration - how to automate the Connection Pool passwords changes in environments

    Hello gurus

    We have a situation in our client, where I am responsible for automating RPD Migrations in environments. In our current scenarios, (SID database) data source names and user names (schema name) are same in environments. The current process deploy us the RPD by EM then SPR online by using the administration tool and manually open update passwords in each connection pool (we have 9 pools of connections). There has been a lot of problems with this approach you can imagine (especial when do things the manual way).

    Can you please provide a better approach to automate this process in order to avoid human error.

    Thank you very much.

    Take a look at BIServerT2PProvisioner.jar http://docs.oracle.com/cd/E29542_01/bi.1111/e10540/conn_pool.htm#BHBBDDFF

  • Pool table of event in the connection pool of 11g OIC for obiee 11g

    Hi all, I tried to use the event pool table using the OIC 11 g connection pool. A deleted event, but cache pool table records did not get purged after 60 minutes interval. Should we do addition together upwards to event pool table when you use oci 11g other that makes it active? It seems that it works only with odbc to connect. http://gerardnico.com/wiki/dat/obiee/event_table thanks, Sushil

    Import the table with ODBC and change the interface call OCI connection pool.

  • How to compile the connection pool java example code

    I recently bought David Knox of 'Effective Oracle Database 10' g security by Design and worked through his examples with identifiers of customers and how to exploit the database security with anonymous connections pools.

    The side of the things database I totally understand and have implemented, but I now want to compile / the java run the examples of code, but do not know what is required to compile this.

    I am running Oracle 10.2.0.4 (64-bit) Enterprise Edition on a Linux (RHEL 5) PC. Version Java is 1.6.0_20. .Bash_profile relevant environment variables are:
    export LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib
    Export CLASSPATH = $ORACLE_HOME/jre: $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib
    export PATH = $ORACLE_HOME/bin: $ORACLE_HOME/OPatch: / usr/kerberos/bin: / usr/local/bin: / bin: / usr/bin

    When I try to compile, I get:
    Oracle Java: DB10204$ FastConnect.java
    Exception in thread "main" java.lang.NoClassDefFoundError: java/FastConnect
    Caused by: java.lang.ClassNotFoundException: FastConnect.java
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    The main class is not found: FastConnect.java. Program ends.

    Below is an example java source code. Is anyone able to point me in the right direction as to how to get this to compile? I have just a configuration syntax change and/or the environment to do, or there it more for this example doesn't work? Any help much appreciated.
    oracle:DB10204$   cat FastConnect.java 
    package OSBD;
    import java.sql.*;
    import oracle.jdbc.pool.OracleDataSource;
    
    public class FastConnect
    {
      public static void main(String[] args)
      {
        long connectTime=0, connectionStart=0, connectionStop=0;
        long connectTime2=0, connectionStart2=0, connectionStop2=0;
        ConnMgr cm = new ConnMgr();
        // time first connection. This connection initializes pool.
        connectionStart = System.currentTimeMillis();
        Connection conn = cm.getConnection("SCOTT");
        connectionStop = System.currentTimeMillis();
        String query = "select ename, job, sal from person_view";
        try {
          // show security by querying from View
          Statement stmt = conn.createStatement();
          ResultSet rset = stmt.executeQuery(query);
          while (rset.next()) {
            System.out.println("Name:   " + rset.getString(1));
            System.out.println("Job:    " + rset.getString(2));
            System.out.println("Salary: " + rset.getString(3));
        }
          stmt.close();
          rset.close();
          // close the connection which resets the database session
          cm.closeConnection(conn);
          // time subsequent connection as different user
          connectionStart2 = System.currentTimeMillis();
          conn = cm.getConnection("KING");
          connectionStop2 = System.currentTimeMillis();
          // ensure database can distinguish this new user
          stmt = conn.createStatement();
          rset = stmt.executeQuery(query);
          while (rset.next()) {
            System.out.println("Name:   " + rset.getString(1));
            System.out.println("Job:    " + rset.getString(2));
            System.out.println("Salary: " + rset.getString(3));
          }
          stmt.close();
          rset.close();
          cm.closeConnection(conn);
        } catch (Exception e)    { System.out.println(e.toString()); }
        // print timing results
        connectTime = (connectionStop - connectionStart);
        System.out.println("Connection time for Pool: " + connectTime + " ms.");
        connectTime2 = (connectionStop2 - connectionStart2);
        System.out.println("Subsequent connection time: " +
                            connectTime2 + " ms.");
      }
    }
    Code download is: http://www.mhprofessional.com/getpage.php?c=oraclepress_downloads.php & cat = 4222
    I'm looking at Chapter 6.

    I extracted the .jar (jar - xvf) file

    The ODBC .jar file? Don't, don't. Add it to your classpath as it is, or paste it into the WEB-INF/lib directory, or what you have to do.

  • connection to the connection pool maximum limit?

    What is the maximum number of connection for a connection pool?

    Hello..

    Check these...
    max connection pool connections
    http://www.appsbi.com/OBIEE-connection-pool/

  • JDeveloper PL/SQL WebService deployment to use the connection pool

    Hello

    JDeveloper/OAS 10.1.3.4

    We have generated Web Services based on package/procs of PL/SQL by using wizard. When we deploy, it generates a new pool of connections and the connection on the OAS. If change us the Web Service in JDev to use a connection Pool existing and redeployment, it always creates a new connection/connection pool.

    Change: oracle - webservices.xml, web.xml, and < ServiceName > base.java files

    Anyone know how to get around this without using WebServicesAssembler?

    Thank you

    When you deploy the server, don't include any local data sources. In JDeveloper:
    1. choose Tools > Preferences to display the Preferences dialog box.
    2. Select the deployment on the left side.
    3 uncheck data - sources.xml during deployment of default package.
    This can be changed later for other projects if you do not want to deploy the data source.
    Daren

  • Business leader knows the connection/disconnection/display issues

    Our VP of finance was recently provided with a new HP Probook 8770w. It has a docking of 90 watts and an SSD. She complains that when she shut the machine and detaches, then opens again the machine for meetings she can not get display drivers to detect other options to display as you reconnect to an another external monitor or projector. What is the best driver we can provide him and what other steps should take to ensure that it is able to disconnect/dock, sleep and display dynamically and smoothly? I'm the support office for this company engineer. I use HP almost exclusively and it would be useful to have a way to resolve this sort of thing (as I've seen before).

    Thank you.

    Sorry for the duplicate entry. I didn't know that the first had posted when I was asked to sign.

  • WebLogic datasource County connection active more than the max connection pool

    Hi guys,.

    We will observe strange behavior on one of our WebLogic instances. A data source is set up with an initial and maximum of 50 capacity, and yet the source of data analysis, we see a number of active connections more of 50 years. In fact, it continues to rise up to 800, after which the database stops to deny connections (obviously).

    Why the maximum capacity of the connection pool is not respected?

    We lack WebLogic 10.3.5 and the connection pool is connected to an Oracle database using the driver oracle.jdbc.OracleDriver.

    Thank you!

    Yes, wire-PIN is documented to override your init-max because it takes
    a connection by running WebLogic threads. If your application also generates its own thread
    who get to pool connections, you have 800 (ugly) son, with a connection.
    This would indicate use suboptimal pool too, which is better to use in getting a connection, using
    and close the ASP, all in a single method call, if the connections are not kept for long periods
    by any thread.

  • Connection pool with the OAS and the optimal value of min/max

    Hello world


    I have ", works with admin app to implement under oracle application server connection pool. The current value is min = 0, max = unlimited which I think means not implemented connection pool.

    Anyway I don't have a lot of information on connection pooling, I searched the forums, but I'm not able to find any useful information.


    My Manager would like to know what is the optimal value for min/max for the database, is there a specific formula or a tool that can help me on this issue?


    Thanks in advance.

    Hello

    It's a specific formula or a tool that can help me on this issue?

    The value that you specify for the number of connections and connections Min depends on a combination of factors, including the size and configuration of your database server and the type of the SQL operations that
    your application runs.

    For connection pooling,.
    First, check what is the value of 'process' located on the end of DB (for your current value, check v$ resource_limit at the end of db)...
    for example if the process is set to "1000", you cannot set the maximum value of the connection pool to the end server application above 1000 it will crash your database.

    now on the server side Application.
    As a best practice, set the maximum number of open connections and Minimum of connections open to the same value.

    For more details on connection pool and its settings.
    Check "Setting Up Data Sources - Performance Issues" of the link pdf below

    docs.oracle.com/cd/B14099_19/core.1012/b14001.pdf

    Hope that it would be useful

    Concerning
    Fabian

  • After the connection is closed, the oracle session remains unavailable

    Hi all

    using weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection;

    with weblogic server 12 c I can't release the connection to the data source.

    Even when the web application made the destroy method,

    Oracle sessions are allocated, and every time I reconnect, the number of sessions pushes saturating the connection pool.

    What can I do to properly release resources?

    Thanks in advance

    Marco

    That's what I see in oracle:

    Select sid, status, server, session v program $;

    SID; STATUS; SERVER; PROGRAM

    497; INACTIVE; DEDICATED; JDBC Thin Client

    537; INACTIVE; DEDICATED; JDBC Thin Client

    543; INACTIVE; DEDICATED; JDBC Thin Client

    The source is

    ...

    DataSource ds = (DataSource) context.lookup (jndiname);

    ....

    public connection getConnection() throws SQLException {}

    Connection con = ds.getConnection ();

    return con;

    }

    Private Sub closeConnection (con Connection) throws SQLException {}

    If (con! = null & &! con.isClosed ()) {}

    con. Close;

    con = null;

    }

    }

    ...

    Connection con = getConnection().

    Statement statement = null;

    ResultSet rs = null;

    Statement = getStatement (con);

    try {}

    RS = statement.executeQuery (query.getQuery ());

    If (rs! = null) {}

    RES = new TASDataWrapper (SR);

    }

    } catch (SQLException ex) {}

    ...

    } {Finally

    If (rs! = null) {}

    RS. Close();

    }

    If (declaration! = null) {}

    Statement.Close ();

    }

    closeConnection (con);

    }

    ....

    {} public void destroy()

    ....

    DataSource = null;

    }

    Well, everything looks good to me. I'm guessing that the Sessions will continue to be there until the Time Out of Session is reached. Can you please adjust the session timeout down and observe the response?

    Thank you

  • connection pool and inefficient query plan

    There is a single query that covers almost 90% of cpu DB.

    Select * from employee e, Department d where e.departement_id = d.department_id

    Us will gather statistics for this table in two, and the issues is resolved.

    This occurs every 2 weeks. That said, the query runs fine for 2 weeks and then we have questions... we will bring together the statistics of these two tables... and things are good for another 2 weeks.

    This query is a proc to store oracle pl - sql, which is called by the JDBC code. I introduced 2 months behind connection pooling, and today, we are facing this problem.

    The query has been accounting for 5 years with no problems.

    Before that I presented the connection pool, the jdbc code created a new connection before calling the store proc.

    Do you think that my connection to the connection pool has introduced this problem.

    The DBA tell me that the query runs a bad plan. Oracle recovers not the more effective plan (and that leads to this high CPU utilization).

    I guess that after 2 weeks Oracle begins to pick up plans that are effective in.

    Do you think all that this question never has nothing to do with my connection pooling code.

    I use Oracle 10 G.

    Hi Mike and ground beach thanks for your response.

    It was just a doubt... that you guys allowed.

    Thank you

    m

  • Import metadata connects in online mode, but "view data" says the connection failed

    Hello

    My installation of obiee is on AIX (solutions for linux will be good). I installed successfully obiee. I created a connection odbc with no problems.

    I download and installed the dev admin too i.e. the stand-alone tool.

    Offline, the two 'import metadata' and after the table is imported, 'Examining the data' works without any problem.

    In online mode, I click on 'Import metadata' of the connection pool or file, both instantly connect. Once the table is imported, I select a column and say "Look at the data" and it says that the connection failed. Should the customer Oracle DB installed on the machine as unix? I tried to copy the file tnsnames.ora to my local computer to the OracleBI_1/network/admin directory, restart services and connected in online mode, BUT always "the connection failed".

    Could someone help me with this please? seems to be a known issue.

    Thank you

    Dan

    YES for the Oracle client.

    Check this parameter to the top of the Data Sources on Linux and UNIX - 11 g Release 1 (11.1.1)

    You can copy the admin folder or completely ignore

  • connection pool

    HI the OBIEE Experts

    How many pools of connections you used in your project

    To get data from another schema, then what you must activate in the connection pool

    . Can we create multiple pools of connection under the object of a database


    Thanks in advance

    You seriously to come on the forum and posting simply questions of an interview questionnaire or a certification test?

    You have 4 threads right now with 2 different user accounts. I suggest that you stop this behavior. Start posting questions with a specific context and meaning. We only are here to get a job, that you should better start for your own good if you do not know the answers and even less here to help you cheat your way to certification.

Maybe you are looking for

  • polarizers... linear vs. circular

    Just trying to sort out the differences... and decide what is best for me. .. tips are another fire at the crossroads... you will still need to make the choice... its just easier to see how you might prefer.

  • The number of cores!

    Hello I just want to clarify a confution I. I bought a new laptop Aspire V5 - 571P (which I love by the way). When I bought PCWorld UK they had displayed it the form and was told that it is a dual core. When I look in Device Manager it shows as four

  • To access the old back base with XP CD

    I have a number of CDs that were created by using Windows 2000 to store old Wordperfect BACK files. These files contain text information related to the patented technology. As it happens to be that I was not able to read the CD with Windows XP. The i

  • [URGENT] - I can not activate my bluetooth. Please answer quickly...

    Hello Helpers, I use toshiba M300 satellite with windows vista basic 32-bit operating system. Recently, my bluetooth software installed in my computer did not work. Whenever I go to the bluetooth file transfer Wizard can't find all devices at all. Wh

  • What should I do when integrate it W #indows I use does not work?

    Silverlight. When I try to watch a video on the wensite of Microsoft, told me that I have to download Silverlight that I know that I have. So, when I try the top download. I am told I have already and stop the downopoad wjhile pro0cess Imn can not wa