Bean in Session getting inaccessible after x minutes

Hi,
we are currently devloping iViews (JspDynPapes) for EP6 SP2.
We have several iViews which put bean in the iPortalComponentSession and the HttpSession.
We have the following problem:
An iView stores information in a bean and put it into session to be displayed in a table on a JSP. Now,
if the user waits for x minutes (more than 15!) and he triggers an server side event of the ivew, the iView tries to get the bean back from session. But, if the user has done nothing for a certain period, the bean can not be accessed in that session. This raises an NullPointerException. The bean seems to be disappeared or invalid.
Do beans stored in a session get invalid or deleted after a certin period? Can this period be customized?
Thanks for your help,
Maik

Hi Maik,
not the beans stored in the session become invalid but the session itself! For session timeout settings see Anyway to Setting Portal Timeout
In addition, see http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html#setMaxInactiveInterval(int) (which overrides the servlet-container settings for this specific session).
Hope it helps
Detlev

Similar Messages

  • My iMac keeps on losing internet connection. Webpages get stuck after a minute or so. If I check the internet connection via diagnostics it seems to work just fine. Others, like the iPad use the same wifi connection and never fail. What can I do?

    Running 10.6.8 on Intel dual core iMac, it keeps on losing internet connection. Webpages get stuck after a minute or so. If I check the internet connection via diagnostics it seems to work just fine. Others, like the iPad use the same wifi connection and never fail. What can I do?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • X3 gets freezed after 15 minutes of swithching it ...

    Please help me
    my X3 gets freezed after 15 minutes of swithching it on and its volume key is also not working. i ve tried reinserting battery and sim but nothing improves. plz help immidiately

    try removing the battery and memo card for 5 mins then start up again also check for a software update
    free up your memo by removing unwanted items such as images,videos etc
    also try keep your message folders to a minimum if you have alot of text remove them clear your inbox and sent folders
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • XBMC: HDMI audio starts out OK, then gets distorted after few minutes

    Hi,
    I have posted about this on the XBMC forums, but one of the developers kindly informed me that they do not support XBMC on Arch Linux in any way, so I should take my queries elsewhere. I am hoping that someone here might be able to shed some light on my issue.
    I am trying to use XBMC 13.1 (xbmc-13.1-2) with Samsung EH5300 32" Smart TV (2013 model) over HDMI connection. The HTPC computer is AMD-based (AMD A4-5300 APU, which includes Radeon HD 7480D GPU), and runs an up-to-date Arch Linux (last full system upgrade on 2014-06-26). I am using the open source "radeon" driver (xf86-video-ati-1:7.3.0-1). Everything has been great except the sound:
    The sound starts out fine, but a few minutes later it begins to get distorted. At first it sounds like reverb affecting voice only, but with time the distortion increases until it sounds kind of cued TV noise. If I restart the video, the sound works again for a while. If I change options in Settings -> System -> Audio Output, like the number of channels or pass-through, the sound is again good for a little while. If I enable or disable "Stereo Upmix" or change audio stream from the "Audio - Settings" dialogue window available during video playback, it too seems to "reset" the sound to sounding normal for a while.
    Has anyone seen something like this?
    I have tried different videos, and it seems like HD videos are affected more than SD videos, starting with distortions only a few minutes in (except the one Xvid video, which was fine for 15 minutes). Some SD videos are completely fine, some start having distortion issues only after 20 minutes or so. Judging from video information, if the video uses 5.1 channels (all HD videos fall in this category), it definitely gets distorted; if a video only uses 2.0 channels (like the SD videos), some are fine while others get distortion later on. I have "Number of channels" in Audio Output settings set to 2.0. Changing this (or any other audio settings) has not affected the distortion.
    Following Arch Wiki: Radeon note about HDMI audio, I tried adding radeon.audio=1 to the kernel line; this did not solve the issue, just added some visual glitches.
    In the XBMC debug log I posted, the distortions happen at around 17:26, though there is absolutely nothing logged at that time, even though I enabled "Verbose logging of AUDIO component" in the Debugging settings. The video I was playing there showed the following in the information window: 720 H.264 dts 5.1 16:9.
    Any suggestions, ideas, or experiences would be appreciated. It definitely seems to be XBMC issue, since I was able to play the same HD video through mplayer without any problems (for at least half an hour, which would have already showed distortions several times through XBMC).

    Hi GDykes,
    OK Imagine that Connection speed from your ISP is like an empty freeway. You can go full tilt (upto that road's speed limit)
    Bandwidth is like a busy freeway where you only get to go as the bit you are in allows.
    Reducing the Bandwidth in iChat or in the System Preferences > Quicktime > Streaming tab is like a vehicle that has a maximum speed that is slower than the speed possible on the freeway.
    10:02 PM Friday; July 6, 2007

  • GPRS Connection gets disconnected after 1 minute

    I installed Mail for Exchange on my Nokia e50, but about 40 seconds after synchronisation, the connection gets terminated. The total connection-time is about 1 minute (40 secs idle + 20 secs synchronisation).
    The strange part is that with a sim-card from another everything works OK. So you might think that it is a network problem. But i called my network and they say that there is no mechanism that quites connection after 40 seconds of idle time.
    The more strange is that with an HTC Touch everything works very well (including push-mail).
    So i think there might be a problem with the combination of my T-mobile (NL) network, a Nokia e50 and Mail-For-Echange.
    Mail for Exchange + Nokia e50 + KPN => Works
    Mail for Exchange + Nokia e50 + T-Mobile => Doesn't Work
    Mail for Exchange + Nokia e65 + T-Mobile => Doesn't Work
    Mail for Exchange + Nokia e65 + KPN => Works
    ActiveSync + HTC Touch + T-Mobile => Works
    Somebody got a clue on this situation?

    After turning on "Use secure connection" (after installing the whole certificate chain), it seems to work: my gprs is on for 50 minutes now....
    Me very happy

  • Firefox history, login sessions gets deleted after system shutdown

    I have synced my browser with my gmail account. After browsing and closing/restarting the system, the Firefox starts with only the bookmarks, form history from the sync account and forgets everything I have done currently.
    -> Done creating a new profile
    -> Downgrading/Reinstalling the browser
    -> Removing any antivirus that may cause history delete
    -> Syncing n number of times
    Still it doesn't take any new history after shutdown.
    What may be the solution?

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/
    You can check the settings for "Clear history when Firefox closes".
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.

  • Sessions getting created after tablespace is offline

    Hi all
    I am facing a situation where if I make SYSAUX tablespace offline, still session count keeps on increasing.
    Is that something expected?
    Thanks

    Thank you for your help.
    These are steps that can be done to reproduce the issue in Enterprise Edition
    SQL> select username,count(*) from v$session group by username;
    USERNAME COUNT(*)
    19
    SYSMAN 35
    DBSNMP 3
    SYS 1
    SQL> alter tablespace MGMT_TABLESPACE offline;
    Tablespace altered.
    Wait for some time
    Re run the query..
    SQL> select username,count(*) from v$session group by username;
    USERNAME COUNT(*)
    19
    SYSMAN 66
    DBSNMP 3
    SYS 1
    Hope it makes the issue clear.
    Thank you for your help.

  • Anyone have a problem sending text messages being delivered after few minutes up to five minutes?

    Has anyone have a problem sending text messages and the messages won't get delivered after few minutes? From time to time I would have this problem and it's annoying.  I would expect someone to receive it by then and response to my text right away.  But when I look up the text it hasn't been delivered and it's in the process.  I would hear that the message get delivered after few minutes? What gives? I never had a problem with my iphone 4 i think? Now with iOS 5 it let's me know whether it is delivered or not.  This new feature is awesome but disappointing when I know my text hasn't been delivered right away.  I'm not sure if it's the software or my iphone 4s or my carrier? anyone suggestions?  Thanks!!

    I have the same problem when sending iMessages.. Wasnt sure if it was apple or Sprint? But it happens VERY often and I end up having to send it as a text message instead

  • Why my iPad get hot after 30min use?

    Why my iPad get hot after 30min use?

    The iPad should not get hot after 30 minutes of use. The new iPad will get warmer that the other two iPads did, but it should never get hot.
    If you are playing a HD graphic intense game or watching a HD movie it will get warmer than it does when you are just surfing the web or doing basic functions in word processing apps, or writing emails a but it should still never get hot.
    Is your iPad brand new or has this been going on for a while?

  • Getting error after when trying to print managed session bean property.

    Hi All,
    I am reading a file from my local machine. After reading a file , i am storing file details in the property of the same bean.
    After that i am trying to preint contents of that file in one jsp by accessing that stored managed bean property.
    But I am getting following error:
    Nov 15, 2009 2:33:41 PM com.sun.faces.lifecycle.LifecycleImpl phase
    WARNING: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@138c63) threw exception
    javax.faces.FacesException
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:135)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Unknown Source)
    Caused by: ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error
         at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:319)
         at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
         at org.apache.catalina.connector.Response.flushBuffer(Response.java:548)
         at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:201)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         ... 15 more
    Caused by: java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(Unknown Source)
         at java.net.SocketOutputStream.write(Unknown Source)
         at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:740)
         at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
         at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
         at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:973)
         at org.apache.coyote.Response.action(Response.java:183)
         at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)
         ... 20 more
    Nov 15, 2009 2:33:41 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(Unknown Source)
         at java.net.SocketOutputStream.write(Unknown Source)
         at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:740)
         at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
         at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
         at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:973)
         at org.apache.coyote.Response.action(Response.java:183)
         at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)
         at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
         at org.apache.catalina.connector.Response.flushBuffer(Response.java:548)
         at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:201)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Unknown Source)There is no specific reason mentioned for this error. Anyone has faced this problem before?
    Whats wrong here?

    Hi gimbal2,
    I haven't deployed the project yet. I am still in development phase. I am using eclipse. So i am using inbuilt browser from eclipse only.
    I saw this post on the same forum:
    http://forums.sun.com/thread.jspa?threadID=5297862
    This person had the same problem. But his question is not answered yet.
    People here are saying:
    *1)page is getting submitted more than once. Either because the user is clicking on the commandbuttons/links multiple times or through some other event.*
    ->I am not using any javascript. But problem here is whenever i try to load file from my local machine, in first attempt it wont proceed. I need to load file twice or thrice. Is it some problem?
    But one thing to note here is that i am not getting exception after loading the file. I am getting exception after reading the file in managed bean and returning from it with some status.
    *2)This exception can be caused by the browser closing its end of the socket for any number of reasons (user presses stop loading button, clicks another link, closes the browser window, etc.):*
    ->I am not pressing any button or doing any activity once i load the file.
    *3)Sounds like it should be caught and ignored since these are normal user actions. I was just concerned it might be causing some kind of impact that we don't know about.*
    ->I can't ignore it because, my next JSP is not getting loaded after i return from the read file bean.
    Hope People here can help me solve this problem. I am not able to proceed :(

  • Portal Session Expiration after 10 minutes.

    Hello Experts,
    We are running on EP 7.0 ABAP+JAVA stack.The UME has been configured on ABAP stack.
    We have a requirement to auto logoff the portal if no activity is done for 10 minutes.
    I have gone through SAP Notes and came to know this is not possible in current portal framework. In some threads I got clue to set some parameters for SSO expiration and Security session expiration but that did not gave desired result.
    I have set the security session to 10minutes in Visual administrator.(default 27h) [Security Provider -> SessionExpirationPeriod ]but nothing happened I am still in portal session after 10 minutes.
    I made the change in -> /usr/sap/<SID>/<inst>/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/web.xml
    And change the session time out to 10 minutes. But same result nothing happened.
    Please guide what settings I am missing. What else I have to do to get the session expire.
    thanks & regards
    shankar

    Hi,
    Check this:
    Redirect user to a custom "logoff" page after 10 minutes of user inactivity
    To set Logon Tickets Validity Period:
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/18b6cfe1235d79e10000000a11466f/frameset.htm
    Regards,
    Praveen Gudapati

  • I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar b

    I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar back?

    Hi Magsrobby,
    Welcome to the forum and thanks for posting. I'm really sorry to hear you've had so many problems. I can look into this for you if you wish. Drop me an email with the details. You'll find the "contact us" form in the about me section of my profile. Once I have the details we'll take it from there.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • I get "an error has occurred in the script on this page" it comes up for no reason on Firefox and I can't remove the message, it then goes away on it's own after 3 minutes? how do I prevent this message coming up? I have Windows 7.

    I get "an error has occurred in the script on this page" it comes up for no reason on Firefox and I can't remove the message, it then goes away on it's own after 3 minutes? how do I prevent this message coming up? I have Windows 7.
    I can work the screen behind the message which stays in the centre of my screen.

    Windows version is...?
    What pages are giving you problems? [post links to same]
    Are you getting the script errors only when attempting to print or...?
    Has your printer's manufacturer confirmed that your currently installed printer software is IE11-compatible (yet)?
    ~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft

  • The screen of my mac gets black, while the same the youtube works normally and the buttons maintain the blue color. What should I do?? It gets over after 5 to ten minutes and I only have it 2 weeks..

    The screen of my mac gets black, while the same the youtube works normally and the buttons maintain the blue color. What should I do?? It gets over after 5 to ten minutes and I only have it 2 weeks..

    Welcome to Apple Support Communities
    As this may be a hardware problem, make a backup of your files onto an external drive with Time Machine (if you have important files) and take the Mac to an Apple Store or reseller, or contact with Apple > http://support.apple.com/kb/HE57 You will get your Mac replaced or repaired for free.

  • Every time I try to go to any web-site I get an error msg that Firefox wont open up but after a minute or two it opens after all ?

    Lets say I click on G-mail on my desktop shortcut. After a couple of seconds I get a box in middle of screen that says Firefox cant find that web site. Then the site will open up after a minute or so ???????????????

    Try:
    *http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox

Maybe you are looking for

  • Media Encoder CS4 doesn't work with Premiere (pic related)

    Oh hai! I just got Adobe Master Collection CS4 and my Media Encoder doesn't work with Premiere CS4. When I try to export the file, Encoder starts normally. Then I click "Start queue" and Encoder starts loading. Loading takes almost five minutes, whic

  • Can't make pdf

    First of all, is there a way to actually talk to a tech?  While I appreciate forums, this is a definite technical issue and it probably can't be solved on a forum.  This is a crummy way of doing customer service...throwing us in the forum and not hav

  • I have a problem with lion.  My MacBook pro froze and now I get a gray folder with a question mark.

    I recently upgraded to lion but my screen just froze. I had to shut it down by holding the power button down. Every time I tried to start it again I got a grey folder with a question mark and couldn't do a thing. I' ve been told to restore snow leopa

  • Listening (or not) to music samples

    When I try to listen to a short sample of a song in the Music Store, I get no more than 3 or 4 seconds of music, song stops for buffering and I get another 4 second bit. And so on...never get the full sample. I use a dial-up connection and have had n

  • PO cancellation in SUS derives to.... ? :-)

    Hi guys, Quick question for SRM Gurus and SUS people =) - What happens when the vendor cancels a PO in SUS ? I would like to know if the "canceled items" appear again in order to create another PO. In case of affirmative, Is XI mandatory for SUS righ