• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Lookup Limitation per Context object

Pearlo Muthukumaran
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a multithreaded client for a particular Session Bean deployed on Pramati Server. In order to improve the performance, the server credentials are submitted and a single InitialContext object is obtained and within the run() method of the thread the Bean Lookup and method invocation are implemented with the above said InitialContext object.
Observations noted:
1. The responsetime within single thread is at acceptable level but deteriorates as more threads are invoked.
2. Only few threads execute completely the Lookup+Method invocation while the others die with exceptions
Steps taken:
1. Bean Free pool size was increased to be closer to the number of threads
No improvements in results
Do the app servers restrict the number of lookups per Context object? Or is there any other problem?
App Server : Pramati 3.0
OS : Win2K
Clustered : No
No. of threads invoked : 100
Thanks in advance
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic