This content has been marked as final.
Show 4 replies
-
1. Re: Failover working for JMS Client but not for Statless Ses
brian.stansberry Jul 10, 2008 6:23 PM (in response to bfach)You have to add
<clustered>true</clustered>
for each bean in jboss.xml. Or, if it's EJB3 you can add an @org.jboss.annotation.ejb3,Clustered annotation to the bean class. -
2. Re: Failover working for JMS Client but not for Statless Ses
bfach Jul 11, 2008 12:09 PM (in response to bfach)bstansberry,
Thanks for the help. It appears that adding the jboss.xml to the META-INF directory of the jar within the ear with the clustered attribute fixes the problem. I attempted the same with the annotation however failover did not work for this bean.
Any idea what could cause this?
Thanks! -
3. Re: Failover working for JMS Client but not for Statless Ses
brian.stansberry Jul 11, 2008 12:37 PM (in response to bfach)It was an EJB3 bean, right? Trying the annotation with an EJB2 bean is the only reason I know of why it wouldn't work when xml does.
-
4. Re: Failover working for JMS Client but not for Statless Ses
justkeys Sep 3, 2008 11:49 AM (in response to bfach)Perhaps you forgot your client should use the HA-jndi to lookup the bean = use port 1100, not 1099 in the Context.PROVIDER_URL property of the jndi context.