« Back to University of Vienna - OMILAB

Stability of the Modelling Toolkit

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Stability of the Modelling Toolkit
university of vienna - omilab
Answer
1/18/18 7:27 AM
Dear ADOxx Team
 
In my modelling method, I want to send information to a ADOxx instance using the Web Service Interface. But sending the AdoScripts directly to the ADOxx instance, is unreliable and leads to regular crashes. Therefore, I want to use the LBRS and RAM building block, to stabilize the Web Service Interface. My question is: Should/Can I only use the LBRS/RAM building blocks or need I also the ADOxxWEB API building block? Further, I want to know how this building blocks are handled from the AutoPDP Tool Packaging Service? Will they be included in the installation process? If yes, how is the configuration of the ports and suchlike handled?
 
Thank you in advance.
 
Kind regards
Christian

RE: Stability of the Modelling Toolkit
Answer
2/6/18 3:36 PM as a reply to Christian Muck.
Hi Crhistian,

we have investigated your case and the problem on stability occur in the following circumstances:

a) ADOxx is running locally in service mode (e.g. service port is started in the Modelling Toolkit)
b) The AdoScript is sent to the service port and it performs UI based interactions (e.g. usage of "modeling" messageport).

In case the user of the Modelling Toolkit with open webservice port starts to interact with the tool at the same time, stability issues can occur. In order to prevent such situation please consider the following:

1) Make sure to operate on "core" messageport operations only when using the webservice. 
2) Perform the operation of the webservice in a way that user interaction is blocked (e.g. using MSGWIN) in case the model is open.
3) Check interaction logic

All these steps are requirements for using the LBRSWS which is wrapping across multiple ADOWS instances, running in server mode. This means that the ADOWS instance is available without any UI for interaction. The LBRWS provides a similar WS operation in order to interact with the service plus adds monitoring and restart capabilities.
To use the environment, you can only use LBRSWS and RAM. The ADOxxWEBAPI is an abstraction of AdoScript operation in Java, meaning that you do not need to write AdoScript code to interact with the platform but you can use Java instead. In addition you also have a UI for testing these operations interactively.

Regarding installation and packaging, the LBRSWS/RAM/ADOWS and also ADOxxWEBAPI building block is intended to be used on a server. Therefore we do not package it into the process but would propose to add it to the installation ZIP and provide guidance how to deploy on a local infrastructure.

Please find below details on the mentioned tools/implementations for your convinience:
a) ADOWS: https://www.adoxx.org/svn/devtools/2%20ADOxx%20Building%20Blocks/2%20ADOxxWEB%20API/ADOWS%2015/
b) RAM: https://www.adoxx.org/svn/devtools/2%20ADOxx%20Building%20Blocks/2%20ADOxxWEB%20API/RemoteADOWSMonitor/
c) LBRSWS: https://www.adoxx.org/svn/devtools/2%20ADOxx%20Building%20Blocks/2%20ADOxxWEB%20API/LBRSWS/
d) Java Client for LBRSWS: https://www.adoxx.org/svn/devtools/2%20ADOxx%20Building%20Blocks/9%20ADOxx%20Legacy%20clients/LBRSWSJAVAIntegration/
e) ADOxxWebAPI (make sure to get all dependencies for this one): https://www.adoxx.org/svn/devtools/2%20ADOxx%20Building%20Blocks/2%20ADOxxWEB%20API/ADOxxWeb%20API/

Hope this helps. Let me know if you need any further details!