Quoting Peter Donald <[EMAIL PROTECTED]>:
> On Thu, 6 Sep 2001 22:15, Gabriel Bucher wrote:
> > Thanks Peter but it doesn't matter if you use the wait inside the
> > synchronized block or not! I tried both! No chance! Any other ideas...
> If I
> > use wait(1000), the process will finish.
> > I'm using at the moment winnt4 and jdk 1.3.1
>
> hmmm - may be something james specific then ... possibly there is a
> block
> that is starting a connection but not releasing it. Not sure will have a
> look.
I think it is not james specific. I tried it out with the avalon-demo.sar and
had the same effects!
What I have done, I started avalon with the avalon-demo application. No action
from me after startup and tried to shutdown avalon!
Infos from the log files.
phoenix.log:
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.ShutdownPhase>>
(): Destruction successful.
Thu Sep 06 15:39:20 CEST 2001 [INFO ] <<Phoenix.avalon-demo.ShutdownPhase>>
(): Ran Shutdown Phase for sockets.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.dag>> ():
Traversing reverse dependencies for connections.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.dag>> ():
Traversing helloworldserver as connections depends on it to act in role {1}.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.dag>> ():
Traversing demoblock as connections depends on it to act in role {1}.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.dag>> ():
Traversing httpproxyserver-Auditing as connections depends on it to act in role
{1}.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.dag>> ():
Traversing xcommander-server as connections depends on it to act in role {1}.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.dag>> ():
Traversing httpproxyserver-Filtering as connections depends on it to act in role
{1}.
Thu Sep 06 15:39:20 CEST 2001 [INFO ] <<Phoenix.avalon-demo.ShutdownPhase>>
(): Processing Block: connections.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.ShutdownPhase>>
(): Processing with classloader
org.apache.avalon.phoenix.components.frame.PolicyClassLoader@7eca64.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.ShutdownPhase>>
(): Pre-Disposable Stage.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<Phoenix.avalon-demo.ShutdownPhase>>
(): Object is:
org.apache.avalon.cornerstone.blocks.connection.DefaultConnectionManager@59fd51
avalon-demo.log:
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> ():
DefaultConnectionManager::dispose() called.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> (): Total connections to
depose: 5
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> (): Remove connection
[HelloWorldListener]
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> (): dispose
connection...
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> ():
Connection::dispose() called.
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> (): after
synchronized... Thread[default Worker #0,5,default]
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> (): before interrupting
thread...
Thu Sep 06 15:39:20 CEST 2001 [DEBUG ] <<connections>> (): before next
synchronized...
I added some more debug log statment in the connection class to get this output!
Buchi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]