users@glassfish.java.net

Stateful EJB state replication on GlassFish cluster.

From: <forums_at_java.net>
Date: Thu, 10 Jan 2013 12:16:26 -0600 (CST)

There are 2 CentOS machines. There is a GlassFish cluster on them. Also there
are 2 HTTPDs configured with mod_jk as Load balancers for this cluster. And
there are keepalived pointing to these machines having single Virtual IP as
described in this tutorial
http://blogs.nologin.es/rickyepoderi/index.php?/archives/53-Simple-but-Full-Glassfish-HA-Using-Debian.html.
Everythings works great. A have created a web application with these xml
descriptors and deployed to cluster and set availability=true. So got session
replicated on instances. -- These xml are added to WEB-INF --
glassfish-web.xml <?xml version="1.0" encoding="UTF-8"?> Keep a copy of the
generated servlet class' java code. web.xml <?xml version="1.0"
encoding="UTF-8"?> 30 Question: How to achieve the Stateful EJB state
replication on this cluster? What settings should be done, for instance to
get the same counter value defined in Stateful EJB via web service? Thanx in
advance.

--
[Message sent by forum member 'bahadyr']
View Post: http://forums.java.net/node/893769