Thanks all. I found the solutiong after a little googling. it is kill -3 pid which throws stack trace.
in solaris, to see, what all kind of kill signals a process can have is psig <process-id> will let you know. and just for information there are 42 different kind of signals ..:O).