I have a SLSB that I am deploying to all nodes in a cluster. The load-balancing works fine. This EJB depends on a license that is only available on certain nodes in the cluster. Is there a way to mark this bean as unavailable on the nodes that don't have the required license? I have tried throwing a CreateException and an EJBException in the ejbCreate() method, but that ends up propogating to the remote caller. I'd like the client to failover to another node until it finds a node that has a valid license. I've also tried throwing an EJBException in the EJBs constructor, but that has the same behavior as throwing it in ejbCreate().
According the EJB 2.1 specs, a RuntimeException (such as EJBException) thrown from any EJB method should cause the bean to enter state does not exist. Shouldn't the clustering automatically failover to another node if a bean does not exist on one node? Please help! Andy Nguyen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872067#3872067 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872067 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
