users@glassfish.java.net

Re: Stateful EJB state replication on GlassFish cluster.

From: <forums_at_java.net>
Date: Fri, 11 Jan 2013 19:57:28 -0600 (CST)

I did that, but it didn't work. state is not replicated even i put
--availability-enabled=true. steps to recreate issue Create EJB, add Stateful
Bean, add a counter variable. Add get getCounter() method to return this
counter value incremented by 1. Add a web service for this Stateful Bean.
deploy on cluster with --availability-enabled=true. Go to web browser, and
call this web service. At this point i get counter values of SFSB's on
instances but not the counter for the whole cluster.

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