We're updating the issue view to help you get more done. 

Clean shutdown of cargo-daemon-webapp

Description

See: https://groups.google.com/forum/#!topic/codehaus-cargo/vwCbv717V8M

Hello all - thanks for a great project. I noticed that when running the daemon webapp WAR in my local Tomcat 8 server (in Eclipse and also standalone), that the Tomcat server will not shutdown properly without being terminated. I added a few lines to the CargoDaemonServlet class for fun like this:

1 2 3 4 5 6 @Override public void destroy() { super.destroy(); scheduledExecutor.shutdown(); }

and now I get a clean shutdown. Maybe there is some other reason for this behavior? Just thought I would mention...thanks.

Scott

Status

Assignee

S. Ali Tokmen

Reporter

S. Ali Tokmen

Components

Fix versions

Affects versions

1.4.18

Priority

Major