• 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

Stack Overflow

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi my web application which consists of servlets and JSPs hangs at times. I doubt that it could be because of Stack Overflow problem.I want to use a testing tool to monitor my server's stack usage. Which tool should I use ? I'm using Apache tomcat server.
Thanks in advance
seema
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If it is stack overflow, you would get StackOverflowError. You could increase the stack size by using -oss on commnand line to validate this.
You could use kill -3 on unix environment to dump the java thread stack(this should be possible in other environments also and will be perfect to find this problem). This should show you where it is hanging. If you are using VAJava you can use debugger to suspend threads and see where threads are stuck.
reply
    Bookmark Topic Watch Topic
  • New Topic