This content has been marked as final.
Show 1 reply
-
1. Re: Retaining the option to cluster or not
brian.stansberry Jan 28, 2008 12:43 PM (in response to jusi)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.