msgbartop
Various ramblings-on, mostly about Red5
msgbarbottom

23 Mar 09 Spring lifecycle and Red5

I just fixed a huge bug in Red5 (r3574) and I am shocked that no one noticed it (the bug) before I did. The problem occured when the server was shutdown via JVM exit or our shutdown scripts. The Spring destroy and DisposableBean hooks were not being executed as would be expected. I’m sure there were at least a few people who thought their apps were cleaning up properly via their “destroy-method” bean attributes, like I did. Below you will find my test application, should you want to test it yourself. Enjoy… 

Example project: r5_shutdown.zip

Tags: , , , ,



Reader's Comments

  1. |

    Great! can u tell us the bug’s JIRA issue URL?

  2. |

    HI,
    I still have this bug, even I have the latest trunk used. Is there something I should do?

  3. |

    @isxylands, there isnt a bug in Jira for this issue.

    @Hancook, did you try the attached application? It demonstrates the fix.

  4. |

    Well done article that. I’ll make sure to use it welisy.



Leave a Comment


Fatal error: Call to undefined function akismet_counter() in C:\xampp\htdocs\paulgregoireblog\wp-content\themes\googlechrome\footer.php on line 9