Hi all,
I am running JBoss 3.2.5 and following the [for pay] docs (specifically JBossClustering_7x9.pdf) for how to set up HTTP session replication.
As the document states, you need to either use the 'all' configuration for JBoss, or ensure that 'jbossha-httpsession.sar' is in the deploy directory.
I have followed the instructions, and put the 'jbossha-httpsession.sar' into the deploy directory of my configuration, however, when I start up my JBoss instance, I get the following exception:
2004-07-23 20:19:18,805 ERROR [org.jboss.ejb.EntityContainer] Initialization failed jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB
org.jboss.deployment.DeploymentException: Failed to find DistributedState service: jboss:service=DistributedState,partitionName=DefaultPartition
at org.jboss.ejb.plugins.ClusterSyncEntityInstanceCache.create(ClusterSyncEntityInstanceCache.java:39)
at org.jboss.ejb.EntityContainer.createService(EntityContainer.java:292)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
...
Shouldn't this sar file automatically assume that it needs to deploy the DistributedState service? Can I just add the DistributedState MBean into my (or it's own) xml descriptor (eg: my jboss-service.xml) and add it to my deploy directory? Will that bork anything up? Or will it likely make my problem go away?
Thanks for any replies.