This content has been marked as final.
Show 5 replies
-
1. Re: JBoss 4.2.2 Session Replication & Failover
zippy1 Sep 1, 2008 5:43 AM (in response to desmoquattro)Hi.. not sure if you still need an answer to this but you can customise how many nodes in the cluster the session data is replicated to by using the buddy replication configuration in the META-INF/jboss-service.xml file under the jboss-web-cluster.sar folder. Hope this helps.
-
2. Re: JBoss 4.2.2 Session Replication & Failover
erasmomarciano Sep 1, 2008 5:50 AM (in response to desmoquattro)I think that you need setting in web.xml
-
3. Re: JBoss 4.2.2 Session Replication & Failover
francis17101970 Sep 3, 2008 5:21 AM (in response to desmoquattro)if you're talking about HTTP session replication I can suggest you to take a look at jboss-web.xml file. The replication-trigger element determines what triggers a session replication.
<jboss-web> <replication-config> <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger> <replication-granularity>SESSION</replication-granularity> </replication-config> </jboss-web>
Hope it helps -
4. Re: JBoss 4.2.2 Session Replication & Failover
sabbirali Dec 12, 2008 7:05 AM (in response to desmoquattro)"francis17101970" wrote:
if you're talking about HTTP session replication I can suggest you to take a look at jboss-web.xml file. The replication-trigger element determines what triggers a session replication.<jboss-web> <replication-config> <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger> <replication-granularity>SESSION</replication-granularity> </replication-config> </jboss-web>
Hope it helps
can u give me location of jboss-web.xml file ??? -
5. Re: JBoss 4.2.2 Session Replication & Failover
jaikiran Dec 12, 2008 8:10 AM (in response to desmoquattro)The jboss-web.xml is located in the WEB-INF folder of the war. If your application does not have such file, then you can create one under the WEB-INF folder.