Dain, first thanks for the great info :). Second where I can find more
detailed docs about such tools ?

On Mon, Nov 10, 2008 at 11:22 PM, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
> BTW &#92; will give you a backslash in confluence.
>
> -dain
>
> On Nov 10, 2008, at 11:07 AM, David Blevins wrote:
>
>> Good info!  Put it up here:
>>  http://cwiki.apache.org/OPENEJB/thread-dumps.html
>>
>> -David
>>
>> On Nov 10, 2008, at 9:06 AM, Dain Sundstrom wrote:
>>
>>> Java 5 tools
>>> ------------
>>> This should work on any Java 5 or newer platform.
>>>
>>> $ jps
>>> 3392 Jps
>>> 3387 JConsole
>>>
>>> $ jstack 3387
>>> Attaching to process ID 3387, please wait...
>>> Debugger attached successfully.
>>> Client compiler detected.
>>> JVM version is 1.5.0_16-133
>>> Thread [EMAIL PROTECTED]: (state = BLOCKED)
>>> - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
>>> - javax.swing.TimerQueue.run() @bci=14, line=236 (Interpreted frame)
>>> - java.lang.Thread.run() @bci=11, line=613 (Interpreted frame)
>>>
>>>
>>> OS signals
>>> ----------
>>> In the case of an OS signal the thread dump is printed to the console
>>> window that started the java process.  If you use javaw to start the process
>>> the dump is lost.
>>>
>>> On Windows, typing ctrl-break in the console window that started the Java
>>> process.
>>> On Unix, the command kill -QUIT <pid> or typing ctrl-\ in the console
>>> window that started the Java process.
>>>
>>> -dain
>>>
>>> On Nov 10, 2008, at 8:55 AM, Mohammad Nour El-Din wrote:
>>>
>>>> Good question ;).
>>>>
>>>> On Mon, Nov 10, 2008 at 6:48 PM, Alex Grönholm
>>>> <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>> Dain Sundstrom kirjoitti:
>>>>>>
>>>>>> If you do get it to hang, try to get a thread dump from the process.
>>>>>> Without a thread dump it is very hard to fix this bug.
>>>>>>
>>>>> Even at the risk of sounding like a n00b, I must ask: how do I do that?
>>>>>>
>>>>>> -dain
>>>>>>
>>>>>> On Nov 10, 2008, at 12:33 AM, Mohammad Nour El-Din wrote:
>>>>>>
>>>>>>> Great :) I thought it is my mistake :).
>>>>>>>
>>>>>>> On Mon, Nov 10, 2008 at 7:42 AM, Alex Grönholm
>>>>>>> <[EMAIL PROTECTED]> wrote:
>>>>>>>>
>>>>>>>> Mohammad Nour El-Din kirjoitti:
>>>>>>>>>
>>>>>>>>> Sorry I am wrong the test class is
>>>>>>>>> org.apache.openejb.server.ejbd.ClientMulticastDiscoveryTest. BTW I
>>>>>>>>> am
>>>>>>>>> building from a brand new fresh src code.
>>>>>>>>>
>>>>>>>>> On Mon, Nov 10, 2008 at 2:31 AM, Mohammad Nour El-Din
>>>>>>>>> <[EMAIL PROTECTED]> wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hi All...
>>>>>>>>>>
>>>>>>>>>> I had fresh copy from svn and the build hangs on this test class.
>>>>>>>>>> My
>>>>>>>>>> environment is:
>>>>>>>>>>
>>>>>>>>>> OS: MS Windows XP SP2
>>>>>>>>>> -----
>>>>>>>>>>
>>>>>>>>>> Java :
>>>>>>>>>> --------
>>>>>>>>>> java version "1.5.0_16"
>>>>>>>>>> Java(TM) 2 Runtime Environment, Standard Edition (build
>>>>>>>>>> 1.5.0_16-b02)
>>>>>>>>>> Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Anyone can help ?
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> ----
>>>>>>>>>> Thanks
>>>>>>>>>> - Mohammad Nour
>>>>>>>>>> - LinkedIn: http://www.linkedin.com/in/mnour
>>>>>>>>>> ----
>>>>>>>>>> "Life is like riding a bicycle. To keep your balance you must keep
>>>>>>>>>> moving"
>>>>>>>>>> - Albert Einstein
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>> David should look into this particular test, since it seems to only
>>>>>>>> pass
>>>>>>>> randomly.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> ----
>>>>>>> Thanks
>>>>>>> - Mohammad Nour
>>>>>>> - LinkedIn: http://www.linkedin.com/in/mnour
>>>>>>> ----
>>>>>>> "Life is like riding a bicycle. To keep your balance you must keep
>>>>>>> moving"
>>>>>>> - Albert Einstein
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> ----
>>>> Thanks
>>>> - Mohammad Nour
>>>> - LinkedIn: http://www.linkedin.com/in/mnour
>>>> ----
>>>> "Life is like riding a bicycle. To keep your balance you must keep
>>>> moving"
>>>> - Albert Einstein
>>>
>>>
>>
>
>



-- 
----
Thanks
- Mohammad Nour
- LinkedIn: http://www.linkedin.com/in/mnour
----
"Life is like riding a bicycle. To keep your balance you must keep moving"
- Albert Einstein

Reply via email to