[jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste

bstansberry@jboss.com do-not-reply at jboss.com
Wed Oct 21 16:29:17 EDT 2009


You can experiment a bit to try to figure out what the problem attribute is. On your classpath you'd need to have jboss-ha-client.jar and jboss-ha-server-api.jar (found in $JBOSS_HOME/common/lib) as well as jboss-common-core.jar and jboss-logging-spi.jar (found in $JBOSS_HOME/lib).

Then, in pseudo-code:


  | import org.jbossha.framework.server.*;
  | .
  | Object toTest = ... whatever attribute value you want to test
  | 
  | SimpleCachableMarshelledValue mv = new SimpleCachableMarshalledValue(toTest);
  | mv.toByteArray(); // internally serializes toTest
  | mv.get(); // deserializes

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261600#4261600

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261600



More information about the jboss-user mailing list