Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2489 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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???

Posted

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. 

  

This topic is 2489 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.