You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Bellski <h....@gmail.com> on 2014/12/29 12:58:30 UTC

Jetty Session timeout

Hello. How to set session timeout for jetty. Web.xml doesnt work.
Is it possible to configure jetty like org.ops4j.pax.web.session.timeout=720
?



--
View this message in context: http://karaf.922171.n3.nabble.com/Jetty-Session-timeout-tp4037460.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Jetty Session timeout

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,

just in case:
the session timeout is defined in minutes, not seconds.

If it still is an issue for you could you open a jira-issue[1] with a
sample project telling the expected behaviour?
Best case would be unit test that fails :-)

regards, Achim

[1] - https://ops4j1.jira.com/browse/PAXWEB

2014-12-29 14:31 GMT+01:00 Bellski <h....@gmail.com>:

> Achim Nierbeck wrote
> > yep, it's org.ops4j.pax.web.session.timeout
> > can also be found at the Pax Web documentation [1]
> >
> > regards, Achim
>
> As i right understoon. I created org.ops4j.pax.web.cfg in /karaf_home/etc/
> and put
> org.osgi.service.http.port=8080
> org.ops4j.pax.web.session.timeout=1
>
> Port working, session timeout - not.
>
> Karaf 3.0.2
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Jetty-Session-timeout-tp4037460p4037462.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: Jetty Session timeout

Posted by Bellski <h....@gmail.com>.
Achim Nierbeck wrote
> yep, it's org.ops4j.pax.web.session.timeout
> can also be found at the Pax Web documentation [1]
> 
> regards, Achim

As i right understoon. I created org.ops4j.pax.web.cfg in /karaf_home/etc/
and put 
org.osgi.service.http.port=8080
org.ops4j.pax.web.session.timeout=1

Port working, session timeout - not.

Karaf 3.0.2



--
View this message in context: http://karaf.922171.n3.nabble.com/Jetty-Session-timeout-tp4037460p4037462.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Jetty Session timeout

Posted by Achim Nierbeck <bc...@googlemail.com>.
yep, it's org.ops4j.pax.web.session.timeout
can also be found at the Pax Web documentation [1]

regards, Achim

[1] - https://ops4j1.jira.com/wiki/display/paxweb/Pax+Web

2014-12-29 12:58 GMT+01:00 Bellski <h....@gmail.com>:
>
> Hello. How to set session timeout for jetty. Web.xml doesnt work.
> Is it possible to configure jetty like
> org.ops4j.pax.web.session.timeout=720
> ?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Jetty-Session-timeout-tp4037460.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master