Connection Pool Metrics in ASC - doesn't seem to reflect the usage

Guys,
So i am trying to monitor the jdbc connection pool usage using the Application server Console (following the link --> Cluster Topology > Application Server: engas-machine > OC4J: oc4jinstance > JDBC Resources > Connection Pool Metrics: "myconnectionpool"
But i don't see the Pool Usage not reflecting any change and displaying the value 0 for all attributes as below
     Connections In Use     0          
     Free Connections          0          
     Total Connections in Pool          0          
     Threads Waiting for Connections     0
I wonder why is that, i wonder if i have to use ojdbc-dms driver for the ASC to display the actual statistics ?
Thanks in advance

BTW. here is the data-source.xml file...
<data-sources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd" schema-major-version="10" schema-minor-version="1">
<managed-data-source connection-pool-name="MyAppConnectionPool" jndi-name="jdbc/mydb" name="mydatasource"/>
<connection-pool name="MyAppConnectionPool" initial-limit="20" max-connections="100" min-connections="20">
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="[username]" password="[password]" url="jdbc:oracle:oci:@mydb" commit-record-table-name=""/>
</connection-pool>
</data-sources>
</connection-pool>
</data-sources>

Similar Messages

  • HT1386 I installed Snow Leopard and have the latest version of iTunes. However, when I connect my iPhone, it charges and iPhoto opens, but iTunes doesn't seem to recognize the iPhone. It simply doesn't appear in the left column. What gives?

    I installed Snow Leopard and have the latest version of iTunes. However, when I connect my iPhone 4S, it charges and iPhoto opens, but iTunes doesn't seem to recognize the iPhone. It simply doesn't appear in the left column. What gives?

    http://support.apple.com/kb/TS1591

  • Connection Pooling and JSP Custom Tag Library - is code (inside) the best way/correc?

    Hi, can anyone advise as to whether my tag library code (based
    on Apache Jakarta Project) will actually achieve connection
    pooling functionality across my entire JSP based application? I
    am slightly concerned that my OracleConnectionCacheImpl object
    may exist multiple times, hence rendering my conection pooling
    attempt useless.
    package com.solved.tag.dbtags.connection;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspTagException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import oracle.jdbc.pool.OracleConnectionCacheImpl;
    * <p>JSP tag connection, used to get a
    * java.sql.Connection object.</p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>connection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.ConnectionTag&lt;/t
    agclass>
    * &lt;bodycontent>JSP&lt;/bodycontent>
    &lt;teiclass>com.solved.tag.dbtags.connection.ConnectionTEI&lt;/t
    eiclass>
    * &lt;info>Opens a connection based on a jndiName.&lt;/info>
    * &lt;attribute>
    * &lt;name>id&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    public class ConnectionTag extends TagSupport {
    static private OracleConnectionCacheImpl cache = null;
    public int doStartTag() throws JspTagException {
    try {
    Connection conn = null;
    if (cache == null) {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup
    ("jdbc/pool/OracleCache");
    cache = (OracleConnectionCacheImpl)ds;
    catch (NamingException ne) {
    throw new JspTagException(ne.toString());
    conn = cache.getConnection();
    pageContext.setAttribute(getId(),conn);
    catch (SQLException e) {
    throw new JspTagException(e.toString());
    return EVAL_BODY_INCLUDE;
    package com.solved.tag.dbtags.connection;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    * <p>JSP tag closeconnection, used to close the
    * specified java.sql.Connection.<p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>closeConnection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
    lt;/tagclass>
    * &lt;bodycontent>empty&lt;/bodycontent>
    * &lt;info>Close the specified connection. The "conn"
    attribute is the name of a
    * connection object in the page context.&lt;/info>
    * &lt;attribute>
    * &lt;name>conn&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    * @see ConnectionTag
    public class CloseConnectionTag extends TagSupport {
    private String _connId = null;
    * The "conn" attribute is the name of a
    * page context object containing a
    * java.sql.Connection.
    * @param connectionId
    * attribute name of the java.sql.Connection to
    close.
    * @see ConnectionTag
    public void setConn(String connectionId) {
    _connId = connectionId;
    public int doStartTag() {
    try {
    Connection conn = (Connection)pageContext.getAttribute
    (_connId);
    conn.close();
    } catch (SQLException e) {
    // failing to close a connection is not fatal
    e.printStackTrace();
    return EVAL_BODY_INCLUDE;
    public void release() {
    _connId = null;
    package com.solved.tag.dbtags.connection;
    import javax.servlet.jsp.tagext.TagData;
    import javax.servlet.jsp.tagext.TagExtraInfo;
    import javax.servlet.jsp.tagext.VariableInfo;
    * TagExtraInfo for the connection tag. This
    * TagExtraInfo specifies that the ConnectionTag
    * assigns a java.sql.Connection object to the
    * "id" attribute at the end tag.
    * @author Matt Shannon
    * @see ConnectionTag
    public class ConnectionTEI extends TagExtraInfo {
    public final VariableInfo[] getVariableInfo(TagData data)
    return new VariableInfo[]
    new VariableInfo(
    data.getAttributeString("id"),
    "java.sql.Connection",
    true,
    VariableInfo.AT_END
    data-sources.xml:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-
    sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    name="jdbc/pool/OracleCache"
    location="jdbc/pool/OracleCache"
    url="jdbc:oracle:thin:@oracle1:1521:pdev"
    >
    <property name="maxLimit" value="15" />
    <property name="cacheScheme" value="2" />
    <property name="user" value="console" />
    <property name="password" value="console" />
    <description>
    This DataSource is using an Oracle-native DataSource Class so as
    to allow Oracle Specific extensions.
    A getConnection() call on this DataSource will return
    oracle.jdbc.driver.OracleConnection.
    The connection returned is a logical connection.
    The caching scheme in place is Fixed Wait. Refer below to
    possible values.
    Dynamic 1
    Fixed Wait 2
    Fixed Return Null 3
    </description>
    </data-source>
    </data-sources>
    many thanks,
    Matt.

    Hi. Show me your pool definition.
    Joe
    Ramamurthy wrote:
    I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
    I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
    When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
    "javax.servlet.jsp.JspException: Failed to write body content
    at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
    After this message, whenever I try to access the same jsp page I am getting the message
    "javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
    river
    at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
    Can you please help me the reason why this problem is happening and how to fix this ?
    This problem doexn't happen consistently. This occurs once in a while.
    I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
    Thanks for your help !!!
    Ram

  • My iPod dispalys this message: "Connect to a computer. Use iTunes to restore."  When I connect to a computer, iTunes doesn't recognise it.  The iPod 5th Gen does not work at all. How do I fix my iPod without losing any data?

    My iPod dispalys this message:
    "Connect to a computer. Use iTunes to restore."  When I connect to a computer, iTunes doesn't recognise it.  The iPod 5th Gen does not work at all. How do I fix my iPod without losing any data?
    I have seen the Apple webpage suggesting the "five R's" (including restore).  Before doing anything, I want to be sure that restoring or any other action is not going to delete or risk my data. 
    I would be very grateful if anyone can suggest a fix for this problem, in a way that will not risk my data. 
    Thanks in advance!

    Did you try a hard reset with the iPod still connected to your PC?  Have you tried multiple USB ports, preferably high powered USB 2.0 ports?
    To do a hard reset, first make sure the hold switch is in the Off position, then press and hold both the Select (Center) and Menu buttons together long enough for the Apple logo to appear.
    Have you also worked through each and every single troubleshooting suggestion in this Apple support document?
    iPod not recognized in 'My Computer' and in iTunes for Windows
    B-rock

  • Why can't I get my printer to print out a playlist from i-tunes? It used to work but now my printer doesn't seem to receive the "print" command.

    Why can't I get my printer to print out a playlist from i-tunes? It used to work, but now the printer doesn't seem to recognize the "print" command coming from i-tunes. The printer works for other applications!

    I  finally solved this problem after toiling with it for a couple of  days.  Solution:  Once you have  burned your CD you must go back into  iTunes to your music/playlists and select the playlist you just burned  and click file; print and you will  get the mosaics that we have been  accustomed to.  I was on hold with  Apple Support when I found this  myself.  Yes......!!! Problem solved..for me anyway.  Good luck!
    Scott

  • Why can I not import the videos from my iPhone 4 onto my desktop (Windows Vista)? When I plug in it imports the photos without a problem but it doesn't seem to import the videos.

    Why can I not import the videos from my iPhone 4 onto my desktop (Windows Vista)? When I plug in it imports the photos without a problem but it doesn't seem to import the videos.

    1.Download the Flash setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC = Processes tab}
    3. Then run the Flash setup file from your Desktop.
    * On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). <br />
    See this: <br />
    [http://vistasupport.mvps.org/run_as_administrator.htm]

  • Hello, I've installed Lion but now it says I can't use the Cloud as I need the Apple ID Password to use Back to My Mac. I've obtained several new Apple ID passwords which work ok on my phone but doesn't seem to be the password it's looking for?

    Hello, I've installed Lion but now it says I can't use the Cloud as I need the Apple ID Password to use Back to My Mac. I've obtained several new Apple ID passwords which work ok on my phone but doesn't seem to be the password it's looking for.Does anyone know what's needed please ??

    It's probably looking for the Apple ID & Password you used to purchase Lion, or ML as the case may be.
    Thse are the Mountain Lion forums, is that what you meant?

  • The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the

    When i tried to login in inbrowserediting.adobe.com i see that:
    The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user.
    What does it mean? What is problem?

    Hi,
    I have just created my First website using Muse and Its all been uploaded to my FTP server but i cant access the in browser editing which was the whole reason why i re-done the website for my client using muse
    its saying the following
    "The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user. server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user."
    Yet i Can access my website fine "www.calmwood.com.au"
    My ftp server responds to either the IP Address or the DNS Address www.calmwood.com.au
    so i am not understanding how it thinks its different. when its fully referenced
    any help would be appreciated.
    thanks

  • My billing address doesn't seem to match the credit card I entered. But I'm 10000% sure that I wrote the adress correct. Is this some kind of error?

    My billing address doesn't seem to match the credit card I entered. But I'm 10000% sure that I wrote the adress correct. Is this some kind of error?@

    contact adobe support by clicking this link and then clicking 'still need help' as soon as it appears, https://helpx.adobe.com/contact.html

  • My product that I downloaded doesn't seemed to include the fuctions i need.

    First the front apperence of labview 2015 doesn't seemed to match the toturals of that same year type as well as seems to be missing the FRC roboRio Project, as well as in the blank VI or any other there doesn't seemed to be the WPI robotics Library program file. Also when i try to open a program under the one i can open theres no robot main or anything include with that.

    I would post your questions in the FRC page if it has to do with the competition.
    https://decibel.ni.com/content/community/academic/student_competitions/frc?view=discussions
    Also if you are on a team you should be able to call in to National Instruments support between 1 and 7pm central.  During this time we have a special group of engineers handling calls from first teams.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • HT5868 I am not hooking up to a new computer - I just plugged into the same computer and it asked me this Trust My Computer question.  I hit Trust - yet it still doesn't seem to find the device on my computer.  It doesn't show up in my iTunes list of devi

    I am not hooking up to a new computer - I just plugged into the same computer and it asked me this Trust My Computer question.  I hit Trust - yet it still doesn't seem to find the device on my computer.  It doesn't show up in my iTunes list of devices.

    Hi Dalegu219,
    Thanks for visiting Apple Support Communities.
    If your iTunes library is on an external hard drive, but iTunes is not recognizing the library, first make sure the right library is selected.
    You can use these steps to make sure iTunes is opening the library on your external drive:
    If iTunes is running, quit iTunes.
    If you're using Windows, hold down the Shift key and from the Start menu, choose All Programs > iTunes > iTunes.
    If you're using a Mac, open iTunes and immediately hold down the Option key.
    You should see one of these screens:
    Pick Choose Library and locate the library on your external hard drive.
    From:
    iTunes: How to open an alternate iTunes Library file or create a new one - Apple Support
    If the right library is selected, but you do not see your songs, try re-creating the library using the instructions found here:
    iTunes: How to re-create your iTunes library and playlists - Apple Support
    Best Regards,
    Jeremy

  • Your billing address doesn't seem to match the credit card you entered.

    Hey everybody,
    I would like to purchase the  phoyoshop+lightroom programm but I constantly get the following error message:
    "Your billing address doesn't seem to match the credit card you entered. Check to make sure you entered this information correctly, and if you still can't place your order, please call us at +1 800-585-0774. If you're not in North America, you can look up a local number here."
    I am positive that the information I entered is correct as I checked and tried it more than ten times.
    Does anybody know what could be the problem and how to fix it?
    Esther

    I have the same issue. Haven't been able to get any work done for almost a week now. I have contacted the support chat 8 times by now - most unhelpful support ever. They all give me the same advice even though i say that i already tried that as if they are reading their answers off a pre-written sheet.
    I have tried 2 credit cards, i have confirmed everything, including the address, with my bank - all good there. Desperate for help, my boss is gonna have my balls soon -.-

  • My HP scanner/printer scans but my iMac doesn't seem to accept the scans in either iPhoto or Pictures.  I've got os 10.6.8 and all the latest sofware updates for the scanner and for iPhoto.  Helpv

    My Hp printer/scanner C5280 used to work fine with my iMac with OS 10.6 but lately after doing the scan it doesn't seem to finish by putting the scan in either iPhoto or in pictures.  I have all the latest sofware updates for both devices. The scanner does the "preview" scan right away and the copier works fine.  Is there some setting I am overlooking?

    Try using Image Capture, you will find it in your Applications folder. In either IC or the method you are using you can tell the application to scan to a destination. It will look similar to:
    If you still have trouble give AppleCare a call or visit your local Apple Store Genius and they can walk you through it. Your problem may be the at you are not defining anything in the preview to be scanned, you do this by dragging the mouse over the area you want scanned and it will draw a box around it.  Here is a screen shot that show's that.

  • Why do I have such a hard time when I connect to facebook games it doesn't want to start the game it sending me a message about apps...what does that mean?

    why do I have such a hard time when I connect to facebook games... firefox doesn't want to open the game the message is sending that their something with the apps..what does that mean?....what is plugin...what do I do for that?

    The usual explanation is that it is a licensing issue. It's not Apple refusing to support an MS product (they support loads of others, like QuickLook for Office docs). MS won't let Apple have it. (The Linux-based solutions are third-party reverse engineered.)
    That having been said, I've never had a problem plugging an NTFS drive and reading files from it. Why does it take you an hour?
    I've never had a problem with a Mac-formatted USB thumb drive not writing either. It's possible that the hardware/software that Apple uses is more sensitive to cheaper thumb drives, but I'm guessing here.

  • How do I export video from a Canon Optura 30 camcorder to my iMac/ iMovies? I've tried a Firewire cable but imovies doesn't seem to recognise the camcorder.

    I've been trying to export video from my Canon Optura 30 camcorder to imovies with a firewire lead, however nothing happens and imovies doesn't semm to reconise the camcorder. Can anyone help please?

    Here is a compatibility chart for iMovie:
    http://help.apple.com/imovie/cameras/en/index.html?lang=en_US
    I did not see yours; however, as long as it has firewire, it should work. Did you read the instructions in both your camcorder manual and in iMovie on the steps needed?
    If you can't get it to work after following the steps, what format does it record in? Is it on a memory card? If so, it'd be easy: just use a USB card reader, plug it in and import your footage that way.

Maybe you are looking for