users@glassfish.java.net

Re: RE: Calling EJBs on another cluster supporting balancing and failover

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Jun 2009 17:11:47 PDT

Thanks Martin. I've tried that too, but only the first jndi-name is used. Did you mean configuring the sun-web.xml like this:

<ejb-ref>
 <ejb-ref-name>fooejbref</ejb-ref-name>
 <jndi-name>corbaname:iiop:host2:3700#Foo</jndi-name>
 <jndi-name>corbaname:iiop:host3:3700#Foo</jndi-name>
 </ejb-ref>

The problem is that if host2 is down then the call to the remote EJB fails. I want to know if I have to perform all the steps described in: http://docs.sun.com/app/docs/doc/820-4341/fxxqs?a=view

Is this needed although the client application is deployed on a Glassfish cluster?
[Message sent by forum member 'mcapurro' (mcapurro)]

http://forums.java.net/jive/thread.jspa?messageID=349225