Hello
I use a stateful session bean on jboss-3.2.0, and when I make trace on ejbActivate and ejbPassivate I obtain :
17:42:32,426 INFO [STDOUT] IlrStatefulRuleSessionEJB.ejbPassivate - ilog.rules.server.j2ee.IlrStatefulRuleSessionEJB@5b6f42
17:42:34,680 INFO [STDOUT] IlrStatefulRuleSessionEJB.ejbActivate - ilog.rules.server.j2ee.IlrStatefulRuleSessionEJB@5b6f42
17:42:34,810 INFO [STDOUT] IlrStatefulRuleSessionEJB.executeRules - ilog.rules.server.j2ee.IlrStatefulRuleSessionEJB@5b6f42
17:42:35,150 INFO [STDOUT] IlrStatefulRuleSessionEJB.ejbPassivate - ilog.rules.server.j2ee.IlrStatefulRuleSessionEJB@5b6f42
17:42:35,521 INFO [STDOUT] IlrStatefulRuleSessionEJB.ejbActivate - ilog.rules.server.j2ee.IlrStatefulRuleSessionEJB@5b6f42
I don't understand why the stateful is everytime passivate and activate. I try to change the configuration and change the attribute "max-bean-age" but no change. I also try to use "NoPassivationCachePolicy" for cache policy, but no change.
The cache policy is not use ?
I forget to say that I use stateful bean in cluster.
So I think that the passivate is for replication, but is it possible to change the policy. I don't want stateful replication, I want that a stateful stay in the node where it has been created.
It's possible ?