Hi Tit,
MediaCache.xml files should be VHost specific. If you have multiple VHosts, you can have a MediaCache.xml located in the individual VHost configuration path. When you set MediaCache to work at the VHost level, you should remove the ServerListener entry. Otherwise, it will load at both levels. You would then move the listener to the VHost.xml level as follows:
Server level MediaCache:
<ServerListeners>
<ServerListener>
<BaseClass>com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener</BaseClass>
</ServerListener>
</ServerListeners>
VHost level MediaCache:
<VHostListeners>
<VHostListener>
<BaseClass>com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener</BaseClass>
</VHostListener>
</VHostListeners>
Since you are configuring this on a VHost level, you should be able to restart only the VHost, instead of on the Server level. You can do so either through REST API or JMX.
Michelle