Please feel free to submit an issue about this to the OSGi bug tracker [1].

- Ray
[1] https://osgi.org/bugzilla/

On Thu, Oct 4, 2018 at 11:40 AM Nhut Thai Le via osgi-dev <
osgi-dev@mail.osgi.org> wrote:

> Thank you for the link; unfortunately i'm using paxweb http service so
> that config property is not applicable. Not sure why the osgi spec does not
> cover session config, it should be part of the servlet context helper
> config IMHO
>
> Thai
>
> On Mon, Oct 1, 2018 at 3:59 PM Julian Sedding <jsedd...@gmail.com> wrote:
>
>> Hello Thai
>>
>> If you are using the Felix HTTP Service, the documentation has a
>> Configuration Properties section[0]. This describes that you can set a
>> property called "org.apache.felix.http.session.timeout". It is
>> documented as follows:
>>
>> """
>> Allows for the specification of the Session life time as a number of
>> minutes. This property serves the same purpose as the session-timeout
>> element in a Web Application descriptor. The default is "0" (zero) for
>> no timeout at all.
>> """
>>
>> I think that's what you may be looking for.
>>
>> Regards
>> Julian
>>
>> [0]
>> https://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#configuration-properties
>> On Wed, Sep 26, 2018 at 8:04 PM Nhut Thai Le via osgi-dev
>> <osgi-dev@mail.osgi.org> wrote:
>> >
>> > Hello,
>> >
>> > I'm replacing servlets, servlet filters registration in web.xml with
>> whiteboard DS, however, in my web.xml i have a section:
>> > <session-config>
>> > <session-timeout>1800</session-timeout>
>> > </session-config>
>> > which i dont know how to port to whiteboard. I didnt see any property
>> for session to be set on ServletContextHelper in osgi compendium 7 does
>> anyone have an idea?
>> >
>> > Thai
>> > _______________________________________________
>> > OSGi Developer Mail List
>> > osgi-dev@mail.osgi.org
>> > https://mail.osgi.org/mailman/listinfo/osgi-dev
>>
>
>
> --
> Castor Technologies Inc
> 460 rue St-Catherine St Ouest, Suite 613
> Montréal, Québec H3B-1A7
> (514) 360-7208 o
> (514) 798-2044 f
> n...@castortech.com
> www.castortech.com
>
> CONFIDENTIALITY NOTICE: The information contained in this e-mail is
> confidential and may be proprietary information intended only for the use
> of the individual or entity to whom it is addressed. If the reader of this
> message is not the intended recipient, you are hereby notified that any
> viewing, dissemination, distribution, disclosure, copy or use of the
> information contained in this e-mail message is strictly prohibited. If you
> have received and/or are viewing this e-mail in error, please immediately
> notify the sender by reply e-mail, and delete it from your system without
> reading, forwarding, copying or saving in any manner. Thank you.
> AVIS DE CONFIDENTIALITE: L’information contenue dans ce message est
> confidentiel, peut être protégé par le secret professionnel et est réservé
> à l'usage exclusif du destinataire. Toute autre personne est par les
> présentes avisée qu'il lui est strictement interdit de diffuser, distribuer
> ou reproduire ce message. Si vous avez reçu cette communication par erreur,
> veuillez la détruire immédiatement et en aviser l'expéditeur. Merci.
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev



-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to