Listener won't release connections

Hi,
I'm getting "Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: All connections in the Universal Connection Pool are in use"
after a few seconds of single user use on my Apex (4.1) application.
Looking at the admin page I can see that the "active" connections have reached the max connections setting.
Problem is, the active sessions counter never reduces. I am just entering the demo app that comes with Apex going into orders and selecting one.
Trying exactly the same on my laptop with local listener and database set up the active connections are released and return to 0 when I do exactly the same.
The JDBC settings are as follows: Inital Pool 3, Min connections 1, max 10, Max statements 10, Inactivity TO 1800, Statement TO 900.
Increasing the max connections simply delays the problem.
Any ideas as to why the connections are not being released back into the pool? Thought it might be something wrong with the Apex install which was done for using the app server, but I can't see anything from the installation guide that helps.
Cheers
Mark

Apex listener 1.1.4.195.00.12
DB 11.2
Apex 4.1
Here is the log, as soon as I start using the demo app I get closed connection messages, and for each one I get an active connection in the admin console, until eventually there are none available.
Sometimes it seems to behave, but other times it doesn't work at all.
I have the listener running on an application server (stand alone). But if I have the listener running on my local PC it gives the same issues.
I have tried installing the db, apex, listener all on my laptop and the demo app works just fine with none of these closed connection messages
Log below:
c:\apexlstnr>java -jar apex.war
INFO: Starting: C:\apexlstnr\apex.war
See: 'java -jar apex.war --help' for full range of configuration options
INFO: Extracting to: C:\Users\carym\AppData\Local\Temp\apex
INFO: Using classpath: file:/C:/Users/carym/AppData/Local/Temp/apex/apex/____emb
edded/start.jar:file:/C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/ap
ex.jar:file:/C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/commons-fil
eupload-1.2.1.jar:file:/C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/
je-4.0.103.jar:file:/C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/ojd
bc6.jar:file:/C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/ojmisc.jar
:file:/C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/poi-3.6-20091214.
jar:file:/C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/ucp.jar:file:/
C:/Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/xdb-11.2.0.jar:file:/C:/
Users/carym/AppData/Local/Temp/apex/apex/WEB-INF/lib/xmlparserv2-11.2.0.jar:
INFO: Starting Embedded Web Container in: C:\Users\carym\AppData\Local\Temp\apex
Oct 29, 2012 9:52:51 AM ____bootstrap.Deployer deploy
INFO: Will deploy application path=C:\Users\carym\AppData\Local\Temp\apex\apex\W
EB-INF\web.xml
Oct 29, 2012 9:52:51 AM ____bootstrap.Deployer deploy
INFO: deployed application path=C:\Users\carym\AppData\Local\Temp\apex\apex\WEB-
INF\web.xml
Using config file: C:\Users\carym\AppData\Local\Temp\apex\apex-config.xml
-- listing properties --
PropertyCheckInterval=60
ValidateConnection=true
MinLimit=1
MaxLimit=10
InitialLimit=3
AbandonedConnectionTimeout=900
MaxStatementsLimit=10
InactivityTimeout=1800
MaxConnectionReuseCount=1000
APEX Listener version : null
APEX Listener server info: Grizzly/1.9.18-o
Oct 29, 2012 9:52:56 AM com.sun.grizzly.Controller logVersion
INFO: Starting Grizzly Framework 1.9.18-o - Mon Oct 29 09:52:56 GMT 2012
INFO: http://localhost:8080/apex started.
Using JDBC driver: Oracle JDBC driver version: 11.2.0.2.0
Closed Connection
Closed Connection
Closed Connection
Closed Connection
Closed Connection

