-
1. Re: How to use session replication in domain mode and OSGi?
thomas.diesler Dec 21, 2012 4:15 AM (in response to cberger)Whether a webapp deployment is a bundle or not should be transparent. If this works for an ordinary war (i.e. without OSGi metadata) and does not work with the same deployment that has OSGi metadata added to it - we have a bug
-
2. Re: How to use session replication in domain mode and OSGi?
cberger Dec 21, 2012 7:55 AM (in response to thomas.diesler)Thomas Diesler wrote:
Whether a webapp deployment is a bundle or not should be transparent. If this works for an ordinary war (i.e. without OSGi metadata) and does not work with the same deployment that has OSGi metadata added to it - we have a bug
Maybe you misunderstood. I don't understand how to enable session replication from within a normal bundle. These bundles are not WABs, they are just plain osgi bundles with Servlets. So I do not have any kind of deployment descriptor like web.xml etc.
So should I add a web.xml just to provide the
<distributable/>
- flag and will this file even parsed without any Web-ContextPath-Header?Thanks in advance
Chris
-
3. Re: How to use session replication in domain mode and OSGi?
thomas.diesler Mar 12, 2013 3:42 AM (in response to cberger)Session replication is a concept from JavaEE, not from OSGi.
As I suggested above, I would try to get it to work without OSGi first (i.e. plain war, ejb3). If that works make your deployments OSGi bundles - it should continue to work.