ITS 6.20 webgui session problem

Hi,
  We have installed ITS 6.20 patch level 19(with hotfix). We are using R/3 4.6C version with kernel level updated to 4.6D 2106 patch.When i access the  following things from wegui <i>Click Menu -> System -> Services -> Output Controller </i> and <i> Click Menu -> System -> User Profile -> Own Data </i> i am getting information popup saying <i>Maximum number of sessions reached</i> message.
Does anyone encountered the error before???
Regards
Vasudevan Gopalan

Hello Durairaj,
the message has nothing to do with the 6 session maximum from SAP GUI for Windows. With SAP GUI for HTML, only one session is supported. /o will not work; neither will any ABAP coding that spawns a new session from the existing one. This is documented in SAP note 314568.
Regards,
Jan

Similar Messages

  • I purchased a MyBook Studio 4gb external hard drive.  I can't get it to work properly.  WD have assessed it and say its fine and that the problem is with Apple?

    I purchased a MyBook Studio 4gb external hard drive.  I can't get it to work properly.  WD have assessed it and say its fine and that the problem is with Apple?  Any ideas?

    Hello EucaBlue!
    So in Disk Utility, with the external harddrive selected, go to the Partition tab, and then under "Partition Layout:" select 1 Partition.
    After than, verify that it is formatting the drive as "Mac OS Extended (Journaled) under "Partition Information"
    Also verify that it's using using the GUID Partition Map under the Options button at the lower left of this window.
    Then click apply and confirm that you want to format the drive. It will ask you if you're sure, and probably for an Administrator password.
    Once your harddrive is formatted properly, you should be able to use Time Machine, or any other Mac backup software.
    Happy tinkering!
    Paul

  • Java Session problem while sending mail(using javamail) using Pl/SQL

    Hello ...
    i am using Java stored procedure to send mail. but i'm getting java session problem. means only once i can execute that procedure
    pls any help.

    props.put("smtp.gmail.com",host);I doubt javamail recognizes the 'smtp.gmail.com' property. I think it expects 'mail.host'. Of course since it cannot find a specified howt it assumes by default localhost
    Please format your code when you post the next time, there is a nice 'code' button above the post area.
    Mike

  • My iphone4 suddenly shut down.I pluged into a charger it started vibration and got heat up in off mood. I also checked it to genius he said that its battery is ok but problem is some thing else. It is still in off mod. what i have to do?

    My iphone4 suddenly shut down.I pluged into a charger it started vibration and got heat up in off mood. I also checked it to genius he said that its battery is ok but problem is some thing else. It is still in off mod. what i have to do?

    I  am having a similar odd issue. First of all this summer i took my iphone 4 to apple because my screen had quit. I could hear calls and texts coming thru but screen was unresponsive. I was a month out of warranty so the nice fella at apple gave me a 30 day warranty, then replaced my handset with a refurb. Saturday night at dinner i was on my phine and it died. I plugged it in thinking nothing of it and went to bed. When i wooe up after the charger had been on all night all i had was the black screen with the battery (red) and lightning bolt, meaning it knew it plugged in but still did nothing. So off to apple i go. They said i was out of warranty and the problem (never said what problem) would cost 170 bucks to fix. So i went and upgraded to the iphone 5 ( figured if i'm spending that anyways may as well be on a new phone). When I got home i tinkered with the old one with all the online suggestions i could find. (Cleaning ports, hard reset, putting into recovery mode, and checking indicators for water damage which there was none). Still only saw the battery symbol. I left it alone figuring i can sell off cheap and someone else can repair. Last night for kicks i plugged it in again and it came to life! It is in recovery mode (needs to be hooked to itunes to regain functionality) but showed 100% battery charge. I went to show my bf and realized an issue. If its not plugged into the wall adaptor, it wont turn on. I figured then that if i can get it plugged in and pull it up on itunes maybe it would be fine. When plugged into the computer it wont hold enough power. It thrns on shows the apple for 30 seconds, shuts off. My ending conclusion on my own is that it needs a new battery in order to be revived. Anyone think this sounds like a reasonable conclusion? Or will i be wasting money? If i can get it restored to functional, cheaply i can give to my bf (his pos lg phone is almost toast) or sell it.

  • Session problem in jsp application

    I face a session problem. I setting everything in a session and when pass back to a main page, the value is not display in the screen. But after refresh the value will display in the screen and this kind of problem only come out very few time and i dun knw how to solve this...
    Anyone here can give me some idea and suggestion or the way to solve this kind of problem!!!

    define "2 different clients"
    1) You have 2 different PCs and it's using the same session ID for both? I doubt this. I think the server is advanced enough not to use give a session ID that's already been created.
    2) You have 1 PC and are using IE or Netscape and using File > New Window to open a new window and connect again. This you can't fix without using only URL rewriting to manage session, because the different windows will share the same session cookies.

  • I cant download ios 6 from itunes its says there was a problem in downloading software

    i cant download ios 6 from itunes its says there was a problem in downloading software

    i have a same problem bigfoo.. i mean whenever i do it...downloading goes halfway but after that it says an error occured

  • HT201401 What you sent me does not help me right My problem is the hardware of the iPhone and its settings I have a problem I Cmtor Home is not where his curve and let's make noise and not working

    Hello my name is and I'm from Israel Lidor My home button on the iPhone 5 does not pass he makes heads and crooked, I bought it from Apple in Spain Barcelona If you can do something with this issue Nora will thank you.!
    What you sent me does not help me right
    My problem is the hardware of the iPhone and its settings
    I have a problem I Cmtor Home is not where his curve and let's make noise and not working

    The warranty is NOT international. The exception is the E.U.
    Since Spain is an E.U. Member country, you can take it back to an Apple Store in any EU country for service. It can not be serviced outside of the E.U.

  • My firefox page is not connecting to network and also its not displaying the troubleshoot problems option?

    my firefox page is not connecting to network and also its not displaying the troubleshoot problem option?

    At the very least, I recommend you restart your router, (your internet box).
    More detail on your problem is needed - are you in a submarine? On the moon? On a tropical island?
    You can help yourself by providing as much info as you can about your present situation - what kind of router do you have? Have you moved it? DId you update it?  Did you do anything to change your setup, and if you did, what?

  • Sessions  problem /Internal ITS issues

    Hello All,
      We are running on SRM 4.0(Classic  scenario) using  internal ITS.My query is that when I logoff from the homepage of SRM screen,although the pop-up window closes,the internal sessions are not killed.This hampers the system performance when large  number of users  are logged in at the same time and we get the "Memory Bottleneck" error.
      Also,currently we are using the internal ITS for SRM,but all other systems in the landscape are using External ITS.In such a scenario,can anyone tell me which will be the best option for ITS-External or Integrated for SRM??Has  anybody had  any experience related to  the use of Internal v/s External ITS for SRM 4.0 which they  can share  with us?
    Thanks & Regards,
    Disha.

    Disha
    Is your issue resolved?
    Please let me know how is it resolved as we are also facing the "Session Timeout Error" in SRM4.0 Classic scenario.
    Regards
    Jagadish

  • Urgent: Sessions problem pls help me

    Hi all,
    Its already late to post this problem.pls help me urgently.
    I have a servlet & two jsp's. first i request servlet, it processes something and forwards request to my first jsp. In that jsp on a button click, i'm displaying a new popup by calling showModalDialog. this dialog gets data from the same servlet but it forwards to my second jsp.(second jsp can be seen in dialog)
    Now if i submit form from my second(dialog) jsp, the servlet reports that session has expired. I tried a lot but invain. any one who helps me is appreciated well by all of our forum.
    waiting 4 u r reply,

    It could be that you have cookies turned off and you're not using URL Rewriting.
    In J2EE, the first time your browser makes a request to the server, the server responds and appends a SESSION_ID parameter to the request as well as storing a cookie with the SESSION_ID.
    The second time your browser makes a request, the server checks for the cookie. If it doesn't exist it checks for the parameter. If neither exist the server assumes its the first time your browser has made a request and behaves as describe in the previous paragraph.
    In your case when you submit the form if you have disabled cookies and the action attribute doesn't have the SESSION_ID paramter appended to the url, the browser will assume it's a first request. The user will not be logged in, hence your session has expired error.
    To fix this you need to encode the URL in your JSP. You can use the struts html:rewrite tag or the HttpServletReponse.encodeURL method, or if you're using JSP 2.0 the JSTL c:url tag.

  • Using WEBGUI printing Problem encountered

    Dear all,
    having implemeted the WebGui application server a printing problem in the browser occurs.
    Suppose that an ABAP-report issues a list consisting of various pages. Once you apply threprint button
    in the internet browser (Microsoft 6.0) only the first page is being printed, the other pages are neglected.
    In contrast, once you carry out the report within the SAP-System all pages are printed. The same applies once you apply the legacy standalone ITS with the function modules employed.
    How can this issue be resolved ?
    Thx
    Bernd

    Hi,
    957292 Patches for front-end printing with SAP GUI for HTML 
    Refer to this note it might help you.
    Regards,
    Vamshi.

  • False authentication sessions problem

    Hello,
    I observe undesirable behavior of my Cisco 3560 switches,  which keep authentication sessions for devices that are currently not  connected to the network.
    To be precise, I mean the sessions relating to the devices that  haven't been successfully authenticated and as the result the switch is  trying to re-authenticate it. The problem shows up when the device is no  longer connected to the network, but switch is still keeping that  authentication session (ineffectively trying to authenticate the device  that is no longer connected).
    For example - int fa0/37 - on that interface is connected 6 devices, while current authentication sessions are 36:
    SW1#sh clock
    16:54:10.793 CEST Fri Jun 7 2013
    SW1#sh mac add int Fa0/37
    Mac Address Table
    Vlan Mac Address Type Ports
    82 0012.3fb9.5b3f STATIC Fa0/37
    82 28d2.4408.0f31 DYNAMIC Fa0/37
    82 28d2.4408.10d9 DYNAMIC Fa0/37
    82 28d2.4408.1440 DYNAMIC Fa0/37
    82 28d2.4408.39dc DYNAMIC Fa0/37
    82 6cf0.4929.4aa8 DYNAMIC Fa0/37
    Total Mac Addresses for this criterion: 6
    SW1#sh auth sess | i 0/37
    Fa0/37 f0de.f15f.3332 N/A DATA Authz Failed 0ACA022A000004751725F612
    Fa0/37 28d2.4401.8591 N/A DATA Authz Failed 0ACA022A000005AE9C6AB46B
    Fa0/37 0024.1dab.5943 N/A DATA Authz Failed 0ACA022A0000008B630B988D
    Fa0/37 0024.1d0b.bd9d dot1x DATA Running 0ACA022A000005867DC8BA06
    Fa0/37 28d2.4408.0f31 dot1x DATA Running 0ACA022A000005C2AC8D0728
    Fa0/37 f0de.f152.2266 N/A DATA Authz Failed 0ACA022A000000DE8CD63254
    Fa0/37 0021.86ff.b4f2 N/A DATA Authz Failed 0ACA022A000005495F07FBBD
    Fa0/37 f04d.a251.6135 mab DATA Authz Failed 0ACA022A0000043D0D549EA9
    Fa0/37 28d2.4408.1440 dot1x DATA Running 0ACA022A000005C1AC8CD8D3
    Fa0/37 0021.ccd8.095c dot1x DATA Running 0ACA022A000004781740E560
    Fa0/37 5cf9.dd41.6a35 mab DATA Authz Failed 0ACA022A0000044E11EA7A95
    Fa0/37 0012.3fb9.5b3f dot1x DATA Authz Success 0ACA022A0000003924E5D007
    Fa0/37 5cf9.dd41.6c06 mab DATA Authz Failed 0ACA022A0000044F11EF1A3B
    Fa0/37 0021.cc6e.3db3 dot1x DATA Running 0ACA022A000004A921E704A2
    Fa0/37 0021.ccd0.1487 N/A DATA Authz Failed 0ACA022A00000479175405FF
    Fa0/37 0021.ccd7.e67f dot1x DATA Running 0ACA022A0000055E6012F3D3
    Fa0/37 28d2.4407.209d N/A DATA Authz Failed 0ACA022A0000045012089F38
    Fa0/37 0011.4302.d91b N/A DATA Authz Failed 0ACA022A000004A721363771
    Fa0/37 28d2.4408.10d9 dot1x DATA Running 0ACA022A000005C0AC8CAB1D
    Fa0/37 0013.72ca.549e N/A DATA Authz Failed 0ACA022A0000009F6D129B84
    Fa0/37 28d2.4406.28e2 N/A DATA Authz Failed 0ACA022A00000376D9E4E000
    Fa0/37 0024.7e10.ef3a N/A DATA Authz Failed 0ACA022A0000003B254891A7
    Fa0/37 0026.1823.fa2f dot1x DATA Running 0ACA022A000000D3872D60E0
    Fa0/37 3c97.0e83.f722 N/A DATA Authz Failed 0ACA022A000003DFE8AB9EB6
    Fa0/37 70f3.9513.c315 dot1x DATA Running 0ACA022A0000050540434445
    Fa0/37 6cf0.4929.4aa8 N/A DATA Authz Failed 0ACA022A0000003A24E64567
    Fa0/37 001d.7284.4cae dot1x DATA Running 0ACA022A0000008C63D0E95F
    Fa0/37 70f3.9513.c420 N/A DATA Authz Failed 0ACA022A00000103B00B97CC
    Fa0/37 28d2.4408.39dc dot1x DATA Running 0ACA022A000005C3AC8D33D2
    Fa0/37 0013.72b8.ec0b dot1x DATA Running 0ACA022A0000056D695D4C5D
    Fa0/37 5cf9.dd41.6c80 mab DATA Authz Failed 0ACA022A000004360D108AA4
    Fa0/37 000f.1fe4.6f9f N/A DATA Authz Failed 0ACA022A000000E39161ABC9
    Fa0/37 001e.3736.9a6a N/A DATA Authz Failed 0ACA022A000004831C16033E
    Fa0/37 0024.7eda.ab58 N/A DATA Authz Failed 0ACA022A0000030ED4955421
    Fa0/37 28d2.4402.4bbf N/A DATA Authz Failed 0ACA022A0000005139D52E1E
    Fa0/37 0018.8b0c.7882 N/A DATA Authz Failed 0ACA022A000004CC30DD0119
    SW1#sh clock
    16:54:21.891 CEST Fri Jun 7 2013
    SW1#
    Only the "clear authentication sess session-id …" executed for that "hanging" session causes its removal:
    SW1#clear auth sess sess 0ACA022A000004CC30DD0119
    SW1#clear auth sess sess 0ACA022A0000005139D52E1E
    SW1#clear auth sess sess 0ACA022A0000030ED4955421
    SW1#clear auth sess sess 0ACA022A000004831C16033E
    SW1#clear auth sess sess 0ACA022A000000E39161ABC9
    SW1#sh auth sess | i 0/37
    Fa0/37 f0de.f15f.3332 N/A DATA Authz Failed 0ACA022A000004751725F612
    Fa0/37 28d2.4401.8591 N/A DATA Authz Failed 0ACA022A000005AE9C6AB46B
    Fa0/37 0024.1dab.5943 N/A DATA Authz Failed 0ACA022A0000008B630B988D
    Fa0/37 0024.1d0b.bd9d N/A DATA Authz Failed 0ACA022A000005867DC8BA06
    Fa0/37 28d2.4408.0f31 dot1x DATA Running 0ACA022A000005C2AC8D0728
    Fa0/37 f0de.f152.2266 N/A DATA Authz Failed 0ACA022A000000DE8CD63254
    Fa0/37 0021.86ff.b4f2 N/A DATA Authz Failed 0ACA022A000005495F07FBBD
    Fa0/37 f04d.a251.6135 mab DATA Authz Failed 0ACA022A0000043D0D549EA9
    Fa0/37 28d2.4408.1440 dot1x DATA Running 0ACA022A000005C1AC8CD8D3
    Fa0/37 0021.ccd8.095c dot1x DATA Running 0ACA022A000004781740E560
    Fa0/37 5cf9.dd41.6a35 mab DATA Authz Failed 0ACA022A0000044E11EA7A95
    Fa0/37 0012.3fb9.5b3f dot1x DATA Authz Success 0ACA022A0000003924E5D007
    Fa0/37 5cf9.dd41.6c06 mab DATA Authz Failed 0ACA022A0000044F11EF1A3B
    Fa0/37 0021.cc6e.3db3 dot1x DATA Running 0ACA022A000004A921E704A2
    Fa0/37 0021.ccd0.1487 dot1x DATA Running 0ACA022A00000479175405FF
    Fa0/37 0021.ccd7.e67f dot1x DATA Running 0ACA022A0000055E6012F3D3
    Fa0/37 28d2.4407.209d dot1x DATA Running 0ACA022A0000045012089F38
    Fa0/37 0011.4302.d91b N/A DATA Authz Failed 0ACA022A000004A721363771
    Fa0/37 28d2.4408.10d9 dot1x DATA Running 0ACA022A000005C0AC8CAB1D
    Fa0/37 0013.72ca.549e N/A DATA Authz Failed 0ACA022A0000009F6D129B84
    Fa0/37 28d2.4406.28e2 dot1x DATA Running 0ACA022A00000376D9E4E000
    Fa0/37 0024.7e10.ef3a N/A DATA Authz Failed 0ACA022A0000003B254891A7
    Fa0/37 0026.1823.fa2f dot1x DATA Running 0ACA022A000000D3872D60E0
    Fa0/37 3c97.0e83.f722 N/A DATA Authz Failed 0ACA022A000003DFE8AB9EB6
    Fa0/37 70f3.9513.c315 dot1x DATA Running 0ACA022A0000050540434445
    Fa0/37 6cf0.4929.4aa8 N/A DATA Authz Failed 0ACA022A0000003A24E64567
    Fa0/37 001d.7284.4cae dot1x DATA Running 0ACA022A0000008C63D0E95F
    Fa0/37 70f3.9513.c420 N/A DATA Authz Failed 0ACA022A00000103B00B97CC
    Fa0/37 28d2.4408.39dc dot1x DATA Running 0ACA022A000005C3AC8D33D2
    Fa0/37 0013.72b8.ec0b dot1x DATA Running 0ACA022A0000056D695D4C5D
    Fa0/37 5cf9.dd41.6c80 mab DATA Authz Failed 0ACA022A000004360D108AA4
    SW1#sh clock
    17:08:54.372 CEST Fri Jun 7 2013
    SW1#
    SW1#sh ver
    Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(55)SE7, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Compiled Mon 28-Jan-13 10:10 by prod_rel_team
    Image text-base: 0x01000000, data-base: 0x02D00000
    Could anyone tell me what is the reason of that switch behavior and what needs to be done to prevent that kind of situation?
    I also use Identity Service Engine 1.1.1 and 802.1x authentication. "sh dot1x interface fa0/37 details" in attachment.
    If you need anything, don’t hesitate to ask me, please.
    I would sincerely appreciate your consideration of this matter.
    Best regards!

    Hello Richard,
    thank you so much for replying.
    Actually all the switches are configured as following:
    interface FastEthernet0/37
    switchport access vlan 18
    switchport mode access
    switchport nonegotiate
    switchport voice vlan 24
    qos trust dscp
    authentication event fail action next-method
    authentication host-mode multi-auth
    authentication order mab dot1x
    authentication priority dot1x mab
    authentication port-control auto
    authentication periodic
    authentication timer reauthenticate server
    mab
    auto qos voip trust
    dot1x pae authenticator
    tx-queue 3
       priority high
       shape percent 33
    spanning-tree portfast
    service-policy output autoqos-voip-policy
    Is there something wrong with the port config?
    Looking forward to hearing from you.
    Regards!

  • Sessions problem in a 3-tier application

    Dear All,
    I am trying to create a 3-tier application using Apache Tomcat and Toplink:
    1. As a part of my servlet startup I create a ServerSession
    session = project.createServerSession();
    and store it as a static variable. Upon connect I can see that TopLink creates multiple connections. (I assume they are to be pooled between client sessions)
    2. All subsequent DB operations are performed using client sessions acquired from that server session:
    session.acquireClientSession()
    I am running into the following problem:
    After very mosdest usage (1 user) I manage to freeze the application as follows:
    [TopLink Finer]: 2007.08.19 11:31:44.093--ServerSession(2285943)--Thread(Thread[http-8080-Processor25,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:44.109--ClientSession(15960898)--Thread(Thread[http-8080-Processor25,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:44.109--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor25,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:44.921--ClientSession(15960898)--Thread(Thread[http-8080-Processor25,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:46.125--ServerSession(2285943)--Thread(Thread[http-8080-Processor24,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:46.125--ClientSession(28210421)--Thread(Thread[http-8080-Processor24,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:46.125--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor24,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:47.265--ClientSession(28210421)--Thread(Thread[http-8080-Processor24,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:49.062--ServerSession(2285943)--Thread(Thread[http-8080-Processor25,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:49.062--ClientSession(25506524)--Thread(Thread[http-8080-Processor25,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    [TopLink Fine]: 2007.08.19 11:31:49.062--ServerSession(2285943)--Connection(21849501)--Thread(Thread[http-8080-Processor25,5,main])-- MY SELECT QUERY HERE
    [TopLink Finer]: 2007.08.19 11:31:50.000--ClientSession(25506524)--Thread(Thread[http-8080-Processor25,5,main])--client released
    ---------------------------------------------- [I hit Refresh on my browser here] ---------------
    [TopLink Finer]: 2007.08.19 11:31:56.890--ServerSession(2285943)--Thread(Thread[http-8080-Processor24,5,main])--client acquired
    [TopLink Finest]: 2007.08.19 11:31:56.890--ClientSession(19507034)--Thread(Thread[http-8080-Processor24,5,main])--Execute query ReadAllQuery(com.ligolab.application.domain.reporting.PatientResultReport)
    After last refresh my Query does not get executed and the application just hangs. If I PAUSE it in debug mode I observe that it is stuck waiting in the ConnectionPool.acquireConnection()
    I would appreciate any suggestions!
    Tony.

    Tony,
    TopLink does have its own internal connection pooling by default with a Server Session. This can be changed to use the data sources of the container you are running if available and wanted.
    Each read query acquires a connection and releases it once the query is completed. One exception to this is when cursored streams or scrollable cursors are used. These require the connection to be held out of the pool until the application closes the cursor/stream. Do your queries make use of this?
    Doug

  • Session problem in a new window created by window.open()

    hello,
    I have a drugsearch.jsp page, I sessioned an durgCollection object on this jsp page using session.setAttribute("drugCollection",drugCollection);
    there is a link on this jsp which will call a javascript to open a new window .
    here is the javascript to open another new window:
    function openReportWindow()
    window.open("/drug/Report.jsp","report", "toolbar,scrollbars,width=800,height=800,left=100,top=10");
    but in the Report.jsp, I won't be able to get the same session object as in the calling jsp ( drugsearch.jsp) by calling session.getAttribute("drugCollection").
    if I change the link on drugsearch.jsp to link to the Report.jsp directly instead of opening a new window, then I can get the same session object from the Report.jsp.
    what's the problem? can someone give me an advice?
    thanks

    A session is assosiated with one client(browser).
    when you open a new browser, a new session is created. In order to have common place for both the browsers, try storing the data in the 'Servlet Context'

  • Session problem in ADF BC

    We have an application developed in Jdev 10.1.3.4 (JSP, Struts, ADF BC) and running on OAS. Now we have a big problem with session, hope somebody can help with some ideas.
    We set session time to 45 min in the web.xml. The problem is that sometimes some user work on a page with form,for instance performing some edit activity. If he/she leave the page open inactive for more than 45 minutes and come back from lunch, press the ’save’ button, the application would then commit the change to the wrong row in database, most probably the top row in the View Object(VO) instance. This is because the application module actually does a rollback when session expires, it loses all user data.(e.g. row currency in VO instance).
    To avoid saving wrong data to the wrong place, we implemented a session Filter(see att. Below: ApplicationSessionExpiryFilter.java) to catch session time-out and forward request to an error page alerting user that their session has expired due to long time of inactivity. The Filter works as it should but it gives another problem. If user already has one of our application page open for very long time and open another page in a new browser (e.g. click a link from an email), he/she will get session-expire error immediately in the new browser. I guess it is because the session in the first browser already expires and the newly opened the browser shares the same session with the first one. That is how browsers works, we can do nothing about it.
    But our users are of course not very happy about getting the session errors in a newly opened browser. So we tried implementing a heartbeat funtion in AJAX(see att. Below: Heartheat.html and Template.jsp) to keep the session alive until the page is closed. Basically what we do is adding an invisible div tag in every jsp page and invoke AJAX funtion to periodically update the div tag with a small html page. In this way, a request is being sent to the server every 5 minutes thus the session should be kept alive until the page/browser is closed.
    It sounds to us like a very logical solution but it doesn’t work very properly. We sometimes still get the session error page immediately after opening a new page while we have another page open for long time.
    Could anyone please help to look at our Filter and heatbeat funtion? Is there anything wrong with our Filter or the heartbeat? Why does the session still expire before we close the page?
    All we do here is to try to avoid the initial probelm with saving data after session and the application module expires. If anyone has a better solution to this problem, we would very much like to try. Appreciate if anyone can share some ideas!
    Thanks in advance!
    *1. ApplicationSessionExpiryFilter.java*
    public class ApplicationSessionExpiryFilter implements Filter {
    private FilterConfig _filterConfig = null;
    public void init(FilterConfig filterConfig) throws ServletException {
    _filterConfig = filterConfig;
    public void destroy() {
    _filterConfig = null;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    HttpServletRequest httpRequest = (HttpServletRequest)request;
    boolean sessionInvalid = false;
    if(httpRequest.getRequestedSessionId() != null) {
    if(!httpRequest.isRequestedSessionIdValid()) {
    if (!httpRequest.getRequestURI().endsWith("sessionExpired.do")) {
    sessionInvalid = true;
    if (sessionInvalid) {
    ((HttpServletResponse) response).sendRedirect(_filterConfig.getInitParameter("SessionTimeoutRedirect"));
    else {
    chain.doFilter(request, response);
    *2. Heartheat.html* (A small html page to be invoked by template.jsp periodically)
    <html>
    <head>
    <META Http-Equiv="Cache-Control" Content="no-cache, must-revalidate">
    <META Http-Equiv="Pragma" Content="no-cache">
    <META Http-Equiv="Expires" Content="Expires: Mon, 26 Jul 1997 05:00:00 GMT">
    </head>
    <body>
    heartbeat to keep session alive!
    </body>
    </html>
    *3. Template.jsp* (Template page to be extended by all jsp pages, invoke heart.html every 5 min)
    <Html>
    <body>
    <div id="heartbeat" style="display:none">
    </div>
    <script type="text/javascript" language="javascript">
    new Ajax.PeriodicalUpdater('heartbeat','jsp/template/heartbeat.html',{ method: 'post', frequency: 300, decay: 1 }); // update heartbeat.html every 300 sec(5min)
    </script>
    </body></html>

    Hi Shay,
    Reviewing ADFContex methods it seems that this object shouldn't be accessible from BC. Example:
    public static ADFContext initADFContext(java.lang.Object context,
                                            java.lang.Object session,
                                            java.lang.Object request,
                                            java.lang.Object response)
        Initializes the ADFContext for the environment of the specified context.
        Parameters:
            context - the ServletContext or PortletContext of the current execution environment.
            session - the HttpSession or PortletSession of the current execution environment. OPTIONAL.
            request - the HttpServletRequest or PortletRequest of the current execution environment. OPTIONAL.
            response - the HttpServletResponse or PortletResponse of the current execution environment. OPTIONAL.
        Returns:
            the ADFContext that was current when init was invoked. Should be passed back to resetADFContext after the block requiring the ADFContext has completed.Kuba

Maybe you are looking for

  • [INS-20802] Oracle Net Configuration Assistant failed

    now i am installing oracle 11gr2 on fedora 16 i have this error i saw that i have to configurate my ip and hostname i did it Cause - The plug-in failed in its perform method Action - Refer to the logs or contact Oracle Support Services. Log File Loca

  • Why is my MacBook Pro 10.6.8 intermittently freezing?

    My MacBook Pro 10.6.8 is intermittently freezing, it will last about 60 minutes from start up before it freezes - the freeze typically starts when saving a document. For example in Pages, error message: '-document name- could not be saved', sometimes

  • I would like to use iPad as a hotspot

    Is there any way for me to use my iPad as a hotspot? Tethering over USB would be fine but hotspot  much better, have a good day

  • Two iPhoto '08 Libraries, One External and One Internal...

    Hello, I have Two iPhoto '08 Libraries, One External and One Internal. I moved my original iPhoto library to my external HD and all was good. Now about six months later I am noticing that I have two libraries, the external one is 15.8 gigs and the in

  • Downloading rental (-50) error

    I tried to download a movie but keep receiving a (-50) error...what does this mean?