[ https://forge.continuent.org/jira/browse/SEQUOIA-981?page=all ]
Robert Hodges resolved SEQUOIA-981:
-----------------------------------
Resolution: Fixed
Fix Version: (was: sequoia 2.10.11)
sequoia 2.10.10
Fixed by adding shutdown() method to PingResponder that terminates the run loop
and closes the datagram socket connection. The controller server thread
invokes this as part of its own shutdown procedure.
> Cannot restart an Embedded Sequoia Controller because the PingResponder
> thread is not shutdown.
> -----------------------------------------------------------------------------------------------
>
> Key: SEQUOIA-981
> URL: https://forge.continuent.org/jira/browse/SEQUOIA-981
> Project: Sequoia
> Type: Bug
> Components: Core, Configuration Files Parser
> Versions: Sequoia 2.10.9
> Environment: **Embedded Sequoia Controller**
> Derby 10.3.1.4
> JAVA 1.5.0_12
> Reporter: Nick Smith
> Assignee: Robert Hodges
> Fix For: sequoia 2.10.10
>
> Original Estimate: 3 hours
> Remaining: 3 hours
>
> The class org.continuent.sequoia.controller.core.ControllerServerThread
> creates an instance of
> org.continuent.sequoia.controller.core.PingResponder in it's constructor but
> fails to shutdown the PingResponder instance when the itself is shutdown.
> This (at least on Solaris 2.10) prevents a Controller being restarted within
> the same JVM because the UDP socket for the PingResponder is still open.
> Patching ControllerServerThread to cleanly shutdown the PingResponder in it's
> own shutdown method solves this issue.
> Regards,
> Nick Smith
> p.s. I'm happy to supply my patches if someone would be kind enough to give
> me a refresher course on how to make said patches.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia