Session timeouts to the database

Hi,
A customer is commenting that his sql developer sessions have started to time out. I have not used developer so am here looking for some advice. Are there any parameter settings in the database or developer that I can review for sessions.
regards
Alan

If it's timing out, that a db thing that the dba put on the databases for idle time. There's nothing in sqldev that would timeout a session/connection.
-kris

Similar Messages

  • How to check and change the dafault session timeout of the Portal?

    Hello,
    When leaving a portal page open without using it for a certain amount of time and then accessing it again the Session times-out.
    Where can I check and change this default time-out time in case I would like to extand it for the end users?
    Roy

    Hi Roy,
    Session timeout includes multiple settings (J2EE setting and SSO setting at User Management).
    Defining the Timeout in J2EE Session
           1.      Open file web.xml (path depends on the version of EP6.0. If it is based on NW04, then
    ..\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF
           2.      Enter a value in minutes under <session-timeout>. The value should roughly correspond to the length of a synchronization cycle. The default is 30 minutes.
    After a successful login, it receives a SSO ticket which is valid for longer duration (generally 8 hrs, default which you can changed using  "System Admin" as mentioned by Yoel.
    Thanks,
    Swapan

  • Save the session data in the database !

    Hello everybody,
    I read an article on JavaWorld website about saving the session data of an application in the database instead of mantaing them in memory.
    In this way, the web application is more scalable and in case the application server crashed the session data can be taken by another application server.
    I was sure that this was a good motivation of writing a class to save the session data of my application in the database, but i read another article where a good methodology to
    create a scalable web application was to save the session data in more application server so if one application server crashed another application server can take the control of the entire application.
    I think that at the moment i have just a bit of confusion in my mind.
    Any suggestion ?
    Cheers.
    Stefano

    What you've read was a method of "load balancing" where "state" is maintained by a backend server instead of the web servers themselves. Yes, if done properly, this would achive true web server independance, and if one crashed, another would pick up where it left off. Of course, you'll still need an HTTP load balancer in front of the web server farm, so it can dynamically shift the load.
    From an architecture standpoint, it's a good way to go, but only IF you really need 7x24 with zero downtime. Reason being twofold. 1) It's a huge performance hit, becase each GET/POST requires a trip to the DB, because it's holding state. 2) It's a lot of work, because you're now taking on the role of "managing" sessions (e.g. when to expire, reading the cookie/URL for session IDs.
    I was once responsible for a 7x24 Intranet that ran core business applications. My service level agreement with my customers was 7x24 alright, but with the risk of a possible "blip" (meaning, if one server crashed, simply reconnect and continue your work). Worst case, one lost just that one page worth of work.
    I hope that helps explain!
    bRi

  • Trapping the session timeouts in the browser.

    Hi
    I have a web application that sets timeouts on httpsessions. I need to trap the session timeout and bring a popup window to warn the user and continue to work if user wants to continue. How can I achieve this ?
    Thanks

    That works only on the server side. I need to trap it in the browser, for server there is no way to contact the client after trapping the session timeout.
    You can use Session listener to trap the session time
    out
    http://www.google.com/search?sourceid=gmail&q=Session%
    20Listener

  • How to fetch session timeout from the server

    Hi
    I want to subscribe about the value of the session timeout value from the server 
    from time to time , is there any way in the flex or through blazeds to achieve 
    this . 
    Thanks 
    Akshat

    Ernie,
    thanks for your suggestions. It seems my problem can't be solved in a smart way. To your question: My server space is limited ( 1 GB ), I use currently about 2/3 of it.
    I have access to the mails via the web interface and therefore I could forward the mails to my account but I would like to have all mails local on my Mac with the original time stamps and format. But that's not the case for forwarded mails. In addition for sure the problem is not solved, if I cure the current symptoms and I have no idea if it's caused by an update of my Mac or by the server.
    Werner

  • Session Timeout and DAD Authentication

    My application uses the authentication scheme 'No authentication (using DAD)'. The users log in from an external program and the user IDs are captured in the variable remote_user. My authorization scheme checks that the user ID exists in a database table. All this seems to work fine.
    However, I need to implement a session timeout on the application. I've followed the steps described in the "Automatic Session Timeouts" utility in the Application Express Studio but when I tried to modify the authentication scheme by adding:
    return auth_pkg.check_timeout;
    to the Session Verify Function I got the following errors:
    No functional attributes may be set when page sentry function is '-DATABASE-'.
    and
    Session verification function may not be specified if page sentry function is specified.
    I'm new to Apex and I don't know where to go from here. Any advice please?
    Thanks
    Maria

    Maria,
    The usual way to do the authentication part is to use a custom page sentry function. Many examples have been posted on the forum based on the ntlm page sentry code. Search for those keywords here (ntml page sentry) and you should find it easily. Then you can modify it by adding the session timeout logic in that function.
    Scott

  • How to configure a session timeout for DynPro applications?

    Hello,
    1. Where can I configure the session timeout of the DynPro applications?
    2. Can I configure a session timeout per application and how do I do that?

    Hello Heidi,
    I am not familiar with this property:
    1. Where can I configure it?
    2. Does it apply to every application at the portal?
    3. What if I would like to configure just one application?
    By the way, I have noticed that the DynPro application has an expirationTime property. The documentation says this:
    Specifies the lifetime in seconds of a Web application on the server before the Web application is terminated by the server. The value of the DefaultExpirationTime parameter of the system configuration is used as the default value.
    My question is if someone tried to use this property?
    Message was edited by: Roy Cohen

  • Session Timeout - Process as a webservice

    Hi ,
    I am using ALBPM v5.7.
    In this we are exposing our process as webservice.
    We are Invoking these webservice methods from portal deployed in BEA Weblogic Server,
    The procedure we are following is , starting the session and then invoking our methods -- method1 and method2.
    But , After invoking method1, In the portal, we are waiting for five minutes and then trying to invoke method2 of BPM using the same session,
    When we do this, It is throwing an exception,
    Invalid Session.
    We observed that if we invoke method2 before five minutes then it is working fine.
    So do we have any session timeout for the BPM Process, when we expose our process as a webservice.
    If so , could you please help me in resolving this issue?
    Thanks & Regards,
    Krishnaveni.

    Just input paramters inside the Begin Activity...
    Right Click on the Process and open Process Web-Service and add a Web-Service to it..
    Then start the engine in Studio..
    And then click on Launch Deployed WebServices Webapp..
    And you would get the endpoint..

  • Session Timeouts accessing data from Xcelsius

    I am running Business Objects XI R2 SP2 and running Xcelsius 2008 FP1.
    Basically within my models i use LiveOffice to refresh the initial data used within the models and then I use QaaWS to use certain drill through parameters to retrieve more detailed information.
    All this works fine and returns all the data i need, but i get session errors when accessing the models from Infoview.
    When i log into Infoview, i can run 1 model fine and do all the necessary refreshes and further drill downs without any trouble, but when i close the model down and try to go into the next model i get the following error message;
    Your webintelligence session has timeed out WIS: 30553.
    NOw i have updated all the setting i know of eg;
    1) Webi report server timeout in server properties
    2) Configured the command line of the webi report server in CCM to include the timeout parameter.
    3) Web.xml file has been amended to increase the session timout
    4) Web.xml file has been amended to uncomment the listener settings
    5) i have even updated the session timeout on the Tomcat server (tomcat\conf\web.xml)
    Has anyone any other ideas as i can not access the models.
    I know this is not related to Webi reports, as i can fresh reports and open up other reports without any issues, so i think it must be related to Xcelsius in soem way.
    Any help will be gratefully received.
    Anthony
    Edited by: Anthony Jones on Mar 12, 2009 12:32 PM

    Hey thanks a lot your code worked!!
         I wrote it in my procedure and ran it through my job.Its working as needed now.
         I analysed what your code does. Let me know if I'm right or wrong
         The view apex_activity_log is based on query like
         SELECT * FROM wwv_flow_activity_log
    WHERE security_group_id = (SELECT wwv_flow.get_sgid
    FROM DUAL
    WHERE ROWNUM = 1);
    What i understand is when i run query in toad it gets null value in above where clause so my below query doesnot retrieve any data.
         But when i set security_group_id it gets some value through wwv_flow.get_sgid and my query retrieves the data for my app_id
         SELECT l.userid,
    a.application_name,
    l.step_id page_no,
    l.TIME_STAMP,
    l.ir_report_id,
    l.elap,
    l.session_id,
    l.ip_address
    FROM apex_activity_log l, apex_applications a
    WHERE l.flow_id = a.application_id
    AND l.flow_id = 200; --app_id
    Can u pls explain me what is security_group_id and its significance??Are workspace_id and security_group_id same??

  • Excel web part and choice filter web part session timeout

    Hi,
    I have set up a excel web part and choice filter web part so I can change the parameters for the excel with the choice filter. I used this link: office.microsoft.com/en-001/sharepoint-server-help/connect-filter-web-parts-to-excel-web-access-HA010105470.aspx
    The problem that I have, is that each time I select a parameter through the choice filter web part, I get a session timeout:
    How can I prevent the session timeouts? I allready checked the Trusted File Location in the central admin (the location where the Excel is uploaded is not mentioned specifically, but the main domain is, so I guess all domains that built upon the
    main domain are also trusted locations?)

    Hi vjo,
    Please try to increase the Short Session Timeout in the trusted file location, compare the result.
    If this issue still exists, please check the ULS log to find whether there is something about this issue.
    The path of the log file is: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\LOGS.
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • JSP Session Timeout in multiple pages (iframes used)

    Hi,
    Here is my scenario. I have a JSP Page i.e. A.jsp in which I am setting a session timeout to 3 minutes. I also have another JSP included i.e. B.jsp in the same page (A.jsp) using the following code i.e.
    <IFRAME SRC="B.jsp" width="100%" height="800" frameborder="0" align="center">
             <!-- Alternate content for non-supporting browsers -->
    </IFRAME>I am also setting a session timeout to 1 minute in the B.jsp. Now if the session timeout in one of the pages i.e. A.jsp or B.jsp I want to route to a different page i.e. C.jsp.
    Now my problem is if the session timeouts in the B.jsp the C.jsp is shown inplace of the B.jsp page inside A.jsp. Means A.jsp still shows it's content at top and under it C.jsp is shown. I want to route to C.JSP page if a session timeouts in A.jsp or B.jsp and only show C.jsp.
    Any help is appreciated.
    Thanks

    Where exactly I put the javascript. Here is currently I am checking for the session timeout:
    String error = (String) request.getAttribute("Error");
        if (error != null)
            out.write("<center><strong>");
            out.write("<font color=\"Red\">");
            out.write(error);
            out.write("</font>");
            out.write("</strong></center>");
        response.setHeader("Cache-Control","no-cache"); //forces caches to obtain a new copy of the page from the origin server
        response.setHeader("Cache-Control","no-store"); //directs caches not to store the page under any circumstance
        response.setDateHeader("Expires", 0); //causes the proxy cache to see the page as "stale"
        response.setHeader("Pragma","no-cache"); //HTTP 1.0 backward compatibility
        String userName = (String) session.getAttribute("User");
        if (null == userName)
            request.setAttribute("Error", "Session has ended. Please login.");
            RequestDispatcher rd = request.getRequestDispatcher("C.jsp");
            rd.forward(request, response);
    ................The same code is in A.jsp and B.jsp. If I want to use the javascript to check if it's the top frame or not and redirect properly where exactly I need to put that code.
    Thanks

  • General question re session timeouts

    we'd like to increase the session timeout for our portal from the default 20 min to 60 or so.
    recommendations from plumtree and microsoft suggest that increasing the session timeout (on the server - IIS) to beyond 20 minutes will be detrimental to performance and both advise against it.
    another option would be for users to change their page update settings (through my account -> display options) to say 15 minutes to provide a way of keeping the session alive.
    My question is, isn't this just as much as a performance drain as increasing the session timeout on the server?
    thanks
    Simon Dragicevich

    we'd like to increase the session timeout for our portal from the default 20 min to 60 or so.
    recommendations from plumtree and microsoft suggest that increasing the session timeout (on the server - IIS) to beyond 20 minutes will be detrimental to performance and both advise against it.
    another option would be for users to change their page update settings (through my account -> display options) to say 15 minutes to provide a way of keeping the session alive.
    My question is, isn't this just as much as a performance drain as increasing the session timeout on the server?
    thanks
    Simon Dragicevich

  • Dot1x session timeout issue

    Hi
    currently we have an issue with our new dot1x authenticated WLAN. The clients get disconnected when the session timeout expires. As I have discussed with TAC the session timeout forces the client to reauth against RADIUS but should not disassoc him (for non-dot1x-SSIDs it will actually disassoc you by design)
    Each time a client is ejected the following message is produced:
    May 10 09:59:20 xxx *Dot1x_NW_MsgTask_0: May 10 09:59:21.014: %DOT1X-3-INVALID_WPA_KEY_MSG_STATE: 1x_eapkey.c:848 Received EAPOL-key M2 msg has invalid information when mobile is in START  state - invalid secure bit; KeyLen 24, Key type 1, client xxx
    A workaround is either to:
    a) Disable session timout (but we need to check for revoked certs)
    b) Switch from WPA2 to WPA(1)
    So far I've tested with:
    - Win7 and Centrino 6205 (newest driver)
    - Same laptop and some random Realtek USB-Stick
    - Same laptop complete new and blank Windows install (without McAfee HIPS & AV) and both NICs
    - Also an ancient LAP1231, currently this is a 3502
    The interesting part is that we don't seem to have any issues with Ubuntu and Android clients and also an iPad seems to work fine. We are currently running 7.0.240.0, but I also tested with 7.4.103.6 (dev release). The ACS is runnign 5.2 and acknowledges the client fine during reassoc, but for some reason the controller disconnects him.
    There are no strange messages in the Windows event log. Do you have any idea what is causing this? A collegue of mine is facing the same issue at a differen company. TAC seems to be stumped, unfortunatly.

    After some months of playing with TAC we found the issue: It was wrong of TAC to suggest inceasing the EAPOL-Key Timeout. Actually you have to lower this timeout, because it initiates the retransmission of the EAPOL-key request.
    It looks like Win7 changed the behavior somehow (Win XP works fine) and has a more aggressive timeout. Also the first try always fails for some reason still unknown. When the timeout is to large Win 7 diassocs before the controller has a chance to retransmit. I have lowerd the value to 400ms and increased the repeat count which keeps the clients stable again.
    Case is still going on to find out why the first try to reauth fails, something with invalid MIC in M2? My current EAP settings are:
    EAP-Identity-Request Timeout (seconds)........... 5
    EAP-Identity-Request Max Retries................. 3
    EAP Key-Index for Dynamic WEP.................... 0
    EAP Max-Login Ignore Identity Response........... enable
    EAP-Request Timeout (seconds).................... 5
    EAP-Request Max Retries.......................... 3
    EAPOL-Key Timeout (milliseconds)................. 400
    EAPOL-Key Max Retries............................ 4
    EAP-Broadcast Key Interval....................... 3600
    This also got me thinking about the other timeouts and I decreased those as will. Take the EAP-Identity-Request Timout. If you set it to 30 seconds and the first packet ist lost somehow than the client needs to wait 30 seconds for auth, that does not make sense.
    https://supportforums.cisco.com/docs/DOC-12110

  • Enable Session Timeout - Guest web-auth

    Hi All,
    Just a quick one. If this timer expires when using web-auth on a guest wlan in the following way
    PC --Ap -- WLC (campus) -- Anchor WLC (DMZ) --- www
    Does the web session break and the user will be redirected to the web authentication page?
    Many thx indeed,
    Ken

    Hi there.
    http://www.cisco.com/en/US/docs/wireless/controller/5.0/configuration/guide/c5users.html#wp1048408
    Thanks for the doc above. It has the info in there. Many many thx for your help.
    Ken
    The smaller of this value or the session timeout for the guest WLAN, which is the WLAN on which the guest account is created, takes precedence. For example, if a WLAN session timeout is due to expire in 30 minutes but the guest account lifetime has 10 minutes remaining, the account is deleted in 10 minutes upon guest account expiry. Similarly, if the WLAN session timeout expires before the guest account lifetime, the client experiences a recurring session timeout that requires reauthentication.

  • Updating session-timeout  value thru JSP

    Hi,
    I have a requirement that updates the Session time-out in the path Tomcat\conf\web.xml as given below.
    <!-- ==================== Default Session Configuration ================= -->
    <!-- You can set the default session timeout (in minutes) for all newly -->
    <!-- created sessions by modifying the value below. -->
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    For exanple ,I want to set the session-timeout as 50 thru some html page .The necessary updation into the fle should replace the existing session -timeout 30 with 50.
    The entire process should be done using jsp or servlets or thru general java program.
    Can anyone help me how to resolve this .
    Thanks
    VR

    Since the web.xml is loaded at startup of the server engine and affects the session-timeout of all sessions created in that invocation of the servlet engine I can't see how trying to update this file would help you.
    If you want to update the session timeout after the engine has started up then you must use the method on HttpSession.setMaxInactiveInterval(50).
    Hoep this helps.

