|
Getting Started with Matilda
|
Configuration
Use the pipeline configuration file to configure individual plugins. conf/pipeline.xml is an example of a configuration file.
ModelLoader plugin configuration includes URL to the model location.
ModelExecuter plugin configuration includes arguments passed to the executable model.
Starting the Standalone Version
Matilda can run as a standalone application.
env.bat setups the environment variables and classpath. Before running Matilda, please run env.bat.
>java -classpath <classpath directory> edu.umb.cs.umlvm.core.VirtualMachine -c <path of the pipeline.xml>
Starting the Distributed Version
env.bat setups the environment variables and classpath. Before running Matilda, please run env.bat.
- Starting the rmi registry
Before starting a blackboard, make sure that the rmi registry are started.
The the RMI registry has to be started with this command :
>start rmiregistry
Now we are all set to start the distributed pipeline.
- Starting the BlackBoard
Blackbaord is a RMI server and it has to be started with the java security policy file and code base preoperty set as follows :
>java -Djava.security.policy=java.policy edu.umb.cs.umlvm.core.blackboard.BlackBoardImpl -b <blackboard name> -h <blackboard host>
If you do not specify blackboard host, 'localhost' is used.
- Starting the UMLVM as distributed pipeline
Now since the blackboard is up and running the virtual machine can be started as follows :
>java -Djava.security.policy=java.policy edu.umb.cs.umlvm.core.VirtualMachine -b <blackboard name> -c <path of the pipeline.xml>
|
|