Timeout before connections are put back in the pool ?

Hi,
I am running a test with a single client : the test client send a requests,
wait for the response and when it gets it send another request and so on.
Looking at the connection pool, I can see that up to 8 DB connections
(connection high column in the WL console) have been used during the test
and I'm wondering why.
Our code has the following logic :
- get connection from pool
- execute query
- release connection (done in a finally block)
We're 100% sure the connections get put back in the pool after each
request. Is it possible that it would take some time before the connection
is put back in the pool which would explain why we use more than 1
connection ?
Thanks
-Vincent

"Priscilla Fung" <[email protected]> wrote in message
news:[email protected]...
Hi,
All these attributes are for internal JDBC XA connection pool usages only.
Their main purpose is to work around bugs of various vendor's JDBC XA
drivers. Therefore, by default, it should be turned off. Also, they are
only applicable for TxDataSource with a XA connection pool, not a regular
connection pool.
Which driver are you using?
thanks Priscilla. Ok, so I won't mess with these parameters :-). Are you
confirming that they have nothing to do with the following behaviour :
1/ Start a transaction (entry of transaction-demarcated method)
2/ get a connection from the pool ,
3/ execute the query,
4/ release the connection
5/ get a connection from the pool ,
6/ execute the query,
7/ release the connection
8/ commit the transaction (exit method)
Then, the pool will show that 2 connections were used (and not one as I was
expecting). Joseph confirmed to me that this behaviour was due to the fact
that the connection is not recycled till the end of the transaction. I was
wondering if it had anything to do with these parameters ?
Thanks
-Vincent
Regards,
Priscilla
Vincent Massol <[email protected]> wrote in message
news:[email protected]...
Thanks Joseph. I would have thought that KeepXAConnTillTxComplete was
controlling this behaviour (it is set to false). Isn't that so ? Do youknow
where I could find information on :
KeepXAConnTillTxComplete (currently set to false)
NeedTxCtxOnClose (currently set to false)
NewXAConnForCommit (currently set to false)
XAEndOnlyOnce (currently set to false)
Thanks
-Vincent
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
Vincent Massol wrote:
Actually, I forgot to mention that we using the following logic :
1/ start transaction (enter method of session bean which is
transaction
enabled)
2/ Perform several JDBC queries
3/ commit transaction (exit of method)
Thus, is it possible that because we're using a Tx DataSource and
transactions, the DB connections from the pool are not recycled
until
the
commit ?Absolutely.
Also, I've found that there are some parameters related to XA :
KeepXAConnTillTxComplete (currently set to false)
NeedTxCtxOnClose (currently set to false)
NewXAConnForCommit (currently set to false)
XAEndOnlyOnce (currently set to false)
As they are set to false, the connections shouldn't be reserved
until
the
commit, right ?
Can someone explain to me (or point me to some doc) where theseparameters
are explained (I have looked a bit everywhere and couldn't find any
information) ?
Thanks
-Vincent
"Vincent Massol" <[email protected]> wrote in message
news:[email protected]...
Hi,
I am running a test with a single client : the test client send arequests,
wait for the response and when it gets it send another request and
so
on.
Looking at the connection pool, I can see that up to 8 DB
connections
(connection high column in the WL console) have been used during
the
test
and I'm wondering why.
Our code has the following logic :
- get connection from pool
- execute query
- release connection (done in a finally block)
We're 100% sure the connections get put back in the pool after
each
request. Is it possible that it would take some time before theconnection
is put back in the pool which would explain why we use more than 1
connection ?
Thanks
-Vincent
B.E.A. is now hiring! (12/14/01) If interested send a resume to
[email protected]
DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco,
CA
E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
SOFTWARE ENGINEER (DBA) Liberty
Corner,
NJ
SENIOR WEB DEVELOPER San Jose, CA
SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTHCAROLINA San Jose, CA
SR. PRODUCT MANAGER Bellevue, WA
SR. WEB DESIGNER San Jose, CA
Channel Marketing Manager - EMEA Region London, GBR
DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
QUALITY ASSURANCE ENGINEER Redmond, WA
Services Development Manager (Business Development Manager - Services)Paris, FRA; Munich, DEU
SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
E-Marketing Programs Specialist EMEA London, GBR
BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
MANAGER, E-SALES Plano, TX

