# add/change application config without reboot wowza

**URL:** https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222
**Category:** Wowza Streaming Engine
**Created:** [May 7, 2010, 12:00pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222 "2010-05-07T12:00:20Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Salvo\_Salvino](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Salvo\_Salvino](https://community.wowza.com/u/Salvo_Salvino)
#### Post date: [May 7, 2010, 12:00pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/1 "2010-05-07T12:00:20Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 7, 2010, 11:14am UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/2 "2010-05-07T11:14:45Z")

</div>

You can also use JConsole to restart an application.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 7, 2010, 4:48pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/3 "2010-05-07T16:48:30Z")

</div>

Yes, that is the way to do it.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [March 1, 2012, 2:22pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/4 "2012-03-01T14:22:47Z")

</div>

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

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [April 8, 2012, 2:31pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/5 "2012-04-08T14:31:43Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [March 21, 2013, 3:09pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/6 "2013-03-21T15:09:40Z")

</div>

You can re-start an application in [JConsole](https://www.wowza.com/docs/quick-start-guides#jmx)

> [@Graceful restart with a live stream running?](http://community.wowza.com/t/-/35416):
>
> I’ve read through the quickstart and the users manual but haven’t seen an answer to this. If I have one or more customers streaming live through my EC2 Wowza instance, and I make a change to the system config (to add another application, for example), is there any way to get Wowza to read the new config without doing a complete restart? Basically, doing the same function as the graceful restart that the Apache server offers? I’d really like to do my config updates without blowing live streams o…

Richard

---

<div class="post-metadata">

### Author: ![Alex\_Mow](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Alex\_Mow](https://community.wowza.com/u/Alex_Mow)
#### Post date: [March 1, 2012, 2:07am UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/7 "2012-03-01T02:07:23Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Salvo\_Salvino](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Salvo\_Salvino](https://community.wowza.com/u/Salvo_Salvino)
#### Post date: [May 7, 2010, 4:46pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/8 "2010-05-07T16:46:30Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Denis\_Denis](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@Denis\_Denis](https://community.wowza.com/u/Denis_Denis)
#### Post date: [April 8, 2012, 5:06pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/9 "2012-04-08T17:06:20Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Denis\_Denis](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@Denis\_Denis](https://community.wowza.com/u/Denis_Denis)
#### Post date: [April 8, 2012, 8:24pm UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/10 "2012-04-08T20:24:13Z")

</div>

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

---

<div class="post-metadata">

### Author: ![David\_Stanton](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@David\_Stanton](https://community.wowza.com/u/David_Stanton)
#### Post date: [March 21, 2013, 10:03am UTC](https://community.wowza.com/t/add-change-application-config-without-reboot-wowza/34222/11 "2013-03-21T10:03:48Z")

</div>

> 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.
