This content has been marked as final. Show 1 reply
You know the answer. ;-)
You need to use XML. Use system property substition to make it externally configurable:
Then, to turn off clustering for the 'default' config
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.