Skip to main content
Known Participant
July 7, 2008
Question

using a network folder for hosting flvs instead of _definst_

  • July 7, 2008
  • 4 replies
  • 908 views
How can I set up FMS to look at a network shared folder that has the flv files in it instead of using the _definst_ folder in the streams folder? I was reading through this post, http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=578&threadid=1343625&enterthread=y but I wasn't able to make sense of exactly what I needed to do. Thanks.
    This topic has been closed for replies.

    4 replies

    vtxr1300Author
    Known Participant
    August 20, 2008
    It's kind of strange. I don't have any logs later than 8/7/08 yet we've viewed videos from FMS just yesterday. In the existing logs they all just contain a number of entries that say Unloaded application instance Videos/_definst_
    vtxr1300Author
    Known Participant
    August 19, 2008
    Sorry for the delay. We found the 1st problem but so far have not figured out why the service stops and has to manually be restarted. There is no load on the server at this point. The site isn't live yet so it just has an occasional test video playing. Where do I find the logs?
    Participating Frequently
    August 19, 2008
    The default install location is C:\program files\adobe\flash media server XX\ and inside it can be found the logs directory.
    vtxr1300Author
    Known Participant
    August 6, 2008
    All of a sudden this has stopped working and we haven't made any changes. If we copy the files to the _definst_ folder it works fine but the redirect doesn't work. Any ideas what we should check?

    Also, FMS service seems to intermitently shut off for no reason. Is this common and how do we stop that? Thanks.
    Adobe Employee
    August 6, 2008
    It might be something to do with user permission. Does it make any differences if you login as administrator and run FMS in console mode (i.e. fmsmaster -console) instead of running it as a service?
    Participating Frequently
    July 8, 2008
    If you are using FMS 3, then the following steps should be followed:

    Open <Installation Directory>/conf/_defaultRoot_/_DefaultVHost_/Vhost.xml

    Under the <StreamManager> tag edit the following tag with the path of the share location you want to access for the media files. The whole tag structure including <StreamManager> is like this

    <StreamManager>
    <VirtualDirectory>
    <!-- Specifies application specific virtual directory mapping for streams. -->
    <Streams>/;\\<share-path></Streams>
    </VirtualDirectory>
    </StreamManager>

    Editing this tag in VHost.xml will have the sharepath set for the entire Vhost (and hence for all applications on FMS). Instead, if you would like to have this applied to a specific application, then inside the application folder, make an application.xml with the above tag. This application will now fetch the flvs from the share location specified. Take a look at the sample live and vod applications’ application.xml for better clarity

    Once the changes are made, restart the FMS service.
    vtxr1300Author
    Known Participant
    July 8, 2008
    Thank you very much. That took care of it.