File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes Stack Overflow Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply Bookmark "Stack Overflow" Watch "Stack Overflow" New topic
Author

Stack Overflow

seema mani
Ranch Hand

Joined: Sep 30, 2001
Posts: 49
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


Sun Certified Java Programmer<br />Sun Certified Web Component Developer<br />Sun Certified Business Component Developer
Chandresh Patel
Greenhorn

Joined: Jul 05, 2002
Posts: 14
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.


Chandresh
 
 
subject: Stack Overflow
 
Threads others viewed
Two simpe methods calling each other not working as expected
Mystery StackOverflowError
stack overflow error
StackOverflowError
protected access when mixing references and objects
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture