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 7616785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:58:31+00:00 2026-05-31T02:58:31+00:00

I have a GWT application running in Tomcat 6. The problem scenario is the

  • 0

I have a GWT application running in Tomcat 6. The problem scenario is the following:

  • People are using the application and for example a user B clicks through the application.
  • Now I do a restart of the application
  • If I do not open the start page of the GWT Application, then the whole web app is going crash as soon as the user B continues working in the application.

For now it would be sufficient if I can set a session timeout, which means that the user is being redirected to the start page after 30min (if he does not do anything in the application). The restart is currently happening only at 0300 for maintenance reasons.

Therefore I was wondering, if I can set session timeouts in Tomcat for GWT applications? In the web.xml the timeout is set to 30min but I think it is not really working with a GWT application.

  • 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-05-31T02:58:32+00:00Added an answer on May 31, 2026 at 2:58 am

    The GWT part of an application is just the client side, that doesn’t control sessions. To get the behavior you want (of timing out after 30 minutes of inactivity) create a servlet filter that on every request looks at the last request time in the session, if it has expired then creates a new unauthenticated session, if not expired then updates the session with the next timeout (or time+30 minutes). Then in your servlet code check for a authenticated session and if it isn’t valid then redirect to the login page.

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

Sidebar

Related Questions

I have a running Java GWT application, that I can compile using Eclipse. Now
I have a GWT application and wanna to test load and functionality using a
we are developing an web application using GWT 2.4, Errai 1.3.2. It is running
I am facing this error while running my GWT application. I have these jar
I have GWT application and I want to secure it using spring security. I
I have a massive GWT project with using of spring framework. It's running on
We have a web application written in gwt and deployed in tomcat. The tomcat
I have a GWT application for which I'm trying to write some tests using
I have an GWT/GXT application running on UTF-8 encoding.We would like it to support
I have a use case where my GWT application is running on a client

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.