• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS Entity Beans killing performance

 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi-
I'm seeing a situation where in WSAD where retrieval of entity beans (some 600-700) is locking up WSAD for 20 minutes+ after the finds have finished. Is this some sort of background process e.g. ejbStore? How to modify this?
thanks,
max
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand most app servers can be set to not kick off ejbStore + ejbLoad so ofter...does anyone know where a WAS 4.0 configuration PDF might be?
thanks
 
Vinod Bijlani
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"some 600-700" whts tht?
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Max,
do a kill -3 on the app server to force it to do a thread dump (http://www.websphere-world.com/html/threaddump.html). Then look through the dump and find out what method your thread is working on. That's probably going to hone in on your problem.
There's no special post-processing that WebSphere does outside of what the EJB spec wants. I think you should be enlightened by what you see in the thread dump. If not, post the results here and we'll see what we can do.
Kyle
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kyle-
Thanks. The work being done is ejbStore which is running once per bean and taking FOREVER...(we are usign BMP which generates a SQL update)...we decided to use simple DAOs called from a session bean for large queries that return collections of beans and use entity beans for indiviual bean access.
ax
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good. You've found the problem, and you've arrived at the most common solution. That should help...
Kyle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic