ERROR "Application (vod) is not defined." when creating new vhosts
I'm testing FMS 4.5 using the developer edition before upgrading our FMS 3.5 servers to 4.5 but for some reason creating new vhosts doesn't seem to work.
I'm following the exact same steps I would take using v3.5 but 4.5 gives this error:
Sep 29 03:34:24 eventstreaming Javascript[31564]: Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, vhost1.somedomain.com) : Application (vod) is not defined.
Here are the steps I've taken:
- Made a copy of folder _defaultVHost_/ named vhost1.somedomain.com/ ( inside conf/_defaultRoot_ )
- Made an exact copy of the default FMS4.5 applications/ folder at /home/vhost1/public_html/applications
- Edited vhost1.somedomain.com/vhost.xml and changed
<AppsDir>${VHOST.APPSDIR}</AppsDir>
TO
<AppsDir>/home/vhost1/public_html/applications</AppsDir> - Edited /home/vhost1/public_html/applications/vod/Application.xml and changed the path to the media files. i.e.
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>
TO
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;/home/vhost1/public_html/applications/vod/media</Streams> - Restarted FMS
The VOD application in the default FMS applications folder works fine but the one for the new vhost doesn't. When I try to connect to rtmp://vhost1.somedomain.com/vod/media/sample.flv I get the error
Sep 29 03:34:24 eventstreaming Javascript[31564]: Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, vhost1.somedomain.com) : Application (vod) is not defined.
No other errors are reported in the logs when I strart FMS. Why is the VOD application not working for new vhosts? Either I'm missing something obvious or the developer edition is restricted to one vhost perhaps?