Similar Messages

  • Listener Won't accept connections after time (OERR TNS lost contact)

    I am running 8.1.7.0.1 on Linux 7.1 (all patches applied).
    Things were going great until this morning and my listener now
    seems to be flaking out. After I start it, people can connect to
    the database but within a few minutes they start getting
    ORA-12547 TNS lost contact when they try to connect. If I
    tnsping the database from my client I get the "No Listener"
    message. Doing a status on the listener shows that (2) service
    handlers are active for my database...when I first start it there
    is only one. What does that mean? Does anyone have any
    suggestions? Thanks in advance...

    How is your Apple TV connected to your Computer? I know that you are doing this wirelessly, but is their an access point being used between your computer and the Apple TV? If so, is it and Airport Extreme, or a third-party router? If third-party, what type? N? G?
    What is the distance between your computer and the bedroom? What type of computer are you using Mac or PC? If PC, XP or Vista?
    Sorry to ask all of these questions, but I'm trying to figure out if this is a problem with the distance and, if so, can the router be tweaked to increase its broadcast to your bedroom.
    If the the distance is too great, you might have to purchase an Airport Express to work as an extender. On the other hand, if you are using a Linksys Router, you can change the Radio Beacon to improve signal. If you are using an access point google Beacon Interval, Fragmentation Threshold, and RTS Threshold.
    For example, change your Beacon to 50, your Fragmentation Threshold to 2304 and your RTS Threshold to 2305. This will improve the quality of the signal. You do this by accessing your Router through your web browser: type 192.168.1.1 (or whatever is the equivalent for your router.)
    Well, I'm walking between the raindrops here. Good luck.

  • TS1702 I have an Iphone 5  6.01.  I have a notice on my app store that I have an update. Tried to update, but it won't.  Connected to Itunes and tried to download update for App.  I can't do that either.  It won't let me update any of the apps.  What is w

    I have an Iphone 5  6.01.  I have a notice on my app store that I have an update. Tried to update, but it won't.  Connected to Itunes and tried to download update for App.  I can't do that either.  It won't let me update any of the apps.  What is wrong?

    My husband and I are using the same iTunes account on all mac & pc computers, but the libraries are different on each machine.  We always manually manage our music (no auto sync).  iTunes is up to date on the PCs.  My husband uses our joint iTunes account on his pc, but once again, has a different collection in his library from those on the other machines.  He can't load any music from his PC to his iphone 4.  I can load music from my mac library to my iphone 4s, but cannot load from my pc library to my iphone 4s.  How can I switch my main library that it syncs with from the mac to the pc?
    Thanks

  • Firefox won't open/connect tp the internet. Explorer opens and connects. Windows firewall turned off. No other antivirus program running. Happened when I downloaded new Firefox update.

    Firefox won't open/connect tp the internet. Explorer opens and connects. Windows firewall turned off. No other antivirus program running. Happened when I downloaded new Firefox update.

    I had the same problem when i dl-ed a new anti-virus softward, but what I did help me reconnect Firefox again!
    Here is what I did,
    Go to open firefox browser-->option-->advanced-->network-->settings-->and change it to auto-detect proxy settings for this network!
    It worked for you, hope it will work for you too =)!
    Cheers

  • MacBook Pro won't automatically connect to my Time Capsule for WiFi

    My 2012 MacBook Pro (non-retina) won't automatically connect to my Time Capsule for WiFi. I had issues with my Comcast router before, and i reset my time capusle a few times, is that th reason why now everytime i wake my macbook up it dosent automtically connect?

    Yes.. wireless after sleep or reboot is a problem. See the info from Tesserax.
    https://discussions.apple.com/community/wireless/airport?view=documents
    Unable to connect after sleep .. you will see it in the list.

  • IMac won't automatically connect to Wi-Fi.

    iMac won't automatically connect to Wi-Fi.  I can connect manually using "Network Diagnostics".  After I select my router the connection is made.  How can I make it automatic again?  I only have a medium/low expertise.  Software is Mac OS X v10.7.5.
    The problem all started when I let Nintendo do a computer share in order to connect to a Wii U.  The tech was into so many things I couldn't keep track of them.  I have tried everything I know to fix it but to no avail.  I even let Nintendo try twice to correct this...no luck.

    Hello, how do you fetit to connect?
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    Instead of joining it from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • I updated my 4s to IOS 8 and now it won't automatically connect with my Ford SYNC.  I have to turn the phone off and then on again for it to connect.

    I updated my 4s to IOS 8 and now it won't automatically connect with my Ford SYNC.  I have to turn the phone off and then on again for it to connect.
    Why is this?  My husband's 4s is still on IOS7 and it still connects automatically.

    I do not know if this will help.
    For a limited time Apple will allow you to downgrade to 7.1.2.  Hurry do not wait.
    See brownox second post here:
    Are there known problems with hdmi screen display and iOS 8?
    and
    http://www.gottabemobile.com/2014/09/17/downgrade-ios-8-to-ios-7/

  • I updated my iPhone 5 software and now it won't stay connected to wi-fi

    I updated my iPhone 5 software and now it won't stay connected to wi-fi

    Icloud uses you Apple ID. It one of the Key feature on the new ATV. Restart the ATV, if that doesn't work unplug it and restart it. It should resolve the issue

  • I just installed OS X Yosemite and now my WD My Book Live external hard drive won't re-connect.  My Safari keeps kicking out and giving me error message after error message and my computer is really slow.   How do I resolve?   Can I uninstall this ?

    I just installed OS X Yosemite and now my WD My Book Live external hard drive won't re-connect.  My Safari keeps kicking out and giving me error message after error message and my computer is really slow.   How do I resolve?   Can I uninstall this ?   I had to re-connect my iMovie t

    USB2.0 PCI cards that use the NEC chipset seem to give the least amount of problems for Mac users.
    OWC have a few different ones for sale.
    http://eshop.macsales.com/Search/Search.cfm?Ntk=Primary&Ns=P_Popularity%7c1&Ne=5 000&N=7057&Ntt=USB2**0**cards
    Do you also connect the external USB drive to the AC power as well while you use it ?
    Sometimes USB external drive problems are resolved simply by plugging them into the mains power and trying again.
    Stewie
    Message was edited by: stewiesno1

  • I can't make my iphone 4 forget the hpsetup network which keeps showing up at work. My phone won't automatically connect to my company's wireless network.

    I can't make my iphone 4 forget the hpsetup network which keeps showing up at work. My phone won't automatically connect to my company's wireless network. I have to reselect it everytime I come to work.

    Settings/General/Reset - Reset network settings will "forget" all WiFi networks so you can select them again.
    If the problem with your company network is not solved by doing this, are there multiple sites that have the same network name for the company network? Or is it the default network name for the router type (e.g., DLINK, LINKSYS, etc)? If so, this is what is causing the problem and there is no solution other than convincing IT that it is a bad idea to have duplicate network names.

  • Apple Time Capsule Won't Stay Connected

    After Verizon upgraded my router to the 9100EM my Apple Time Capsule Connects to the router but won't stay connected all the time. I have to go into router management console a couple of times a day and reboot it the restore connection. Time Capsule is connected to router by lan cable into port 1 of router. Time capsule set in bridge mode I believe. Just from time to time when I run Air Port Utility Time Capsule has green light but internet goes orange once i reboot I'm good for several hours then loses connection and have to reboot again. Tried looking for other settings to adjust but haven't found anything to help. If any body has any suggestions please help, it just gets old having to reset all the time

    If you are using a Mac, which OS is installed?  
    Use Software Update to make sure you have all the latest updates.
    Repair permissions.
    Change your router (Airport) channel.  Most times this all you have to do!

  • My iMac won't stay connected to the internet, even though all other computers in my house stay connected

    My iMac won't stay connected to the internet, even though all other computers in my house stay connected, and its connection is set up the same way my fiance's macbook is (his macbook is about three years older than my iMac). Every time my computer goes into sleep mode and I come back (even if it's mere seconds after giving the black screen) I have no internet connection. I discovered a workaround for it some time ago, but now that is working less and less, and now my computer randomly disconnects WHILE I'm actively using the internet. Just a few minutes ago, the connection refused to come back until I restarted my computer, even though once again all other computers in the house were connected. The workaround I discovered before and which doesn't work as reliably now, is to click opne Airport at the top right of the screen, click "Open Network Preferences," then click "Assist me," then click "Diagnostics," and wait for everything to turn green again, signalling a connection.

    Let's check the quality of your connection since signal strength alone does not insure a good connection. The "bars" that you see at the top of the iMac screen are there pretty much for show.
    Hold down the option key on the iMac while you click on the Apple icon at the upper left corner of your screen and select System Profiler
    Look down the list of items at the left of the window until you find the setting for Network, then click on AirPort.
    In the window to the right, look for any listings of your wireless network name. You may possibly see two listings for the wireless network name.
    We need for you to list the information that you see for Signal / Noise.  These will be negative numbers. Post back with your findings and we will continue.
    In the meantime, please move any cordless phones that you have or any other electronic devices that are near the iMac as far away as possible from the iMac.
    If the iMac is located in a corner or an enclosed area, give it as much room as possible since the wireless antenna is on the back of the iMac and it needs to be able to "see" the room.
    Anything that you can do to minimize the number of obstructions like walls or furniture etc between the iMac and the wireless router will help the cause as well.

  • Weblogic Data source is not releasing connections

    Hi All,
    Weblogic JDBC data source is not releasing connection until JDBC connection is deleted and created again. Could you please let me know this is a database issue or weblogic jdbc driver issue. We are using weblogic 10.1. Please see the following xml for JDBC driver.
    Although maximum connections are set to 300, it stills keeps increasing connections over 300. This issue is resolved only when jdbc data source is deleted and created again.
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <name>abc_admin_STGNCB</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@10.151.43.54:1521:STGNCB</url>
    <driver-name>oracle.jdbc.OracleDriver</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>abc_admin</value>
    </property>
    <property>
    <name>portNumber</name>
    <value>1521</value>
    </property>
    <property>
    <name>SID</name>
    <value>STGNCB</value>
    </property>
    <property>
    <name>serverName</name>
    <value>10.151.43.54</value>
    </property>
    </properties>
    <password-encrypted>{3DES}wc5vg5GIbPtt+b8vWY0i5Q==</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>20</initial-capacity>
    <max-capacity>300</max-capacity>
    <capacity-increment>10</capacity-increment>
    <connection-creation-retry-frequency-seconds>30</connection-creation-retry-frequency-seconds>
    <statement-cache-size>200</statement-cache-size>
    <pinned-to-thread>true</pinned-to-thread>
    <identity-based-connection-pooling-enabled>true</identity-based-connection-pooling-enabled>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>jdbc/ABC_TX_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_NON_TX_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_TX_EVENT_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_NON_TX_EVENT_DATASOURCE</jndi-name>
    <jndi-name>jdbc/ABC_DATASOURCE</jndi-name>
    <jndi-name>abc.cdb.DataSource</jndi-name>
    <global-transactions-protocol>EmulateTwoPhaseCommit</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>
    Edited by: bpenugon on Aug 24, 2010 8:02 AM

    The root cause is pinned-to-thread is enabled. When the application finishes using the connection and calls connection.close(), WebLogic Server keeps the connection with the execute thread and does not return it to the connection pool. The connection pool maximum capacity is ignored when pinned-to-thread is enabled. So you saw the number of connections in connection pool keeps increasing over 300.
    Set pinned-to-thread to false can solve the problem.

  • Won't stay connected to network

    Not sure if this is a Safari problem or internal with my Mac somehow. I have a G5 and I connect to a router for wireless internet. I also connect to my printer through the same router.
    I've noticed sometimes when I exit safari and then come back to the computer later and click the Safari Icon it sometimes doesn't connect to the internet without me having to go through a "Network Diagnostic" test. Then usually what happens is about half way through the diagnostics my internet home page will load, or I'll get to the end of the diagnostic and it says "your connection is working" and then the home page will appear.
    The problem I have now is that my computer won't stay connected to my printer. If I try to print a document or photo it does not send it to the printer, however if I turn Safari on so I know I'm connected to the network then all of a sudden the printer will work.
    I guess somehow my computer is automatically disconnecting from my network and I'm not sure why or how to fix it. I've gone into the network preferences an it always shows "airport" is on and I always show all "solid" in the little icon at the top that looks like a "fan".
    Any thoughts here on why my comp doesn't seem to stay connected to the network?
    Thank you.

    HI,
    Try updating your system software to 10.5.8 with the combo update available here.
    http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate
    After the installation, repair disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    Carolyn

  • Won't stay connected since upgrade

    Hey gang,
    Got a brand new iTouch last weekend and upgraded the SW to v3.1.2(7D11). Ever since then, it won't stay connected to my wireless at home once it's turned off. Turn it back on and enter in the passphrase and all is good. At work it seems to be fine. Not sure what to look for.
    Thanks in advance
    Toy4rick

    Well, it looks like it's being caused by SSID not being broadcast. As long as I have it broadcasting, all is well, as soon as I disable this, it won't connect after a restart.
    This is my second iTouch, the first one had a bunch of dust appear under the glass and the Apple store replaced it no qualms, couldn't be happier My first iTouch didn't act this way and was running the previous version of software. It wasn't until i got a new unit and updated to this version that the issue started.
    I have 2 other iTouch's in the home with the older software and they don't have any issues with SSID not being broadcasted.
    Any additional thoughts?
    Toy4Rick

Maybe you are looking for