Hi all!
Will sincerely appreciate if anyone can help me with this:
I have a clustered installation of JBoss instances. ALL JBOSS INSTANCES ARE
EQUIVALENT in terms of deployed EJBs and their versions . The particular
invocation flow is as follows:
Remote Client
|
----> Stateful Session Bean
|
-----> Stateless Session Bean
Problem:
-------
The SFSB stub obtained by the remote client is smart - it does load
balancing and fault handling. However, the SLSB stub returned by the
"ic.lookup(...)" inside the SFSB is dumb! There is no load-balancing or
fault tolerance logic built into the stub. During runtime, I see that the
SFSB is on host-1 while the SLSB is on host-2 : therefore, the call from
SFSB to SLSB is definitely a REMOTE call. But, I dunno why I am not able to
get a smart stub to the SLSB inside the SFSB. The InitialContext on the
server side is created by setting the Context.PROVIDER_URL to
"host-1:1100,host-2:1100" (just as it is done on the remote client).
Please note that the load-balancing algos etc have all been properly defined
in jboss.xml. Remote calls to SLSB from stand-alone clients are able to get
the smart proxies!
Thanks in advance for any help!!
Regards,
Surajit
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user