Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9014631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:33:20+00:00 2026-06-16T03:33:20+00:00

We are experiencing issues with sudden logouts. It came with a version switch, previous

  • 0

We are experiencing issues with sudden logouts. It came with a version switch, previous application ran JSF 1.2 while this one runs JSF 2.1. Since this was a major refactoring any specific code changes are impossible to track. But a major update to code has taken place (all though mostly views and not beans).

We have control over every place were we invalidate sessions, they are logged and are not the cause.

We use a session-bean for authentication, it implements HttpSessionBindingListener.

We log valueUnbound and can tell that the logout was caused by end of life for the session. We are struggling to find the cause.

Tomcat 6.0.26 has been profiled and everything seems normal. This also occurs for small customers with little load.

<session-timeout>

Is appropriately set to 30 minutes.

    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>

Not sure this has any impact but they all use client.

We tried bypassing load balance but the problem still occurs.

How could randomly my session is null?

We tried the suggested flag, emptySessionPath but it didnt help.

Further we are not sure how to proceed with logging the request headers as suggested.

In our application I tried to kill the session-cookie for debugging reasons:

HttpServletResponse response = (HttpServletResponse) getFacesContext().getExternalContext().getResponse();
Map<String, Object> cookies = getFacesContext().getExternalContext().getRequestCookieMap();
Cookie cookie = (Cookie) cookies.get("JSESSIONID");
cookie.setValue("");
cookie.setPath("/");
cookie.setMaxAge(0);
response.addCookie(cookie);

Seems like it’s either not destroyed or recreated. I also tried delete cookies in the browser while logged in, still no problem.

Would appreciate some concrete tips on how to debug this further? Basically now all we know is valueUnbound is called all of the sudden.

Tomcat 6.0.26

JSF 2.1.10

Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:33:21+00:00Added an answer on June 16, 2026 at 3:33 am

    Was embarrassingly enough one of the Filters after all. I guess that’s what can happen when everyone assumes everyone else checked something

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am experiencing this problem with Node.js express framework 3.0: https://github.com/visionmedia/express/issues/1187 I've been using
I'm trying to debug some Redis issues I am experiencing and came by some
I'm experiencing issues with both this dialog and another Activity - where it's an
I'm experiencing some issues with application freezes. It looks like it has something to
have you had or known of anyone experiencing issues recently (this week) with creating
I'm experiencing some issues with rewriting my blocking socket server to a non-blocking version.
I have my site up and running but experiencing rendering issues in MS IE8
Some reasons i am experiencing this issue on my website. When the website loads
I'm currently looking at custom developed Web App Solution that is experiencing performance issues
After experiencing some performances issues on my client side, we decided to give a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.