[jboss-user] [EJB/JBoss] - Cluster and EJB through IIOP

viguera79 do-not-reply at jboss.com
Mon Jan 22 09:24:07 EST 2007


Hello everybody,
I have EJB's deployed on my jboss4.0.5GA. They are invoked by .Net client through IIOP. I'd like to have a cluster with two nodes. I'm trying to do it with the same client but it doesn't work.The client code to call the EJB is:
string nameserviceLoc = "corbaloc::" + server + ":" + nameServicePort + "/JBoss/Naming/root";			
NamingContext m_nameService = (NamingContext)RemotingServices.Connect(typeof(NamingContext), nameserviceLoc);

It only works if the jboss is running on the "server" machine. When I stop the jboss on "server" machine the client cannot communicate with the other node of the cluster. 
Can this configuration works? Is clustering incompatible with IIOP in .net client?
Thanks in advance and best regards.



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

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



More information about the jboss-user mailing list