• 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

WAS Entity Beans killing performance

 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"some 600-700" whts tht?
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good. You've found the problem, and you've arrived at the most common solution. That should help...
Kyle
 
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic