Resetting Engines from the Browser
The routine to invoke to reset engines created by the OEngineServer over the web is called O4W_MANAGEENGINES.
If this routine is invoked with the “LIST=1” parameter (which is the default setting), it will display a list of OEngines. The call can be made as follows:
http://www.mywebsite.com/virtual_directory/oecgi3.exe/O4W_MANAGEENGINES
To invoke ‘reset’ behaviors password parameters must be passed.
A ‘soft’ reset can be invoked with the following call:
http:www.mywebsite.com/virtual_directory/oecgi4.exe/O4W_MANAGEENGINES?PWD=<engineserverpassword
The default password is REVSOFT. This password can be modified in the eServer.cfg file found in your OpenInsight directory.
A ‘hard’ reset (which will even try to reset the OEngine that is currently running your request) can be invoked with the following call:
http:www.mywebsite.com/virtual_directory/oecgi4.exe/O4W_MANAGEENGINES?PWD=<engineserverpassword>&FORCE=1
If your O4W (or INET) basic+ routine needs to shut down its _own_ engine in the EngineServer, it can call the new RTI_KILLCURRENTOENGINE stored procedure. Simply pass in the engine server password (for example, CALL RTI_KILLCURRENTOENGINE(“REVSOFT”)) and the current OEngine will be discarded after processing rather than re-queued for further use.