Skip to main content
Kristian Wright
Known Participant
October 31, 2007
Question

LoadOnStartup specific instance

  • October 31, 2007
  • 1 reply
  • 1013 views
Is it possible to use the LoadOnStartup command in the application.xml file for a specific application and specify an instance name to start up instead of the _default_ instance?

Cheers,
K.
    This topic has been closed for replies.

    1 reply

    Inspiring
    November 2, 2007
    instead of defualt instance in you rtmp string put a forward slash / at the end of the string and name your instance rtmp:/path/swf/instance name
    Kristian Wright
    Known Participant
    November 2, 2007
    Thanks for that, but I was not using an rtmp call to start the instance - I was hoping that the <loadOnStartup></loadOnStartup> tag in the application.xml file would be able to start a specific instance, and not the default instance for that application. It doesn't take rmtp calls in this file.

    I did find a workaround without the need for changes to the application.xml file that works however (for those that might be interested):

    In the user.xml file, I added "reloadApp" to the list of allowed HTTPCommands, then restarted the FMS Admin service to commit this change.

    I then created a .cmd file to run on startup of the server with the following line:

    start "" /b "C:\Program Files\Internet Explorer\iexplore.exe" http://localhost:1111/admin/reloadApp?auser=administrator&apswd=password&appInst='myApplication/myInstance'"

    (all on one line).

    So when the server is restarted, FMS starts up automatically, then this file is run and starts the specified instance!
    Robert Mc Dowell
    Legend
    October 5, 2016

    question not answered since 2007?!!

    Anyhow, Adobe team, could you explain what is the interest to load an application on startup if we cannot choose which instance name must be loaded?