January 19, 20187 yr This has long been an issue, I have no idea why it happens and it is making life quite difficult Win Server 2012 FMS 16 (current but this happens on other configurations) With ScriptMaster installed run a script which resets the server ( SMReset) and then loads jars and functions return to you the result of SMGetRegisteredModules and show it in a dialog box run another script on the server which just returns to you the result of SMGetRegisteredModules and show it in a dialog box dialog 1 SHOWS the modules you installed dialog 2 is EMPTY fmsadmin restart fmse do the above again, same result this means you can not do a test on the server to see if a particular function is loaded before you want to use it.... in fact there is no test you can do to see if the ScriptMaster has fallen over as far as I can tell. Any solutions???
January 22, 20187 yr Hi John, Instead of trying to see if a module has been registered already, best practice would be to reset with SMReset and then register any modules and jars that you need for that script. There is not really an increase in overhead with the approach and it ensures that the modules you need are registered with the server regardless if they have been previously.
Create an account or sign in to comment