• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hey! Where are my thread dumps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hey! Where are my thread dumps?


  • Subject: Re: Hey! Where are my thread dumps?
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 6 Aug 2009 22:45:26 -0700


On Aug 6, 2009, at 10:19 PM, Lachlan Deck wrote:

On 07/08/2009, at 2:44 PM, Chuck Hill wrote:

Grumble. It used to be that you could edit SpawnOfWotaskd.sh, and then do a "kill -QUIT <pid>" on your application to get a thread dump. On Leopard Server, this does not seem to produce any output. It still works for applications running in Eclipse. I am not sure yet if this is a Client vs Server issue or a Development vs Deployment issue. At first I thought it was just one machine, but I have reproduced this on a different machine now. If I run the app from the command line, I can set the thread dump. That suggests the problem lies in wotaskd launched processes.

Monitor remote apps + grab thread dumps via visualvm (I think you need JDK 1.6)
https://visualvm.dev.java.net/docindex.html


Apparently works on all platforms:
http://www.adaptj.com/main/stacktrace

Yes, I know how to get a thread dump. There are many tools. The question is why the simple, basic kill -QUIT is not working for deployed apps on Leopard.



Chuck



Has anyone else noticed this? Any solutions? I know about jstack but, sigh, it is also defective on Leopard (or is that Apple's Java 1.5?) in that it can't print the correct thread names.

Seems strange.

with regards,
--

Lachlan Deck



-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Hey! Where are my thread dumps?
      • From: Anjo Krank <email@hidden>
References: 
 >Hey! Where are my thread dumps? (From: Chuck Hill <email@hidden>)
 >Re: Hey! Where are my thread dumps? (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Multiple EO classes inheriting from one abstract superclass?
  • Next by Date: Re: Hey! Where are my thread dumps?
  • Previous by thread: Re: Hey! Where are my thread dumps?
  • Next by thread: Re: Hey! Where are my thread dumps?
  • Index(es):
    • Date
    • Thread