You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Jim Alateras <ji...@intalio.com> on 2002/12/27 06:23:19 UTC

Phoenix occasionally hangs on ctrl-c

Occasionally when i ctrl-c my phoenix application it does not exit properly.
It prints a message indicating that the JVM is exiting but it never returns
to the command prompt. The only way to terminate the application is to kill
my window. I am running Phoenix 4.0.2 on my W2K box.

Anyone else seen this problem?

cheers
</jima>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Phoenix occasionally hangs on ctrl-c

Posted by Greg Steuck <gr...@nest.cx>.
    >> Occasionally when i ctrl-c my phoenix application it does not
    >> exit properly.  It prints a message indicating that the JVM is
    >> exiting but it never returns to the command prompt. The only way
    >> to terminate the application is to kill my window. I am running
    >> Phoenix 4.0.2 on my W2K box.  Anyone else seen this problem?

Jim, did you try to press ctrl-break at this point? Normally it prints
stack traces, but I'm not sure if this feature works during shutdown. It
may help you trace the problem if it really is what Ulrich suggested.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Phoenix occasionally hangs on ctrl-c

Posted by Ulrich Mayring <ul...@denic.de>.
Jim Alateras wrote:
> Occasionally when i ctrl-c my phoenix application it does not exit properly.
> It prints a message indicating that the JVM is exiting but it never returns
> to the command prompt. The only way to terminate the application is to kill
> my window. I am running Phoenix 4.0.2 on my W2K box.
> 
> Anyone else seen this problem?

Yes, this can happen, when one of your components doesn't release its 
resources. For example, maybe you have a block with a dispose() method 
and Phoenix hangs there. Or maybe you have some connection open and 
Phoenix/the JVM can't close it.

Ulrich




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>