Hello There was a session timeout configuration problem fixed in https://github.com/ops4j/org.ops4j.pax.web/issues/1912 in Pax Web 8.0.25.
Karaf 4.4.6 uses Pax Web 8.0.27 and 4.4.5 uses 8.0.24. #1912 seems to be the only change that affects your application... Can you send more logs or a way to reproduce this issue? regards Grzegorz Grzybek wt., 30 kwi 2024 o 10:41 'Lukasz Lech' via OPS4J <ops4j@googlegroups.com> napisał(a): > Hello, > > > > I have problem after upgrade from Karaf 4.4.5 to Karaf 4.4.6. > > I have code that uses Session to store backend values. > > When I test locally (under Windows) Sessions are not working – they are > created, but very soon they are destroyed (after 1, max 2 minutes). > > (I have SessionListener that logs when session is destroyed). > > > > I have configured in org.ops4j.pax.web.cfg: > > org.ops4j.pax.web.session.timeout=15 > > > > and I have keepalive every 30 seconds. > > In the productive setup (Ubuntu-based docker image) there are no such > problems. > > > > I can remember session problems for a few years, where keepalive wasn’t > working, and also only it was only on Windows, but it wasn’t such severe > (now sessions seem to be timeouted almost immediately, which breaks the > whole app). > > > > Do you have any ideas, what can be causing such behavior? > > As workaround, I can use older Karaf for development… > > > > Best regards, > > Lukasz Lech > > > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - ops4j@googlegroups.com > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to ops4j+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ops4j/GV0P278MB01786777BAD4DB24F293825DF61A2%40GV0P278MB0178.CHEP278.PROD.OUTLOOK.COM > <https://groups.google.com/d/msgid/ops4j/GV0P278MB01786777BAD4DB24F293825DF61A2%40GV0P278MB0178.CHEP278.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer> > . > -- -- ------------------ OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAAdXmhqcQE7LvpbhC%2BRpESzit2CF-G1mLeQa1NOwefXH10GPsg%40mail.gmail.com.