0 Replies Latest reply on Apr 6, 2006 6:58 AM by abhiejit

    Accessing Session Bean which is deployed in cluster from dif

    abhiejit Newbie


      Hi,
      If I need to access session bean from one web application which is deployed in jboss on different machine whereas the session bean is deployed in cluster then which URL provider I should use. My Jboss clustering is something like this
      node1 ip 176.16.1.202
      myejb.jar is deployed in farm
      node2 ip 176.16.1.205
      myejb.jar is deployed in farm

      Now my another web application which is deployed in jboss on different machine e.g. 176.16.1.210, Now ideally how my web application should make lookup to ejb deployed on ..202 and ..205 so that if any node goes down my web application will get the ejb home. I am using mod_jk as a load balancer. I can give URL provider for initial context as 176.16.1.202:1100 but what if 176.16.1.202 node fails or crashes.

      If anyone knows the solution please share with me.

      Thanks in advance.
      -Abhijit