• 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

Thread Handling in Websphere

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We ran into an issue a few days ago with one of our applications where a thread has been making the same call over and over again for almost 2 days now (yes, this part is a bug and we are fixing it ). The question that one of our developers has though is this. Shouldn't that thread have been handled by the Websphere container and eventually been garbage collected or atleast timed-out? I think to give you a better idea of what our application is, here is the design... We have an MDB running that pulls a message from a queue. The MDB then turns around and makes a call to a stateless session bean. The stateless session bean then makes calls to non-bean code in the same jvm to perform our business logic. The code in the business logic is where our infinite loop is occurring. So, besides the fact that we need to fix that code, can somebody explain where the thread handling lays and why this thread is allowed to continue on?
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Definitely need code samples to figure it out. Sounds like you need to debug more.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic