[jboss-user] [Clustering/JBoss] - rename cluster but need to annotate all sessession bean with

vulee do-not-reply at jboss.com
Wed Apr 11 14:36:35 EDT 2007


My jboss version is 4.0.3SP1
I renamed my cluster name to myDomainCluster and got runtime error indicating not able to find the partition while jboss was starting up.  

I fixed the problem by annotating all of my session beans with 
@Clustered (partition="myDomainCluster").  It worked well, but I don't want to hardcode the cluster name.

Is there an alternative way not to hardcode the cluster name?

I tried to get the cluster name from a property file and assigned it to the partition variable but I got the compiler error.

Any help would be appreciated.  Thanks

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

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



More information about the jboss-user mailing list