[jboss-user] [Clustering/JBoss] - Re: Retaining the option to cluster or not
bstansberry@jboss.com
do-not-reply at jboss.com
Mon Jan 28 12:43:05 EST 2008
You know the answer. ;-)
You need to use XML. Use system property substition to make it externally configurable:
| <clustered>${com.foo.clustered:true}</clustered>
|
Then, to turn off clustering for the 'default' config
./run.sh -Dcom.foo.clustered=false
If you use the annotation, the container will see it and try to add clustering behavior. In the absence of the needed support services this will fail the deployment.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124140#4124140
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124140
More information about the jboss-user
mailing list