• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

LoadOnStartup specific instance

Participant ,
Oct 31, 2007 Oct 31, 2007

Copy link to clipboard

Copied

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.

Views

855

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 02, 2007 Nov 02, 2007

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 02, 2007 Nov 02, 2007

Copy link to clipboard

Copied

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/myIn...

(all on one line).

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 05, 2016 Oct 05, 2016

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 12, 2016 Oct 12, 2016

Copy link to clipboard

Copied

No only the default instance(__definst__) is loaded if you try to trigger LoadOnStartup using config value in Applicaiton.xml.

Currently there is no way to specify instance name?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 12, 2016 Oct 12, 2016

Copy link to clipboard

Copied

LATEST

ok thanks it's good to know at least

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines