3 Replies Latest reply on Aug 21, 2013 2:01 AM by thomas.diesler

    JBoss OSGi clustering

    nreojb

      Hi,

       

      we are currently investigating the possibilities to run our osgi based web application in a clustered jboss environment. We need session failover/session replication to avoid loosing any web session in case of a cluster node failure. Since we have an osgi based application, we also need the osgi runtime state to be synchronized across nodes somehow. Is this implemented in JBossOSGI ? If not, are there other ways to achieve this ?

      We are currently using EAP 6.0 but might migrate to Wildfly or something else in the future.

       

      I would appreciate any information, resource or idea concerning this topic.

       

      Thanks in advance.

        • 1. Re: JBoss OSGi clustering
          thomas.diesler

          Configuration Admin state is backed by the domain management model. It is therefore subject to runtime state replication like other configuration items. Bundle deployments are treated like any other deployments. They are therefore also replicated. The framework start level is not replicated (yet).

          • 2. Re: JBoss OSGi clustering
            nreojb

            Thanks for your answer. Are objects registered in the osgi service registry replicated as well ? We are using the service registry to store application and session scoped data.

            • 3. Re: JBoss OSGi clustering
              thomas.diesler

              The OSGi layer does not do state replication additional to what is done at the WildFly layer. OSGi services are not replicated.