I have a Problem concerning clustering ejbs. Searching did not lead me to a 
result so I am asking in this Forum:

I was using the installer and chose the "all" config in the installer to 
install the AS.

Now I am trying to experiment a little bit with clustered beans and immediately 
had a problem which I think I did not have with previous releases + EJB3 .

When deploying it did not find LoadBalancePolicy:

[ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,name=info.seraphim.tests.stateful.CalculatorBean
java.lang.RuntimeException: java.lang.TypeNotPresentException: Type 
org.jboss.ha.framework.interfaces.LoadBalancePolicy not present

The code (Taken from the trail and slightly modified):

  | import javax.ejb.*;
  | import java.util.*;
  | import java.io.Serializable;
  | import org.jboss.annotation.ejb.Clustered;
  | 
  | 
  | @Stateful
  | @Clustered
  | @Remote(CalculatorRemote.class)
  | public class CalculatorBean implements Calculator, CalculatorRemote, 
Serializable {

I guess it has something to do with the ejb3 installer's version not beeing 
fully "cluster-ready". What should I do to get a "clustered" 4.0.3 wit ejb3 
support?

Thank you in advance!

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to