RCA Connection Pool idle Time-Out takes no effect !

My question description goes here.
According to JCA specification, I developed my 'ManagedConnectionImpl' class from the interface 'ManagedConnection'. I realize the 'destroy()' function to send out logout request to the EIS.
Then I deployed the connector in Sun Java System Application Server, I noticed there are two parameters in Connection Pool part, they are:
1. Idle Timeout. It said it's the maximum time that a connection can remain idle in the pool. I assume the connection will be removed after the specific time expired and before it's removed it will call the recallable function, 'destroy()', in my concrete class, 'ManagedConnectionImpl'.
2. Pool Resize Quantity. it said it's number of connections to be removed when pool idle time expired.
I am weird about it. I think EIS had itself session control strategy, if the specific session time-out expired, it will invalidate this session. So I think we will set 'Idle Timeout' in application server to be shorter than the EIS session time-out. If the 'Idle Timeout' in application server expired, it should remove all connections inside otherwise maybe the connection with invalid session will exist! (the background knowledge is our system will return back soap fault when it meets invalid session, so the invalid connections will not be removed by switching on your configuration item, 'On Any Failure')
So I set "inital and minimum pool size" to 8, "maximum pool size" to 32 and "Pool Resize Quantity" to 32. (I expect AS to remove all when pool idle time expired)
After deploying, I send out requests at the first round and wait for the time expired but I can't see the desired logout requests from pool automatically even one. Firstly I guess if my recallable function definition is wrong but when I shut down the Application Server, the desired logout requests are sent out from pool automatically. So I think my recallable function definition is workable.
What's your comments on it?
P.S.
I am using Sun Java System Application Server 8.1.
Thanks in advance!
BRs
/Leo

