I am trying to get a unix (solaris and linux) thread dump on a java application.
1) When the java application is a tomcat web application, using kill -3 , the dump goes to the catalina.out file, as this is standard output. kill -3 pid > td.out does not work.
2) For another spring standalone java application, how do I find the standard output for it. I have used: kill -3 pid, and I have checked in my application logs, and I cannot find anything.
Please advise how I can determine standard output for the java application and see the thread dump.
Thanks, B.