Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Created Sessions Scout 11(Each HttpRequest spawns its own Session)
Created Sessions Scout 11 [message #1842577] Thu, 24 June 2021 08:58 Go to next message
Jerome HolbeinFriend
Messages: 13
Registered: June 2020
Junior Member
Hi there,

We've been recently trying to upgrade from Scout 9 to Scout 11 (in two steps). And everything seems to work fine except that for some reason, every HttpRequest to the server seems to spawn its own session. This results in us having over 100 active sessions after a simple login.
Any idea on how to tackle this issue? I wish I could give you a Stacktrace or something, but we get no errors.

Best regards,

Jérôme
Re: Created Sessions Scout 11 [message #1842677 is a reply to message #1842577] Mon, 28 June 2021 14:25 Go to previous messageGo to next message
Jerome HolbeinFriend
Messages: 13
Registered: June 2020
Junior Member
We were finally able to resolve the issue. It was a config error on our side. When inserting our server url into the backendUrl config property it resulted in a double slash in the url (host//server/process), which caused the problem. The fix was to remove the tailing slash in our host url. We hadn't actually changed these urls, so the resolvment must have changed between versions. Anyway, problem solved.
Re: Created Sessions Scout 11 [message #1842684 is a reply to message #1842677] Mon, 28 June 2021 16:52 Go to previous message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 201
Registered: November 2010
Senior Member
Hi Jeremoe

Thanks for the update. Glad to hear you were able to resolve the issue!

Unfortunately, unepxected behavior of HTTP sessions can have a multitude of possible causes, many of which are dependant on a particular setup (SSO, firewalls, reverse proxies etc.). It may help to know that Scout uses the standard servlet API, i.e. it lets the servlet container deal with the HTTP session handling. Good starting points for breakpoints are the generated *UiServletFilter class in your project or the methods in ServletFilterHelper.

Regards,
Beat
Previous Topic:Does someone know how to add a custom to logger MDC
Next Topic:Eclipse Scout - HelloScout error
Goto Forum:
  


Current Time: Sat Mar 02 04:52:26 GMT 2024

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

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

Back to the top