This content has been marked as final.
Show 2 replies
-
1. Re: Overriding annotation partition name
brian.stansberry Jan 26, 2006 8:11 PM (in response to klbcolt)I've created a JIRA issue for this. See http://jira.jboss.com/jira/browse/EJBTHREE-424. Thanks for reporting it.
-
2. Re: Overriding annotation partition name
lizmstanley May 10, 2006 11:43 AM (in response to klbcolt)Actually I have a related issue, just wanted to comment in case anyone else is experiencing the same thing. I am not using the @Clustered annotation at all in order to avoid specifying app server specific information (such as partition name) inside the code. I'd rather put that in a deployment descriptor, so I tried including a jboss.xml with a partition called cluster1. Theoretically I should be able to use a combination of deployment descriptors and annotations. However even though the annotation is not there, it is still causing this error upon deployment:
javax.naming.NameNotFoundException: DefaultPartition not bound
When I put the annotation back in the bean,@Clustered (partition="cluster1")
then the deployment is successful.