Similar Messages

  • [svn:fx-trunk] 11685: Ensure that when a recycled renderer gets put back into the mix for reuse, if the item it is rendering has the caret on it, it should draw in the careted state.

    Revision: 11685
    Author:   [email protected]
    Date:     2009-11-11 23:05:34 -0800 (Wed, 11 Nov 2009)
    Log Message:
    Ensure that when a recycled renderer gets put back into the mix for reuse, if the item it is rendering has the caret on it, it should draw in the careted state.
    QE notes: If there's anyway to simulate a mustella test for this situation, we should add it to the List testsuite.
    Doc notes: No
    Bugs: http://bugs.adobe.com/jira/browse/SDK-24012
    Reviewer: Ryan
    Tests run: List, checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24012
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as

    Hi Jurgen,
    Thanks for the information.Yes it is a common scenario where we are struggling when multiple transports occours,More over the fear of sequencing makes it more complicated in these situations.
    Definitely this is a helpful solution.
    Regards,
    Kannan

  • On my I pad 1 when I touch app to play words with friends ,  the box comes up to put my apple ID in witch it did not do before. when I put it in the game shuts off

    on my I pad 1 when I touch app to play words with friends ,  the box comes up to put my apple ID in witch it did not do before. when I put it in the game shuts off

    Hello RobertRueckert54321
    Try logging out of all the services that require your and his Apple ID. Navigate to Settings > iCloud, scroll down and tap Delete Account it will ask to either keep data on your iPad or remove it. It is up to you on how you want to proceed but I would recommend keeping it. Also Sign out of Settings > iTunes & App Store and then sign back in.
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    https://support.apple.com/kb/TS5223
    Regards,
    -Norm G.

  • Goods are sent back to the vendor once the Credit is taken and Utilized

    Goods are sent back to the vendor once the Credit is taken and Utilized( Declared to Authorities)
    Hi,
    I have a scenario in which the inpur credit is taken at the time of the creation of the GR. The Credit is declared to the authorities on a monthly basis. The goods are to be returned to the Vendor once the Excise is declared to the authorities. In this case there is a problem that I can not Cancel the excise invoice as it has already been declared.
    Can anyone please explain the process flow for this ?

    Hi,
    Dont  Cancel the excise invoice , make excise payable entries through Tranzaction J1IS with refrence to  Vendor return document.
    Vipin

  • I forgot secret questions to enter the account I need to help me put back on the questions and answers them  Your brother Mohammed Al-Ghamdi

    I forgot secret questions to enter the account But I know the PIN number to my account I need to help me put back on the questions and answers them
    Your brother Mohammed Al-Ghamdi

    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
      Or Email Here  >  Apple  Support  iTunes Store  Contact
    NOTE:
    It is not wise to post personal information on a Public forum. I have asked the Hosts to remove your Account Details and Phone Number.

  • How are the pWWN list populated in DCNM even before they are logged-in to the switch?

    Hello All
    DCNM v6.2.3
    I see that the hosts are not logged-in to the switch, however via DCNM when I try to create device alias I find the pWWNs populated which are not logged-in. How are the pWWN list populated in DCNM even before they are logged-in to the switch?
    Thanks
    Chetan

    This is definitely not happening automatically ? would be magic ! you can do it of course manually.

  • Where is the "put back" from the trash command

    Control click, etc does not reveal it.Is it still available in 10.9?

    Unfortunately there is no put back on the contextual menu with control click, right click or command return. I am mostly returning plist files.
    My startup disk wants me to enter all kinds of things.
    Time machine backup does not restore!
    How did the files get into the Trash? Why did you move them there? What problem did you trouble shoot?
    Do you remember where you removed the preferences from? Then move them back by dragging them from the Trash to the folder were tehy belong.

  • TBridge limitations: when there is an error, the message is put back in the source QSPACE

    The "WebLogic Tuxedo Connector Administration Guide" (BEA WLS 6.1, December 19, 2001)
    Chapter 5: "Configuring tBridge",
    last section: "Limitations"
    mentions: "when there is an error, the message is put back in the source QSPACE.
    Assuming the QSPACE is corrupted or full, subsequent messages would be lost."
    QUESTION: will be this limitation
    (a single message having permanent errors will stay forever in the head of the fifo
    queue -->
    resulting in QSPACE full --> reulting in loss of all messages)
    be solved in a future version ?
    If YES, WHEN ?
    thank you
    Justin

    See:
    * [[Cannot log in to websites]]
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • Putting back from the trash

    for some reason, I accidentally deleted 500 pictures into the trash. Is there any way I can "put back" without having to do them one at a time? When I try to select two or more at a time, it doesn't seem to work.
    huge thanks
    David

    When I try to select two or more at a time, it doesn't seem to work.
    Hello David,
    but it should work like this. Even if you select the whole content at once, ctrl-click the selection, and then select "Put Back" from the pop-up menu, you should be able to put all images back at once. In what way does it not work? Do you get an error massage or does Aperture just ignore the command?
    There may be some trouble with your Aperture library. Try the Trouble shooting Basics: delete preferences and repair permissions:
    Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Regards
    Léonie

  • I accidentally removed the trash can from the dock. Where do I find the trash app to put back on the dock

    I accidently removed the trash can from the dock. Where do I find the trash app to put back on the dock?

    I know this is pretty old but I wanted to add this for anyone else who might come across this thread.
    I have PathFinder on my system and there is an option to add the "Remove from Dock" contextual menu items to the Finder and Trash. I accidetally removed the Trash icon, and to get it back do this:
    1. Open Terminal.app from the "Utilities" folder in the main Applications folder. Or simply open Launchpad or Spotlight and start typing Terminal.
    2. Copy and paste the below command exactly, be very careful with Terminal as it can cause terminal damage to your computer if used incorrectly.
    killall Dock
    Your Desktop background may flash and the Dock will disappear and will repear after a short pause.
    You should now have your Finder and Trash icons back.
    Hope this helps,
    xeni

  • How do I get Music from my iPhone to my computer. I have connected them, and backed up the phone to my computer. The music on the phone that I want on the computer are from CDs I no longer have. S.O.S.

    Music got deleted off of my Mac.
    It is currently on one of the iPhones my family possesses.
    How do I get it from the phone to the computer.
    I have tried:
    Connecting it to the computer (the "sync" message cam up, It said I dont have enough room on Phone)
    I backed up the phone onto the computer

    No. It's not impossible, but it's not free.
    Read this article:                  Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • I play travian it has password protected accounts firefox asked to remeber password i said yes on 1 server and no on another now every time i login its good for 1 page before it kicks me back to the login screen. any idea why ?

    when i log on to the page i get kicked back to the log on screen every other mouse click.
    == URL of affected sites ==
    http:///s4.travian.us/dorf1.php

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Can Rejected Messages to put back in the AQ?

    Hi,
    I am using version 10.1.3.3.
    I am trying to figure out a way to put rejected messages back in on the AQ. I have looked at the AQMessagesRejectionHandler sample. The sample contains the following code in the bpel.xml file:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <BPELSuitcase>
    - <BPELProcess id="AQMessageRejectionHandler" src="AQMessageRejectionHandler.bpel">
    - <partnerLinkBindings>
    - <partnerLinkBinding name="Dequeue">
    <property name="wsdlLocation">Dequeue.wsdl</property>
    </partnerLinkBinding>
    - <partnerLinkBinding name="Enqueue">
    <property name="wsdlLocation">Enqueue.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    - <activationAgents>
    - <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="Dequeue">
    <property name="portType">Dequeue_ptt</property>
    <property name="rejectedMessageHandlers">file://C:\product\10.1.3.1\OraBPEL\bpel/samples/tutorials/124.AQAdapter/AQMessageRejectionHandler/rejected queue://jdbc:oracle:thin:@localhost:1521:iasdb|scott/tiger|Rejected_Messages</property>
    </activationAgent>
    </activationAgents>
    </BPELProcess>
    </BPELSuitcase>
    In the Oracle® Adapters for Files, FTP, Databases, and Enterprise Messaging User’s Guide (10g Release 2 (10.1.2.)) I found the following documentation:
    <BPELSuitcase>
    <BPELProcess src="ErrorTest.bpel" id="ErrorTest">
    <activationAgents>
    <activationAgent
    className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent"
    partnerLink="inboundPL">
    <property name="rejectedMessageHandlers">
    file://C:/orabpel/samples/test/errorTest/rejectedMessages
    </property>
    My question is regarding the function of the line (in the sample):
    queue://jdbc:oracle:thin:@localhost:1521:iasdb|scott/tiger|Rejected_Messages
    Does this put the messages back on the AQ?
    If so, how do I change the path to my own queue?
    I am new to BPEL so please be as specific as possible.
    Thank you in advance

    Hi,
    Thank you for the response.
    Yes, you are right.
    My problem was one of using correct syntax.
    This is what I ended up with:
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="BusinessEventService">
    <property name="portType">Consume_Message_ptt</property>
    <property name="rejectedMessageHandlers">queue://jdbc:oracle:thin:@localhost:1521:iasdb|scott/tiger|Rejected_Messages</property>
    </activationAgent>
    </activationAgents>
    It seems to be working.

  • How do I take data off my nano.  I have old playlists I want to put back in the library

    How do I put playlists back in the library and out of my nano.  I need to free up space

    You should have a back up of your data on your computer. 
    Connect your iPod to your computer to delete the data from your iPod. 

  • "Notify after old backups are deleted. Be notified if your backup disk is full and Time Machine deletes old backups to create space for new ones."  I would prefer to be notified BEFORE things are deleted.  Can the deleted items be recovered?

    Time Machine option #2:
    "Notify after old backups are deleted" Wouldn't it be better to get this notification BEFORE things are deleted? I suppose the real question is, is it possible to recover files deleted from time machine?
    The bold phrase above has a checkbox. But if I leave it blank it appears that I will receive no notification at all.
    I am using MacBook Pro, OS X version 10.9.5

    TIme Machine is not an archival tool. And no, you won't be able to recover the files that are deleted.

Maybe you are looking for