Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Session Timeout nach Tomcat Deployment
Session Timeout nach Tomcat Deployment [message #1836980] Wed, 20 January 2021 14:09 Go to next message
Christoph Quinten is currently offline Christoph QuintenFriend
Messages: 13
Registered: November 2020
Junior Member
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 13:33 Go to previous message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 205
Registered: November 2010
Senior Member
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: Thu Apr 25 07:21:43 GMT 2024

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

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

Back to the top