all groups > macromedia flash flashcom > october 2007 >
You're in the

macromedia flash flashcom

group:

LoadOnStartup specific instance


LoadOnStartup specific instance karnal69
10/31/2007 12:00:00 AM
macromedia flash flashcom:
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,
Re: LoadOnStartup specific instance calmchess333
11/2/2007 1:29:55 PM
Re: LoadOnStartup specific instance karnal69
11/2/2007 1:58:58 PM
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:

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

(all on one line).

So when the server is restarted, FMS starts up automatically, then this file
is run and starts the specified instance!




AddThis Social Bookmark Button