Do you start such background threads in your app? Remember that is not according to the spec.
To answer your question a thread dump can be done by a kill -3 <pid> on a Unix system or the java tool jstack <pid> the pid can be found by using the jps command.
Windows you might use the task manager.
Thank you for Reply..
OS : Linux.
i am using this command to get the jboss pid 'ps aux| grep jboss'.
now i used kill -3 4207 and bin>jstack 4207.
but both are not printing any threads info into server.log
waht i have to do now?
please help me.
Thread dump are a Java feature and did not go into the server.log.
It's printed to the console yeah, sometimes difficult expecialy if you start with 2>&1 >/dev/null
If you use jstack <pid> the threaddump is printed to stdout or you can redirect it to a file.
Thanku for Reply.
please explain ' difficult expecialy if you start with 2>&1 >/dev/null '
i am not undrestanding this point.
If you start the server with standalone.sh 2>&1 >/dev/null that mean the output of STDERR (2) will got to STDOUT(1) and than STDOUT will go to the null device wich mean 'nowhere'.
So you are not able to catch it