add/change application config without reboot wowza

Hi,

with version2, can i restart just an application if i change its config?

i noticed that if i add an application, i can start to use it without restarting…so the matter seems to be changing config.

with virtual host i can use jconsole to restart, but i want to use a single virtual host, so i can have more than a costumer on the same port (for example using 80 port i can bypass many FW protections)…

do you have some suggestion for my purpose?

thanks in advance!

You can also use JConsole to restart an application.

Richard

Yes, that is the way to do it.

Richard

You can wait 60 seconds of inactivity, then the application will unload. Next time you connect it will load with the new changes.

Richard

You can set properties dynamically but they are not written back to the Application.xml. The properties you set in that file are only read when the application is started.

Richard

You can re-start an application in JConsole

Richard

is there another way to apply changes in application.xml without restart anything? e.g. from the module?

thanks richard,

i noticed that in mbeans i can find the path wowzamediaserverpro/vhosts/defaultvhost/application/myappname/application/operations

there is a shutdown control. if i use it after changing application.xml, new connection will use the new configuration, and wowza does’nt drop old connections until their natural end.

is this the correct procedure for restart an application without reboot wowza? do you have other suggestions?

thanks a lot

Hi.

Is it possible to get new properties of the Application.xml without restarting wowza/application?

When my application is working I change some properties in Application.xml, but after WMSProperties props = appInstance.getProperties(); I get old properties.

Thanks

Oh, no, I’m going to set properties in Application.xml by another application which I have to write.

Now I can read properties from the Application.xml by Timer in my wowza plugin, but I can’t read new values of the properties which were changed not by WMSProperties, neither by IApplicationInstance - I haven’t found any useful functions for it in these objects.

So now I get new values of changed properties simply read Application.xml by DocumentBuilderFactory

Of course, it isn’t so conveniently as WMSProperties props = appInstance.getProperties(); but it workes.

Thanks

Yes, that is the way to do it.

Richard

To do this will delete all of the text in your application.xml file. Then when you sty to restart ther is nothing to restart. That is not the way to restart a app without restarting Wowza…tried it several times and did not work for me. just keeped deleting the text in the application.xml file.

Is there another way to restart a app without restarting Wawza. Or is there a way to load a smil file that is a file already made. if you creat a smil files in a text editor. Then try to load it it does not work using the livestudio feature.