Question
· Oct 10, 2021

Production is not auto starting while using container

Hi,

Production is not auto starting even by adding  <Production Name="myProd.Production" AutoStart="1"/> in installer.cls file:

Thanks

Product version: IRIS 2021.1
Discussion (4)1
Log in or sign up to continue

Hi,

That should work (as advertised) but if you want a workaround .... call a method instead, that implements the same thing:

...
    <Invoke Class="App.Installer" Method="SetAutoStartProduction"  CheckStatus="true" >
      <
Arg Value="${MyNamespace}" />
      <Arg Value="myProd.Production" />
    </Invoke>
....

- assuming 'MyNamespace' contains the namespace name you are setting up, as a variable (or hard code it).

Then include the method:

ClassMethod SetAutoStartProduction(myNamespace, prodClass) As %Status

   quit ##class(%EnsembleMgr).SetAutoStart(myNamespaceprodClass)
}

Steve