• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Response mismatch in cluster environment

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is problem in getting the response in cluster environment.

Working:

I have two ejb's BeanA and BeanB.

BeanA sends a request to BeanB and BeanB will talk to other server to get the data.

In this procoss. If there are multiple request the out put is not as desired.

BeanB is deployed in clusterd environment.

Do I have to set any cluster specific parameteres to get the response even.

Thanks.
 
Ranch Hand
Posts: 152
VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
alrighty

let's try to sort that one

you have a ClusterA with MS1 and MS2, being
the managed servers.

Your BeanA is invoked from a web-app or remote
client.

BeanA instantiates and invokes BeanB.

BeanB is targeted at ClusterA.

- Does BeanA use a cluster address, MS1 or MS2
address or just InitialContext() to get hold
of BeanB?

- When using WLS 7.x or earlier, walk down the
JNDI tree for BeanB and check if it says something
like ClusteredRemoteReference in the binding

- or is BeanB an EJBLocalObject?

I assume the BeanB instances are Stateless Session Beans.

What does BeanB do in order to create the response?
 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Am invoking the bean through web-client.

And Bean-A is using normal initialContext to lookup BeanB.

Actually Posted
----------------

What does BeanB do in order to create the response?

I did not get this question.

Actually BeanA calls BeanB where the BeanB takes the input and gives back the response to BeanA which furture gives that to client.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic