Hi,
I had used the below link to setup ServerListenerStartupStreamsMonitor to monitor content folder for stream files and start stream whenever new file is detected.
This setup used to work well with WMS 3.6.4.
But with Wowza Streaming Engine 4.0.0, the following error shows on server startup.
INFO server comment - ServerListenerStartupStreamsMonitor.onServerInit
INFO server comment - MediaCasterStreamValidator.init[live/definst]: Started
INFO server comment - ModuleCoreSecurity.onAppStart[live/definst]: Publish: AllowedEncoders: securityPublishValidEncoders:Wirecast/|FME/|FMLE/
INFO server comment - ModuleCoreSecurity.onAppStart[live/definst]: Publish: block duplicate stream names : false
INFO server comment - ModuleCoreSecurity.onAppStart[live/definst]: Play: SecureConnection: securityPlayRequireSecureConnection:false
INFO application app-start definst live/definst
INFO server comment - ServerListenerStartupStreamsMonitor: Add application instance: defaultVHost:live/definst
Error starting: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:346)
at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:40)
Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at com.wowza.wms.application.WMSProperties.getPropertyStr(WMSProperties.java:108)
at com.wowza.wms.serverlistener.ServerListenerStartupStreamsMonitor$StartupStreamsAppInstance.init(ServerListenerStartupStreamsMonitor.java:266)
at com.wowza.wms.serverlistener.ServerListenerStartupStreamsMonitor.onServerInit(ServerListenerStartupStreamsMonitor.java:840)
at com.wowza.wms.server.Server.l(Server.java:2947)
at com.wowza.wms.server.Server.start(Server.java:1003)
… 6 more
Urgent help needed as this is affecting our production.