Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: Graceful restart with a live stream running?

  1. #11
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    There are a couple of steps to enabling JMX:
    http://www.wowza.com/forums/content....tart-guide#jmx

    Richard

  2. #12
    Join Date
    Dec 2011
    Posts
    10

    Default Changed in Wowza 3?

    Has the behavior for Application shutdown been changed in Wowza 3?

    I'm testing Wowza 3.1.0 and after shutdown of an application through JMX, I observe that ongoing VOD RTMP streams continue playing while the Application is stopped. If I start playing a new stream (e.g. same content in other player), the application is started again.

    So it seems like you now have support for graceful restart of applications. Is my observation correct or do you have any other explanation to what I have observed.

    I could not find anything in the release notes about this.

    /Stefan
    Last edited by stefanc; 04-18-2012 at 08:28 AM.

  3. #13
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    The player is just playing out the stream buffer, I'm sure

    Richard

  4. #14
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    You have to change /conf/Server.xml /JMXRemoteConfiguration /Enable to "true", then restart Wowza

    http://www.wowza.com/forums/content....tart-guide#jmx

    Richard

  5. #15
    Join Date
    Dec 2011
    Posts
    10

    Default

    Thanks for your response.

    I updated my earlier post to state that I was testing VOD and not live. I am pulling files from the file system through the Media Cache.

    But I still see that after stopping the application, the player continues playing the file for at least 10 minutes without a problem, and it is pulling the content from Wowza and not from any local buffer. It seems like the stream just lives on in Wowza 3.1 although the application is dead. What am I missing?

    /Stefan

  6. #16
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    I just set that all up and tested, vod mediacache, then shutdown the application instance with JConsole like this:

    http://www.wowza.com/forums/showthre...ght=#post52138

    Then the player stopped right away.

    Richard

  7. #17
    Join Date
    Dec 2011
    Posts
    10

    Default

    Thanks,

    I tested again, and you are right, but the stream only stops if I execute "shutdownAppInstance".

    If I only execute "shutdown" (on full application), the application is killed, but the streams in the application instances continue playing (forever). And now I cannot stop them, since I don't see the application at all through JMX.

    I think that "shutdown" (on full application) should cause all app instances to be properly stopped.

    Any comments on this?

    /Stefan
    Last edited by stefanc; 04-19-2012 at 05:18 AM.

  8. #18
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    Stefan,

    The ApplicationInstance is the run-time, instantiated Application. Application.shutdownAppInstance(instanceName) is how to do what you want to do.

    Richard

  9. #19
    Join Date
    Apr 2013
    Posts
    7

    Default

    I attempted to use the shutdown as specified but the stream doesn't restart. How do I start the stream back? Basically I want to stop the stream if needed and restart it as needed.

  10. #20
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    You will have to provide much more info/detail as to what you are doing and what you want to accomplish.

    Richard

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •