Skip to content

50) Server installation

Toub edited this page · 5 revisions

Table of Contents


ice-scrum configuraton file

Create a config file (e.g. /opt/icescrum/conf/ and add the following environment variable (e.g. in /etc/profiles): export icescrum_config_location=/opt/icescrum/conf/


configuration of postgreSQL 9.1

From root user, connect as postgres:

 su postgres

Create the icescrum user

 createuser -P icescrum

Answer the questions:

  • super admin=no
  • create database=yes
  • create roles=no
Create the database:
 createdb -O icescrum -E UTF8 icescrum

Now, configure the database settings in the configuration file (/opt/icescrum/conf/

  • driver:
  • hibernate dialect:
  • datasource url
  • username:
  • password:

Icescrum will now use PostgreSQL.

Last ice-scrum build deployment on Tomcat 7

Download the last development version of icescrum application, currently (30/10/2011) future R4:

 wget -P /var/lib/tomcat7/webapps

Start (or restart) tomcat:

 /etc/init.d/tomcat7 restart

Stop the server again:


The first deployment will crash due to the presence of servlet-api-2.3.jar, already provided by tomcat. Simply remove it:

 rm /var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/servlet-api-2.3.jar

Also remove the unused HSQLDB drivers:

 rm /var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/hsqldb-

Note that there are 2 mysql connectors in the current version: 5.1.5 and 5.1.17. This is probably a bug. Just remove the 5.1.5 version cause this driver is still required (crash on deployment else) :

 rm /var/lib/tomcat7/webapps/icescrum/WEB-INF/lib/mysql-connector-java-5.1.5.jar

Then, download the postgreSQL driver jar in WEB-INF/lib:

 wget -P /var/lib/tomcat7/webapps/icescrum/WEB-INF/lib

Give the rights to tomcat7 user to /usr/share/tomcat7 directory in order to avoid an error while trying to create a file (named .lbdsl) there:

 chown tomcat7:tomcat7 /usr/share/tomcat7

Increase the size of heap memory in /etc/init.d/tomcat7 (default: 128M):

 JAVA_OPTS="-Djava.awt.headless=true -Xmx1024M"

Finally, restart Tomcat:

 /etc/init.d/tomcat7 restart

Check the logs files in case of error:

  • /var/log/tomcat7/catalina.out
  • /var/log/tomcat7/icescrum.log
Something went wrong with that request. Please try again.