Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Session Timeout nach Tomcat Deployment
Session Timeout nach Tomcat Deployment [message #1836980] Wed, 20 January 2021 09:09 Go to next message
Eclipse UserFriend
Hallo zusammen,
Ich habe eine kleine Scout Anwendung erstellt und habe diese in einem Tomcat deployed der auf einem Windows Server läuft. Wenn ich nun die Anwendung aufrufe bekomme ich direkt ein Session-Timeout.
Wenn ich die gleiche Anwendung aus Eclipse über localhost starte fährt diese wie gewohnt hoch.
Könnt ihr mir hier weiterhelfen?

Vielen Dank schon einmal im Voraus und viele Grüße.
Re: Session Timeout nach Tomcat Deployment [message #1837057 is a reply to message #1836980] Thu, 21 January 2021 08:33 Go to previous message
Eclipse UserFriend
Is this an out-of-the-box Tomcat installation with the default configuration or are additional security modules or authenticators installed? Can the application be started, i.e. do you see the red "session terminated" message box or is it a raw Tomcat message?
Scout relies on standard J2EE HTTP sessions, and the cookie JSESSIONID is used to find the same session again for subrequent requests. If the session cannot be retrieved, your Scout client session cannot continue. Possible reasons: browser blocks cookie, firewall or proxy removes or rewrites HTTP header, load balancer doesn't use "sticky sessions". Just from your description, the actual reason is hard to infer. You should probably check the HTTP requests and responses in the browser's developer tools (F12). Or you could remote debug the Tomcat instance and add some break points (e.g. in UiServlet.handleRequestInternal() or JsonMessageRequestHandler.handlePost()).

Regards,
Beat
Previous Topic:Filter Lists in Columns
Next Topic:RESTful mit Eclipse Scout
Goto Forum:
  


Current Time: Wed Jul 16 20:31:25 EDT 2025

Powered by FUDForum. Page generated in 0.29752 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top