I have had following test to ensure I sent out notification to listener.
[#|2005-08-23T16:14:25.061+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
It's in managed env!|#]
[#|2005-08-23T16:14:25.062+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
enter matchManagedConnections() !|#]
[#|2005-08-23T16:14:25.062+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
try to find a matching and existing one, reuse it!|#]
[#|2005-08-23T16:14:25.062+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
Found a matching and existing one, reuse it!|#]
[#|2005-08-23T16:14:25.495+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
tearDown() is called, the application-level connection is released!|#]
[#|2005-08-23T16:14:25.496+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
enter calling close() of managed connection.|#]
[#|2005-08-23T16:14:25.496+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
Start calling close() of managed connection.|#]
[#|2005-08-23T16:14:25.496+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
start to notify the listener the completeness of connection.|#]
[#|2005-08-23T16:14:25.496+0800|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=12;|
notify the listener the completeness of connection successfully.|#]
Whether it's related with the initial and minimum number parameter? Although I found it will not be created during AS start-up and will be created at the first request.
Whether it shall be kept to meet the minimum requirement? I have failed to set it to 0.

Similar Messages

  • WLS 8.1 SP5 Message bridge doesn't refresh connection after idle time out

    Hi,
    I am seeing in the log after enabling the debug flags that message bridge intermittently stops refreshing the connection without logging further info and causing a production failure.Bridge is forwarding the message from WLS 8.1..5 DQ to the remote MQ 6.0 queue.
    Below is the snippet which doesn't come in the log which suggests that bridge stops refreshing the connection.
    <BEA-200027> <Bridge "CASLDNSenderBridge" works in asynchronous mode and has not received messages for the predefined maximum idle time. The connections to the adapters will be interrupted and reestablished.>
    The above message does appear everytime but intermittently it stops and the messages put after this leading to the exceptions.The bridge has been configured in asynchronous mode and the idle time out is configured as 60 secs.
    Can somebody please let me know if there is any known issue with 8.1 SP5 where message bridge stops refreshing connection intermittently or how to debug this further.

    I would normally suggest raising the issue with support, but I recall hearing that 8.1 is nearing the end of its support cycle, so I'm not sure that's an option for you. Other options:
    - try upgrading to a newer SP, or better yet, a new version of WebLogic
    - try changing to synchronous forwarding
    - examine thread dumps from when the bridge appears to be stalled
    - post the exception that bridge is throwing when it tries to connect
    - try patching MQ (the problem could be on the MQ side, and perhaps an older version of the bridge may not be fully capable of handling all of MQs minor quirks)
    - write a program to (A) detect inactivity on the src destination, and (B) somehow restart the bridge and/or all of WL when this occurs
    Tom

  • Idle Time-out recommendations DRM/IIS 7.5

    We are configuring the DRM Application Pool in IIS 7.5 to comply with internal security standards.  The default idle time-out is set to 1440 minutes but our security guide recommends 20 minutes.  Any reasons why someone thinks changing the setting to 20 minutes may be an issue?

    Hi Hendel,
    About IIS issue,
    http://forums.iis.net/
    the above forum is where you should post.
    Regards&&Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Modify a tcp idle time-out on ACE

    Hi.
    I have a question about tcp idle-time out on ace.
    I configured like below
    set timeout inactivity 600000
    class-map match-any TCP_Connection_IP
    2 match virtual-address 100.254.130.0 255.255.255.0 tcp any
    policy-map multi-match TCP_Connection_Policy
    class TCP_Connection_IP
    connection advanced-options TCP_Connection_Timer
    interface vlan 30(Client Vlan)
    service-policy input TCP_Connection_Policy
    interface vlan 330(Server Vlan)
    service-policy input TCP_Connection_Policy
    Is it a correct?,
    If ok, How can I check the tcp-idle?
    as show command,

    You can't use the virtual-address keyword if you don't want to loadbalance the traffic.
    If you just want to the timeout for traffic routed, you need to use a class-map with an acl.
    ie:
    access-list net1 extended permit tcp any 100.254.130.0 255.255.255.0
    class-map net1
    match access-list net1
    policy-map multimatch TCP_Connection_Policy
    class net1
    connection advanced-options TCP_Connection_Timer
    Now, if you have multiple virtual ip address and want to set the timeout for this virtual ip, you have to assign the connection timeout to all individual virtual ip.
    You can't do it in one shot like you did.
    There is no command to see if a connection has the right idle timeout.
    All you can do is a 'show conn detail' and see if the idle timeout increases up to your configured value.
    Gilles.

  • "Established" connections do not time out.

    We have Netscape Directory Server 4.15running on Windows 2000. Our problem is that "established" connections do not time out. The result is that over time, the system runs out of ports/sockets, and the system fails to respond to queries.
    Is there any patch or NT tuning available to resolve this issue. I have seen countless message threads in various vendor forums relating to this issue with NS LDAP server.
    Any help would be appreciated.

    Hi Philippe,
    I think you are referring to the bug 557007 existing on DS 4.15 and fixed on 4.16.
    Details of this bug from the DS 4.16 release note:
    PR_Accept Failed Error Messages in the Logs
    In DS 4.15 a regression defect was introduced in which all connections would not be closed and left in a CLOSE_WAIT state. In this case all available file descriptors/handles would eventually be used up. PR_Accept failed error messages would appear in the logs and the server would be non-responisive. This regression is fixed. (557007)
    I know that there was a hotfix released on Solaris but do not know if such hotfix existed for Windows. Anyway, as specified by the DS Sustaining people, a hotfix is supported until the next release including that fix is out... and DS 4.16 is available now.
    Hope this answers your question.
    Cheers / Damien.

  • TS1368 I can't connect to the iTunes store with my Apple TV. I can see what movies are on offer but when trying to access my account i am advised "Can't connect to server" (times out).

    I can't connect to the iTunes store with my Apple TV. I can see what movies are on offer but when trying to access my account i am advised "Can't connect to server" (times out).

    I have the same problem with my 3rd gen Apple TV. I can preview iTunes movies, stream from my Mac, Airplay from my other devices but I cannot rent a movie on iTunes. Every time I try I get "Can't connect to ITunes" and "Unable to sign in". Had technical support review the problem over the phone and they agreed to send me a new one. Same problem. Interestingly enough my 2nd gen Apple TV works just fine.

  • IIS 8.5 Idle Time Out Action = Suspend & Global.asax - Are there Application Events for this?

    Hi,
     So, I would like to start using the" Idle Time Out Action - Suspend" for several of my web applications.
    What I would like to know is whether any Application Events occur that I can use so that I know when the WorkProcess enters or exits the suspend state.
    Right now my application does stuff on Application Start and End, and I would like to have that same code executed when the WorkProcess suspends itself and when it comes out of suspend.
    Is this possible?
    Thanks,
    ~Hendel

    Hi Hendel,
    About IIS issue,
    http://forums.iis.net/
    the above forum is where you should post.
    Regards&&Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • FTP problem: connection going idle or missing; takes a minute to refresh

    Hi, i hope i explain myself, please forgive me my lack of tech-language and if i'm redundant:
    In my office we got a G5 dual that we turn into a server (Mac OS Server 10.5.7) for a couple of websites (for external use). I need this guys to have FTP access for some file sharing. Server is up, websites and databases are running fine, remote administration in local and external network is flawless, everything seems fine, except for the FTP: When i connect with cyberduck or any other FTP app, the authentication is done quickly but then, the connection goes idle (like it didn't exists) so the folder listing takes about a minute. Then, as soon as you get the listing, if you try to put something (i.e, a big file of 50mb, using the local network), the app makes a quick login but then it goes idle again (same, about a minute) and when the connections appears, the transfer goes really fast, after the transfers ends connection goes idle again a minute before managing the folder listing. I know that the connection "goes idle" or "disappears" because i started using little snitch to take a look at it. It appears like if the ftp app wasn´t even trying to connect, then suddenly, it´s there and connects/transfers. Every operation takes this minute to get going. If i try it with a browser, well, it times out. This is happening in both, local and external connection. But every other service is working cool.
    Can you give me any ideas about this matter?
    Message was edited by: rdlfo

    Ok, rather than going for the most problematic protocols known to modern networking, try with something simple.
    Don't test with ftp, test with sftp.
    I would initially suspect you're running into issues with firewalls here; beyond transmitting your credentials in cleartext, the design of ftp is inherently extremely allergic to firewalls, and particularly to transfers over connections that involve both local and remote firewalls.
    ftp is funky here in that it needs two connections between the client and the server, and the second connection tends to get blocked. An ftp active-mode connection has a back-connect from the ftp server to an ephemeral port on the client; traversing firewalls from server to client. An ftp passive-mode connection has a forward connection; a second parallel connection from the client to a specified (usually) ephemeral port on the ftp server; traversing the firewalls.
    Ignoring explicit transfer-mode selection, various clients can (transparently) try to switch between active and passive, too.
    My preferred approach is to avoid ftp. At all. Use sftp. sftp is far easier to punch through firewalls. And sftp doesn't transmit your username and password in cleartext, for that matter.
    The other part of this effort is around ensuring proper file protections and ownership in the web server directories. The web-facing file ownership should be user:www (often root:www) and the www user (the web server) should be able to read its web files, but (in general) should not be able to write to the web files or directories. This is defensive.

  • HP Color LaserJet CP1520nw will not connect to network (time out repeatedly)

    My HP LaserJet CP1520nw won't connet to my wireless router upon installation, no many how many times I've been asked to connect it to the computer via a USB printer cable.   I uninstalled and reinstalled all software, and each time I try to set it up for wireless connectivity by connecting my computer and the printer via a USB printer cable, it gets to 99%  installed on the progress bar and sits there until it times out.  I suspect one of the follow but am open to other ideas from those more knowledgeable:
    1.  Is the printer locked onto some old, initial configuration from a previous wireless network that needs to be purged of addresses, etc. before it can accept the new ones?
    2.  Could my WPA WPA2 PSK AES encrytion be messing it up?  Are the modern firmware and updates designed to accept these ?  I never have gotten to a screen where it asks for my encyption key or even a WPS pass phrase.  What to do if so?
    3.  Could Church Lady be correct and that it is Satan preventing the installation?  If so, what icons does he use to watch out for and will my Norton anti-virus and malware quarantine him to Hell automatically or does it require manual enforcement?

    Hi @Marvalina1968,
    Welcome to the HP Forums!
    I noticed that your HP Color LaserJet CP1520nw will not connect to network with Windows 7. I am sorry to hear this, but happy to help!
    First to answer your questions:
    It is possible the printer could be locked to an old configuration and needs to be reset.
    I don't think your WPA WPA2 PSK AES encrytion could be messing it up, unless you got some really strange characters in your password.
    Your Norton antivirus, could possible be causing the installation to fail.
    Please take a look through the following guides:
    'Printer is offline' Message Displays on the Computer and the HP Printer Will Not Print.
    Printer Does Not Maintain Wireless Connection.
    If the guides do not resolve the issue, please try the following:
    Uninstall the software. Uninstalling the Printer Software.
    Clean boot the computer. How to perform a clean boot in Windows.
    Disable any antivirus programs. Disable antivirus software.
    Disable any firewall programs. Turn Windows Firewall on or off.
    Re-install the software. HP LaserJet Full Feature Software and Driver.
    Hope this solves your problem, and have a good day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Mac Pro does not wakeup 1 of 3 connected monitors: Philips times out

    Hi,
    (Setup)
    I use a Mac Pro from 2014 (End 2013, AMD Firepro, D700 Graphics, 6core, 1TB SSD, 32MB, actual OSX Yosemite 10.10.2).
    Connected are three monitors:
    Philips BDM 4065 UC (40 great inches) via mini DP to DP cable
    2x Dell 2410 (vertical/pivot to the sides of the 40" screen)
    (Problem)
    The setup is a dream for me, with one glitch:
    when the Mac goes to sleep, all monitors nicely sleep with it. Waking the Mac up again, brings the Mac up and the Dells but not the Philips. It tries to get up (a bit of backlight to be seen), then shows a message that it goes to sleep again.
    (Troubleshooting so far)
    I experimented with it:
    - power cycling the monitor brings it back into business
    - pulling the DP cable temporarily does the job too ... sometimes
    (Assumed root-cause)
    Today I believe I found the reason:
    In a forum sb. complained that the Philips takes long to wake up. Ok! The Dells that work are back ... instantly.
    I tried this: wakeup, wait two seconds, put the Mac to sleep (mouse into active corner) and wake it up immediately.
    The description sound a bit like "dance around the tree three times at full moon", but it works. What I believe that happens:
    Fail:
    - the Mac wakes up
    - the Dells are awake instantly
    - the Philips slowly wakes up
    - the Mac gets impatient about the Philips and times out waiting for the monitor, stopping the signal supply
    - the Philips falls back into sleep (and displays this as a message)
    Workaround:
    - the Mac wakes up, Dells wake up
    - waste two seconds, while the Philips is still trying to wake up
    - hammer the Mac back into sleep, and wake it up again
    - the Philips is so slow it doesn't even notice this "brutal shaking" of the Macs wake-state
    - the activite resets the wake-up-timeout of the Mac giving the Philips effectively enough time to report "ready" before even the second wake-up times out.
    - et voila: a fully awake set of monitor
    Now the big question:
    I this timeout that the Mac on wake-up waits for a Monitor to become ready a configurable item? Can I extend this period by a few seconds to get my dream setup actually working? I fear I won't be able to make Philips solve the long wake-up time, so I check on the Apple side.
    Thanks in advance.

    So update. Boot camp now works...somehow. Not sure how I fixed it but this is what I did that lead to it. As you asked I tried to make a boot drive on a USB for OS X Mavericks, But the App store would not let me download it. So instead I made one with OS X Yosemite. After witch I shut it down, pulled the USB and restarted. At witch point I got a gray screen. I then restarted and opened the startup manager. It only showed a install and a restore drive. Tried restore, but it just brought me back to the gray screen. At witch point I opened disk utility and repaired my main HD, and restarted. Still gray screen. So then I booted in safe mode witch brought me to my account login (and my screen flashed a bit). After I logged in I restarted again. Witch once again brought me back to gray screen. So I tried reseting my NVRAM with no success. Started in safe mode again and went to my start up disk and selected my main boot drive and restarted. All returned to normal and boot camp now works. Not sure what I did to fix the problem as i'm not that computer savvy but thanks for all your help and I hope you can gather some information from my random desperate attempts to get my computer running normally again.
    In the end it all worked out
    thanks again

  • Connection to server times out

    Hi, I know I've seen somewhere that you can set how long before your connection to your remote server times out in DW. After a few minutes of editing files, and then when I go to upload them to my host, It takes forever just to make a connection. I used CS3 for a while, then upgraded to CS5. CS3 didnt seem to have this issue.
    Another issue I seem to have is when I DO put files to my remote, sometimes the files dont seem to reflect changes I made. For instance, I added an id attribute to a firm field, uploaded my file to the remote, hard refreshed my browser viewing the same page and viewed source. The form field id was not there! So I clicked the expand local and remote files button and pulled the file over to the remote manually!
    Maybe these are issues with my hosting company? Anything I can do to ensure my remote connection stays connected, at least for an extended period of time if not indefinately. Thanks in advance!

    Hi Nancy, thats for the tips and info. I've tried most of what you suggested. One thing I never thought about though was toggling passive mode on and off. For some reason I just always assumed this should be on by default. So I will try that and see how it goes over the next day or so.
    Also the FTP optimize performance was checked. Seems like I had an issue with this a while back, so I unchecked it as well.
    Now the other issue of why updated files arent showing up on my remote. Yes I always use ctrl+F5 to refresh my browser. Again, this morning when I did that very thing, and then viewed source, the updated code was not there. The code I am referring to was about 20 lines of javascript that was showing in dw code view, but not in ff source view. So not sure about that one. As you said its possibly my host provider. Thanks again!

  • Airport will not connect to wifi - time out

    Hi, I have an iMac that will not connect to my network. I get the greyed out network signal in the menu bar. When I try to connect to my network (it has a black network signal icon) it asks for the password and then times out trying to connect.
    The modem is working because I can connect with my MBP.
    I have re-booted, repaired permissions, booted, deleted com.apple.airport.airportutility.plist, re-booted.
    No luck.
    The internet connection cutting out has been happening for a while - it usually comes back after a restart.
    Anyone know of anything else I can try?

    robcub wrote:
    deleted com.apple.airport.airportutility.plist
    That file has nothing to do with connecting to a Wi-Fi network, but only with AirPort Utility.
    Anyone know of anything else I can try?
    You might try resetting your connection settings using the steps listed in this message:
    http://discussions.apple.com/thread.jspa?messageID=10695921&start=1
    They're not guaranteed to solve the problem, but they'll only take a minute or so to try.

  • Authentication keeps prompting - idle time out

    hi,
    just a query if anyone here experienced this kind of behavior or is this normal on the default idle time of the browser.
    i have wsa 650 and already configured on ldap , its working pretty fine.
    my question is: is there a default idle time on the proxy to prompt again the authentication?
    is there a default time out on idle time on the browser before a user gets prompted with the credentials?
    pls help..
    thank you

    since this setting relates to ip to user mapping or cookie time, then it should apply to all proxy mode.
    Some browser also have credential caching, so it might not matter for some clients with explicit proxy settings, varies by browers or settings done to them.

  • Jaxrpc client  (how to set connection and read time out)

    I have a jaxrpc client using a web service. how to set a connection or a readtime out on the client side so that I can terminatate the service if it does not respond on some time.

    SteveHibox wrote:
    When we tried to send messages to [email protected] ,the debug log on MTA shows that if the first mail server(123.1.1.1) failed , the MTA tried to connect the second server(123.1.1.2) automatically. And it took about 3 minutes until the connection to the first server timed out.
    The OS level timeout (tcp_ip_abort_cinterval on Solaris) is applicable to this situation. It is set to "180000" (3 minutes) by default e.g.
    bash-3.00# ndd -get /dev/tcp tcp_ip_abort_cinterval
    180000
    Is there any way to shorten the default time out ?( I mean to connect the second server faster if the first one failed.)Try changing the OS level parameter.
    If there is only a particular IP address causing the problem, you may want to make use the IP_ACCESS mapping table and the $I flag to skip over this IP address:
    http://docs.sun.com/app/docs/doc/819-4428/gekyh?a=view
    Regards,
    Shane.

  • Oracle IRM Desktop connection to server times out

    I have installed IRM server on Linux VM and use https to make desktop client to connect to server. The desktop is running on Windows XP. I am getting connection time out very frequently when I refresh context or validate the server, which means the connectivity between desktop to server is not stable. It is very difficult to track down the root cause since there is no log for desktop client I can look at.
    Any input?
    -J

    I have the same problem. Ping works fine(http://irmserver:16100/irm_desktop/ping). There are connections both on server and on the desktop (netstat shows it). In logs on the desktop there are:
    "[5840] Сбой синхронизации для http://10.12.248.173:16100/irm_desktop
    Сообщение пользователя: "Невозможно установить соединение с сервером IRM"
    Код ошибки = 0x80040308 (0x80040E02)
    <?xml version="1.0"?><wininet_error>12002</wininet_error>
    [IrmBackground.exe]"
    On server side there is no information in the server logs.
    I am using IRM server - Oracle EL 4 x64, Oracle DB 11G x64, Oracle WL1034, irm server 11.1.1.4.0, irm desktop 11.1.20.86. Desktop on Windows XP Professional.
    There is no proxy server between irm server and desktop
    Although I found that the syncronization works after 2-3 attempts. It seems that the problem is in the short timeout of the irm desktop waitong for authorization when there are different platforms(Weblogic on linux and AD on MS)
    Edited by: tsibir on 11.02.2011 6:04

Maybe you are looking for

  • Mail attachments show up as code, not document

    Hi all, I've got one client, also using Mac Mail. When they send me attachments (zip files, psd's, etc) the attachment show up as code, not an attachment. If I open the same mail in gmail, it's an attachment. Other clients sending me attachments seem

  • Game Streaming said that I don't have enough bandwidth to play. I have DSL connection

    All I get in response is the error code 5001-9 telling me my bandwidth isn't fast enough suggests DSL or Cable. I already have DSL By Verizon and it's just been upgrading to the latest version. Please give me answers to this problem. Thank You

  • Cannot open adobe reader at all

    I cannot open Adobe reader, even the icon on my desktop I mean. I have windows 7 and I could not open PDF file on web either. It will have a full blue bar telling me it is fully downloaded but the actual content never shows up. I tried uninstall and

  • Using airport express for itunes and another wireless network for internet

    Is there any way i can use my airport express just for playin music through airtunes, and log onto the internet using a different wireless network?

  • Platform 7.x and ldap

    I am currently running portal 4.0 sp2 in production. We are thinking about converting to an LDAP (maybe openldap) as our security realm and uup storage area. We believe that we will get some better performance; also we are getting ready to go from 25