Application Timeout
We are switching from TOAD standard to SQL Developer and would like to know...Currently our connection to the database times out in 5 minutes if we have not done anything. Toad gives us two messages that we can press ok and we can get reconnected to the database to run what is needed.
How will Oracle SQL handle this?
It can't :-(
Users have been requesting dropped connections detection and auto reconnect and/or manual reconnect options, but so far nothing.
Please vote for the various requests on the SQL Developer Exchange (filter by "reconnect") to add weight for future implementation.
For the time being, you have to manually disconnect (although you really are already), then connect again. Mind that by doing so open tabs will be closed, except (PL/)SQL panes. There is a request for preventing that also.
Thanks,
K.
Similar Messages
-
Hi ,
I need some advice on how to start troubleshooting on one the issue on ACE. I am new to ACE/Load balancers.
The application if is bypassed ACE , it works fine . When it is accessed through the ACE the application timeouts.
Any help will be appreciated.
Please let me know what all things i can check on ACE.Hi Surya,
What command indicate that this is VIP ip ?
how do i find it in the config?
In the following config , where is the VIP ip configured?
access-list ACL1 line 10 extended permit ip any any
probe udp UDP
interval 5
passdetect interval 10
description THIS PROBE IS INTENDED FOR LOAD BALANCING DNS TRAFFIC
port 53
send-data UDP_TEST
rserver host SERVER1
ip address 192.168.252.245
inservice
rserver host SERVER2
ip address 192.168.252.246
inservice
rserver host SERVER3
ip address 192.168.252.247
inservice
serverfarm host SFARM1
probe UDP
rserver SERVER1
inservice
rserver SERVER2
inservice
rserver SERVER3
inservice
class-map match-all L4UDP-VIP_114:UDP_CLASS
2 match virtual-address 192.168.120.114 udp eq 53
policy-map type loadbalance first-match L7PLBSF_UDP_POLICY
class class-default
serverfarm SFARM1
policy-map multi-match L4SH-Gold-VIPs_POLICY
class L4UDP-VIP_114:UDP_CLASS
loadbalance vip inservice
loadbalance policy L7PLBSF_UDP_POLICY
loadbalance vip icmp-reply
nat dynamic 1 vlan 120
connection advanced-options 1SECOND-IDLE
interface vlan 120
description Upstream VLAN_120 - Clients and VIPs
ip address 192.168.120.1 255.255.255.0
fragment chain 20
fragment min-mtu 68
access-group input ACL1
nat-pool 1 192.168.120.70 192.168.120.70 netmask 255.255.255.0 pat
service-policy input L4SH-Gold-VIPs_POLICY
no shutdown
ip route 10.1.0.0 255.255.255.0 192.168.120.254 -
Hi all,
Does Web Dynpro Application has any mechanism by which session timeouts and session termination can be notified to the server. As i need to handle event like releasing a database Lock. Otherwise the lock has to be released by the Administrator or else it last till eternity.
Thanks
GauravHi
Check this link it might help u to slove ur prob
http://help.sap.com/saphelp_nwce10/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/frameset.htm
Thanks -
ADF 11.1.1.2 Application Timeout with Active DB Connection
Hi all,
just a query really; are we able to set a timeout for an ADF application that has an application module and an active database connection for an extended period of time, such as 10 hours?
We have previously changed the value in the applications web.xml file to the correct value (600) but when we come to test the app after waiting about 5-6 hours, the application whirls away and throws an error:
JBO-30019: An unavailable cookie state is detected while attempting to use a cookie from the application SJFG..., session 109imtacg62_...
Is there another setting we have to apply to Weblogic to increase the cookie state timeout?
Regards
JasonHi Mehabub:
I had the same problem and solved it by checking the Secure Admin Enabled check box and writing the full computer name (domain included) in the Configuration tab of the Server Connection Properties dialog in JDeveloper.
Hope this helps! Good luck! -
Hi all,
Can anyone please tell me why a timeout error is displaying after 10 or 15 min in a PCUI application if we are not using it?
How can I rectify that error?
Class: CL_CRM_BSP_FRAME_MAIN
method:DO_REQUEST
Regards,
Ranjith.without seeing the code its nearly impossible to help.
But here are a few questions - you're using application.cfm
so are you checking if the application is already initialised on
the second page request rather than reinitialising it all over
again?
If you're getting an application scope timeout then it would
maybe suggest you're using a CFLOCK with a timeout that is too
short for the code execution in between the lock. If there error is
present 9 times out of 10 it won't go away just by clicking
refresh -
Our application timeout when load testing after upgrading to OEL 4.8
Hi,
We recently have an upgrade from OEL 4.7 to OEL 4.8. Our application is running fine on OEL 4.7, but since after upgraded to OEL 4.8, it fails pretty frequently with timeout error when doing load testing (20+ users).
Any ideas what can be the possible causes?
Please advise.
Thanks
-MinaYou're not giving much info.
If it is networking related, the first think i would check is to make sure the network interface is configured properly. For instance, if your computer's NIC is set to auto and your network port on the network switch is set to fixed, then you will drop packages at high load due to errors on the interface. Those errors cannot be seen from the switch. Set both to auto or fixed, but it needs to be set to the same. Auto is standard and should work unless you have some strange equipment. Also replace the networking cable with a new one. -
Application timeouts w/ subnet devices using 2950 switching
I am having problems with process critical PC workstations that access other workstations and servers.
This consists of a standalone subnet network (static IP's) using a 2950 switch that is also part of a LAN domain.
It appears when there is a LAN issue my subnet workstations experiences problems trying to access it's dedicated servers that are wired all within the subnet 2950 switch.
Could this be that the 2950 switch is looking for the DCHP or domain controller, slowing down my standalone devices?No, it's not likely.
The only thing affected by DHCP or domain info would be for managemnt (like being able to telnet into the switch).
Switches see the frame, look at the MACs, and either forward or flood the frame. That's all they do (acting as yer basic plain ol' switch).
Other features, such as broadcast/storm control, bad media (cabling), excessive broadcasts (broadcasts are also propagated out all ports and consume considerable bandwidth everywhere), and other things, like QOS settings, buffer parameters, spanning tree can also have a serious negative impact on your throughput, including many disappearing frames.
SO ... let's start by taking a look at a Show Version, and (at least) a Show Run (sanitized, if necessary).
It would also help if you could describe the nature of the traffic that is being dropped / lost / filtered (i,e., database, large graphics files, multicast streaming, file transfers, etc.
What troubleshooting have you tried so far?
Did it ever work, worked ... but not very well, worked well until you updated the IOS ....
Have you checked your LAN for virus / worm / trojan traffic (getting back to huge broadcasts)?
Are you getting any media errors? (Show interface)
Do you run many-to-one, many-to-many, any trunks? any EtherChannel?
Are you getting any "Duplex Mismatch" errors?
Have you tried another switch (for diagnostics to rule out the workstations & media)?
This ought to be enough to get started. get it collected and post it, then we can take another shot at it.
Good Luck
Scott -
Timeout problem - record is not shown properly in detail page after timeout
Hi,
I am using JDeveloper 10.1.3.1.0.3984
and JHeadstart 10.1.3.1 Release 10.1.3.1.26
I have a Master View Object where there is a field ID (for example M_VO).
There is a page associated with M_VO (Page_M_VO.jspx)
There is a Detail View Object (for example D_VO)
There is a page associated with D_VO (Page_D_VO.jspx)
There is a link from M_VO to D_VO using the field ID.
When I open the page Page_M_VO.jspx and select an ID and go to the detail page Page_D_VO.jspx, it goes to the detail page Page_D_VO.jspx. It works fine.
But the problem is:
If for example I have three ID (111, 222, 333), in master page if I select 222 and go to detail page it shows the appropriate records for 222 as I selected 222 in master page. If I keep the detail page open for more than the timeout minutes specified in web.xml and then try to access the detail page again it ask for userid and password (which is fine). If I put userid and password, then it shows the detail page with the first record which is the record associated with the ID 111. But before timeout I was working with the ID 222, so it should show the record associated with ID 222 as I was working with ID 222 before timeout.
Can anybody help me to solve this problem?
Thanks
Syed Jabbar
University of Windsor
Windsor, ON, CanadaI would put my money on the fact that since your application is timing out, it is dropping any state that your View Objects otherwise had before the application timeout.
So upon reauthorizing and reaccessing the application (and going directly to the detail page) the View Object is reinstantiated and only knows to go to its default data set which is 111.
If my assumption is correct, I don't think you could really implement this without a lot of trouble. -
I have application which call adobe live cycle service such as assembler service,form data integration service,reader extension service etc. in my application we set timeout as 30 min. when i call large files for assembling and it looks like assembling service take more time to assemble. but after 30 min my application will time out but as i saw live cycle log it still process the old request.
Is there anyway to set timeout for assemble service or in general live cycle service other than pdfgeneration so that when my application timeout same time in server also that request should terminateThere are multiple timeouts that are relevant for a process. Orchestration Timeout should help here.
Please go through this blog : LiveCycle – Considerations When Processing BIG Documents | Adobe LiveCycle Blog
-Wasil -
A struct in the application scope will be lost / damaged
Hello,
we have a strange problem with our CFMX 7,0,2, perhaps
somebody can help?
In the application.cfm a xml-file will be loaded, parsed and
saved as a struct in an application variable. This will take place
only if the struct isn't defined. We set the application variable
exclusive by cflock. After some times, the struct or an element of
the struct will be lost. At this time, we get "Null Pointer
Exceptions".
java.lang.NullPointerException
at coldfusion.xml.XmlNodeMap.size(XmlNodeMap.java:656)
at coldfusion.runtime.Struct.StructCount(Struct.java:172)
at coldfusion.runtime.CFPage.StructCount(CFPage.java:4133)
Some questions:
- Why is the struct / the elements in the application scope
are lost? The application timeout is set to 2days, and other
application variables aren't lost.
- Why will cftry / cfcatch not work in this case?
What can we do?
Kind regards
Karl-Heinzyou can use the isDefined function in the onRequestStart
function in Application.cfc
I have never had an application scoped variable / object get
lost or damaged in the way that you're describing.
are you loading it in the onApplicationStart function of
Application.cfc ? that would be a good place to do it.
oh, actually, I did have a contractor who assigned the
application name dynamically, I think the name contained the
current date so each time the date would change the application
would change - you might want to make sure that is not happening to
you. -
ACE timeout for different Serverfarms
I have a Business unit that publishes an application that is externally available. We Reverse Proxy the VIP to allow the connection externally. They would like to impose different application timeouts for internal users (1 hour) and external users (30 Minutes) . The application can not differentiate between an external or internal source so our option is either seperate serverfarms with seperate real servers with different configuration files.
My question is, is there any other way to do this within the ACE so that we don't have to spin up seperate Servers with different configuration files.
I would also like to maintain one VIP address if possible.You can maintain 1 VIP but you'll have to use header rewrite and work with dev. team of your application.
It's related to the session state tracked by a cookie the application sends (either as a Set-Cookie or a token embedded in URLs)
Make two different serverfarms (with the same set of real servers).
Make a class-map matching the IP addresses of internal users (RFC 1918 ?)
For this class-map, add a field in each HTTP request coming in
"X-Internal:YES"
apply this on each request with the option
header-rewrite per-request
The application team just has to parse each header for the pattern you've just added and then changing the timeout value to the one they want.
For the class-default (external users) you can add "X-Internal:NO", it's cleaner but not strictly necessary. -
Hi Experts,
We have a requirement in which we have to give the option to customer to set application timeout according to there requirement.
We have webdynpro application.
Could you please tell me how we can achieve this.
Thanks,
Sudhanshufull solution it is only possible using JScript
samples:
SAP Network Blog: Portal user idle timeout using dialog windows - Client side solution
/people/santhosh.lingaraju/blog/2008/11/05/portal-user-idle-timeout-using-dialog-windows--client-side-solution
HOWTO handle portal user idle timeout
http://wiki.sdn.sap.com/wiki/display/EP/EPSnippet-Portaluseridletimeoutforlogoff-custom+javascript
and step by step solution and explanation:
SAP Portal User Idle Timeout using JavaScript and YUI 3 (Yahoo User Interface)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/309379b6-bb9b-2d10-feb1-91f2a7078574?quicklink=index&overridelayout=true
hope it helps -
OID Firewall / Data Connection Timeouts
Hello
I have an OID cluster (11.1.0.5) setup within our environment and have a firewall installed between the OID servers and the database servers. The defualt connection timeout for the DB connection was increased to three hours, but after three hours I keep getting the periodic failures of OID / enterprise manager. I have set the idle connection timeout and retries in the OID configuration, but this still seems to occur even with the timeouts / retries configured. Is there a max session length or some other way to tell OID to close db connections after a period of time so that the max session is not reached?
Also, if I am just querying OID with a script, it seems to work past the three hours but I think this is more of a cache thing whereby it is responding with cached entries. When I go to enterprise manager and try to manage OID, I will get the failure after the timeout with a LDAP error code 49 error and need to submit a bunch of requests to OID to refresh the connection to the database.
Any help you can give would be appreciated.
Thanks
NickAlex,
Thanks for the prompt reply.
Not having Maximum times in ODP will make things complicated and a myriad of race conditions can occur.
There is an involved example of a Transaction Timeout Cancel that I could implements with a an application Maximum timer on page 5-27 of the Oracle Data Provider for .NET Developer's Guide and it is not easy to implement
However, it is not described anywhere on how to implement a Maximum Connection Timeout.
In the example below from the docs the application will block at the Open() call:
// Connect
string constr = "User Id=scott;Password=tiger;Data Source=oracle";
OracleConnection con = new OracleConnection(constr);
con.Open();
So do we do the following:
// Connect
string constr = "User Id=scott;Password=tiger;Data Source=oracle";
OracleConnection con = new OracleConnection(constr);
*//Set_Application Timer*
con.Open();
OnApplicationTimer()
con.Close()
//Do application timeout processing
What will the Close() do for us here? What will happen if the Connection open is still in progress when we try to close it?
Should we forget attempting to Close() and wait until Oracle decides to return in the first method as shown below?
OnApplicationTimer()
//Do application timeout processing but don't explicitly send Close()
// Connect
string constr = "User Id=scott;Password=tiger;Data Source=oracle";
OracleConnection con = new OracleConnection(constr);
*//Set_Application Timer*
con.Open();
//Eventually it will timeout. If succesful, clo0se immediatly since it is too lpate.
Nathan -
Application vars are Independent from Session vars?
This excerpt from the manual, "ColdFusion MX applications and
sessions are independent of each other. For example, if an
application times out while a user’s session is active,
the session continues and the session context,
including the user’s Session scope variables, is
unaffected by the application ending and restarting."
OK, how can an application timeout while a session can
continue. I can think of ways in which this could happen (if the
application timeout is very short), but for all practical purposes
it really doesn't make any sense. The fact that a user is active in
the application would, in effect, extend the application
time.This livedoc may shed a little more light on the subject:
http://livedocs.adobe.com/coldfusion/7/htmldocs/00001156.htm
For example, #Application.datasource# could timeout but
#Session.username# could still be active. -
What sequence does CF fire off application methods?
From a cold start, I assumed CF fired off in the following order:
onApplicationStart
onRequestStart
onSessionStart
onRequest
onRequestEnd
As they occur:
onSessionEnd
onApplicationEnd
onError
onMissingTemplate
Can anyone confirm this to be true or not?Well, on *every* request it goes
onRequestStart
onRequest
onRequestEnd
On the first request after server restart or application timeout it goes
onApplicationStart
onSessionStart
onRequestStart
onRequest
onRequestEnd
On the first request where a user is initiating a new session in a running app
onSessionStart
onRequestStart
onRequest
onRequestEnd
onSessionEnd *only* triggers when a session times out or it is called explicitly
onApplication *only* triggers when the application times out or it is called specifically
onError only triggers when an unhandled error bubbles up to it (and can even fire from another App.cfc method)
onMissingTemplate fires when a request occurs for a missing template. If I had to guess I would say this occurs before onRequestStart for that request
Someone correct me if I am wrong on any of this.
Maybe you are looking for
-
How to send JSON data in HTTPService to PHP web service question
I'm using Flex 4 and a mx:HTTPService to send a JSON request to a php web service. I'm not sure if I'm sending the request correctly. Could someone look at the code below to see what I'm doing wrong? thanks <?xml version="1.0" encoding="utf-8"?> <s:A
-
Hello, I have after the update to Lion the following problem: In Airport Utility I find my Time Capsule, but the Finder is gone. Consequently, I can no longer access it. "Connect to Server" it does not work well, the old connectio
-
Working with Adobe Edge in Muse CC
Hi, I have just published a website to the Business Catalyst server via Muse for testing (link below) and noticed that the Edge animation i have included in the website doesnt work in Internet Explorer 8 as it doesnt support HTML5, do you have a work
-
I have entered my username and password and the message comes up as User name or password is incorrect, this has frozened this page - so I am unable to use my settings, the rest of the phone is working fine
-
Migrating Mail from 10.4.11 to 10.5.8 - Upgrade first?
I am switching to a new 2.66 GHz iMac with 10.5.8. I have had very limited success moving my Mail via Firewire. Old Mail version is 2.1.3 (753.1). New version is 3.6 (936). I have been able to copy the vCards from my Address Book, but no mailboxes or