next up previous
Next: User's guide Up: Implementation Previous: Safe configuration and its

Installation and configuration

This web application is provided in a WAR file so it is simple to deploy application to a server, but due to J2EE authentication used in project some preparations must be done to properly start the application. Also some properties must be set to meet user requirements.

  1. Create a MySQL database named 'authority'. You can use a provided script called 'realm.sql'. You should notice that allowed users are those from group 'systemadmin'.
  2. Specify allowed users adding them into the database table.
  3. Enable authentication based on the created database. You could also define users in the tomcat-users.xml file and use standard authentication but it is really dangerous.
  4. If you use mysql based authentication, then next thing is to copy mysql-connector-jar.jar into server/lib directory placed in tomcat directory (TOMCAT_HOME)

  5. Edit properties files to suit your needs (remember to create the backup directory and set privileges that tomcat server can use this directory to store backups, also remember to set properly configuration file)

  6. After that you can deploy the application to the tomcat server.


next up previous
Next: User's guide Up: Implementation Previous: Safe configuration and its
Wiktor Kolodziej 2006-01-12