RulNet Local Installation

In addition to using the public RulNet server, you can also install RulNet on your own server. You only need to locally install RulNet if you plan to connect to private databases, if you have sensitive data, or too big data for the public platform. The installation procedure is described below and is identical for Windows, Linux and Mac. RulNet requires GlassFish and MySQL:

    GlassFish installation
  • Download and install the GlassFish Server OS Edition 3.1.2.2 (Zip Full Platform) from http://glassfish.java.net/.
  • Download the JDBC driver for MySQL from http://dev.mysql.com/downloads/connector/j/. Copy the mysql-connector-java-xxx-bin.jar to ..\glassfish\domains\domain1\lib\.
  • Start the GlassFish server and load the admin console: http://localhost:4848/.
  • Modify the following parameters and do not omit to save:

  • LIRIS
  • Click on "Restart Required" and "Restart".

    • MySQL installation
  • Download MySQL Community Server from http://www.mysql.fr/downloads/mysql/.
  • Install MySQL with the Typical setup type.
  • Paste these two lines in the my.ini file:
    #Maximum size of the packets
    max_allowed_packet=100M

    • RulNet installation
  • Download the RulNet package and unzip it in a folder like C:\.
  • Create a system environnment variable "RulNet" containing the path of this folder (C:\RulNet\).
  • Connect to MySQL and launch the Database_script.sql file from the install folder.
  • Start the GlassFish server and load the admin console: http://localhost:4848/.
  • Add the resource file glassfish-resources.xml from the install folder and valid:

  • LIRIS
  • Deploy the application from the Applications menu / Deploy. Select the RulNet.war file from the install folder and valid.
  • Launch RulNet from the Applications Menu.
  •