Maybe you are looking for

  • Where did the Aux sound input go?

    First time I installed Windows XP on my new setup (see sig), I had the sound from the DVB-S card mapped to the Auxiliary input on the Playback control panel. The sound for this input was going through the PCI bus - I didn't have any analogue audio ca

  • Syncing artists alphabetically by last name on Apple TV

    Until I updated my Apple TV software all my music artists would be displayed alphabetically by last name according to the sort on iTunes. Since the update most, but not all artists, are synced with iTunes. The exceptions are displayed on Apple TV alp

  • Applying logs in a semi-standby instance

    Oracle Version: 10.2.0.3 Standard Edition OS: Windows 2003 Server I setup oracle standby (followed the steps in metalink doc 432514.1).. I am running 10.2.0.3 standard edition.. so teh standby have to be done manually (which is fine).. I shutdown pro

  • WLS 9.2.1 embedded LDAP keeping huge open connection

    Hello All, While using Embedded LDAP, we see a huge no of open LDAP connections through Admin console. We checked the following options: GroupMembershipSearching=limited MaxGroupMembershipSearchLevel=5 But still the same issue persists. Any idea? /ed

  • Oracle 9i Express

    Hi all, Could anyone tell me where i could download a version of Oracle 9i Express edition. The free edition for home users and students. The Oracle website seems to only provide the 10g version for Express edition and i am more used to 9i. Thanks in