how to restart single application from command line (linux)

Hello,

we are trying to automate our wowza servers particularly the modification of the origin server in the edge configuration

then we need to restart only the edge application …

I am succesful in modify the edge configuration “Application.xml” using sed -i looking for and replacing the line

but then from linux the only thing i can do is to restart the whole wowza server via /etc/init.d/WowzaStreamingEngine restart

Looked around for a method to restart only application and tried with JMXCommandLine.java but without much success on the Wowza V4

Is there any more recent documentation about JMXCommandLine that works on v4 ?

Thanks a lot


MediaLiveCasino Ltd

Hello there and welcome to the Wowza support forum.

Have you seen this guide? It has been updated on 10-31-14:

How to set up a command line interface to Wowza API

Kind regards,

Salvadore

Hi,

This means that the article itself (content) was updated on 10-31-14, the last comment was indeed much earlier.

Daren

Hemm … :rolleyes:

Note: This functionality is only supported in Wowza Media Server® 2 patch14 or greater.

there is also this:

https://www.wowza.com/docs/how-to-set-up-a-command-line-interface-to-wowza-api-to-start-stop-vhost-using-jmx

but in the last comments:

on 02-14-2014

For Wowza 4 there is a change: replace “WowzaMediaPro” with “WowzaStreamingEngine”.

Sorry, that guide is not updated yet, but will be soon.

Richard

no more updates since then …