How to deploy RISCOSS platform - RISCOSS/riscoss-corporate GitHub Wiki
RISCOSS Corporate is a web application. Therefore, you need to install a web server, e.g. Tomcat.
Please refer to http://tomcat.apache.org for installation instruction.
- Copy the war into the webapps directory of Tomcat
- Open the browser and connect to http://127.0.0.1:8080//
Once generated, the .war file can be deployed as is. However, there are some further settings that you may want to edit.
To run Bayesian networks:
- Download jsmile.dll from the JSmile website (Registration needed); you can choose the package that works for you (Linux, Windows or MacOS X)
- Manually copy the file "smile.jar" from /WEB-INF/classes to /WEB-INF/lib (need to understand how to do this at compilation time)
- Copy the native library (e.g., on Mac it is "libjsmile.jnilib", on Linux "libjsmile.so") in tomcat/shared/lib. If the directory does not exists, create it
- Modify the following lines with your path, and the add them to tomcat/bin/setenv.sh (if the file does not exists, create it); LD_LIBRARY_PATH=path/to/tomcat/shared/lib:$LD_LIBRARY_PATH JAVA_OPTS="-Djava.library.path=path/to/tomcat/shared/lib"
- Put the smile.jar that comes either with the Riscoss WAR or/and with the jsmile.dll, to the folder /webapps//WEB-INF/lib
- Restart Tomcat
By default the database is created in a folder inside . But, its location can be configured, editing the file RiscossWebApp\WEB-INF\web.xml with the following content: eu.riscoss.db.address plocal:/path/to/riscoss/db eu.riscoss.db.name riscoss-db-name