karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-4685) Support session replication through OSGi 6 http whiteboard
Date Fri, 02 Sep 2016 08:02:21 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457864#comment-15457864
] 

Achim Nierbeck edited comment on KARAF-4685 at 9/2/16 8:01 AM:
---------------------------------------------------------------

This will require Pax-Web 6.0 as it's the version handling OSGi R6 Http-Whiteboard service.

So this will only be possible on a Karaf 4.1 not lower. 


was (Author: achim_nierbeck):
This will require Pax-Web 6.0 as it's the version handling OSGi R6 Http-Whiteboard service.


> Support session replication through OSGi 6 http whiteboard
> ----------------------------------------------------------
>
>                 Key: KARAF-4685
>                 URL: https://issues.apache.org/jira/browse/KARAF-4685
>             Project: Karaf
>          Issue Type: Improvement
>          Components: cellar-http
>            Reporter: Roland Hauser
>            Assignee: Jean-Baptiste Onofré
>
> Currently, session replication can only be done through specifying the Hazelcast filter/listener
in the web.xml file of a web-application. This can be a serious disadvantage if you also want
to install a web-application to another web-container which does not need clustering, and,
consequently, does not contain the Hazelcast libs. In this case, the application won't start.
> I suggest an additional way how session replication could be realized without the need
of modifying the web-app: it could be done through a Cellar component which implements a http
whiteboard. I would realize this as follows:
> - Register a Filter/Session listener to the OSGi service registry. Per default, every
web-application installed is considered for session replication.
> - It should be possible to configure Hazelcast filter properties either through a config
file inside the OSGI-INF folder of the web-app, or, through the ConfigAdmin service.
> - If the sessions of a specific web-application should not be replicated, then this could
be flagged either through a config file inside the OSGI-INF folder of the web-app, or, through
the ConfigAdmin service.
> - The new Cellar component should be installable as additional feature "http-failover"
> What's your opinion?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message