Re: Session timeout for webapps

2019-01-12 Thread Jacques Le Roux
Done, thanks Deepak Jacques Le 12/01/2019 à 07:24, Deepak Nigam a écrit : Hi Jacques, On double checking, I found that /applications/marketing/webapp/marketing/WEB-INF/web.xml and /applications/party/webapp/partymgr/WEB-INF/web.xml files have been missed. Apart from that, I think we need to

Re: Session timeout for webapps

2019-01-11 Thread Deepak Nigam
Hi Jacques, On double checking, I found that /applications/marketing/webapp/marketing/WEB-INF/web.xml and /applications/party/webapp/partymgr/WEB-INF/web.xml files have been missed. Apart from that, I think we need to work for web.xml of various plugins also. Thanks & Regards -- Deepak Nigam

Re: Session timeout for webapps

2019-01-11 Thread Jacques Le Roux
Hi Guys, Done, please double-check that I have not missed a web.xml files Thanks Jacques Le 11/01/2019 à 11:34, Jacques Le Roux a écrit : Thanks Guys, I'll do this afternoon using OFBIZ-6655 Jacques Le 11/01/2019 à 07:03, Deepak Nigam a écrit : Thanks, Jacques and Girish. Yes, it makes

Re: Session timeout for webapps

2019-01-11 Thread Jacques Le Roux
Thanks Guys, I'll do this afternoon using OFBIZ-6655 Jacques Le 11/01/2019 à 07:03, Deepak Nigam a écrit : Thanks, Jacques and Girish. Yes, it makes sense to get back to web.xml for the session timeout value. On Fri, Jan 11, 2019 at 11:13 AM Girish Vasmatkar <

Re: Session timeout for webapps

2019-01-10 Thread Deepak Nigam
Thanks, Jacques and Girish. Yes, it makes sense to get back to web.xml for the session timeout value. On Fri, Jan 11, 2019 at 11:13 AM Girish Vasmatkar < girish.vasmat...@hotwaxsystems.com> wrote: > Hi Jacques > > Yes, we should put back the session timeout declaration in web.xml. Given > the

Re: Session timeout for webapps

2019-01-10 Thread Girish Vasmatkar
Hi Jacques Yes, we should put back the session timeout declaration in web.xml. Given the fact that we can always mix web.xml and Annotation based configuration, it only makes sense to let web.xml decide the session timeout and even if we have the session listener (via web.xml declaration or

Re: Session timeout for webapps

2019-01-10 Thread Jacques Le Roux
Hi Deepak, Girish, I had a look at the issue. The specifications of Java Servlet Specification 3.0 don't include an annotation to change the session time out. https://www.baeldung.com/servlet-session-timeout

Re: Session timeout for webapps

2019-01-09 Thread Jacques Le Roux
Thanks Girish, I saw your message after sending about creating a Jira and asking for ideas. This sounds like the ideas I was looking for and I can foresee an implementation Jacques Le 09/01/2019 à 10:11, Girish Vasmatkar a écrit : Hi Deepak By the time sessionCreated is called in an

Re: Session timeout for webapps

2019-01-09 Thread Jacques Le Roux
Hi Deepak, I'll soon create a Jira and have a look at it. All ideas are welcome ;) Jacques Le 09/01/2019 à 09:16, Deepak Nigam a écrit : Thanks, Jacques. Apart from the hardcoded thing, I am not able to override the session timeout value using tag in web.xml. On Tue, Jan 8, 2019 at 1:55 PM

Re: Session timeout for webapps

2019-01-09 Thread Girish Vasmatkar
Hi Deepak By the time sessionCreated is called in an HttpSessionListener, the session has already been created. I am sure if you try to get the HttpSession from the HttpSessionEvent object, it will have what you defined in tag. But the code is overriding the timeout using setMaxInactiveInterval

Re: Session timeout for webapps

2019-01-09 Thread Deepak Nigam
Thanks, Jacques. Apart from the hardcoded thing, I am not able to override the session timeout value using tag in web.xml. On Tue, Jan 8, 2019 at 1:55 PM Jacques Le Roux wrote: > Hi Deepak, > > You are right, it's hardcoded and should not. I have no time to go further > at the moment, but

Re: Session timeout for webapps

2019-01-08 Thread Jacques Le Roux
Hi Deepak, You are right, it's hardcoded and should not. I have no time to go further at the moment, but I'll ASAP Thanks Jacques Le 08/01/2019 à 06:10, Deepak Nigam a écrit : Hello all, I tried to set the session timeout for the 'ecommerce' and the 'webtools' components using of web.xml,