availability: October 2010
For organizing our new project we were on the lookout for a light weight Agile Planning Tool. We came across a good list of Scrum Tools compiled by Boris Gloger and we finally selected TinyPM and like it so far.
mkdir tinypm-1.2 cd tinypm-1.2 unzip ../tinypm-1.2-tomcat5.5.zip
mysql -u youraccount -p
mysql> create database tinydb character set = 'utf8' COLLATE= 'utf8_general_ci'
mysql> grant select, update, insert, delete on tinydb.* to 'tinyuser'@'localhost' IDENTIFIED BY 'tinypassword';
mysql> FLUSH PRIVILEGES;
cd database/mysql mysql -u youraccount -p mysql> \u tinydb mysql> \. create_schema-1.2.sql mysql> \. create_data-1.2.sql cd ../..
%CATALINA_HOME%/webapps/tinypm/META-INF/context.xml
<Context> <Resource name="jdbc/tinypmDatasource" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="tinyuser" password="tinypassword" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/tinydb" testWhileIdle="true" validationQuery="SELECT 1;" /> </Context>Step 6: Copy the required jars to the tomcat directory
cd dependencies cp activation.jar mail.jar naming-factory-dbcp.jar %CATALINA_HOME%/lib
Download the MySQL Connector/J 5.1.x (the JDBC driver for MySQL Server) fro http://dev.mysql.com/downloads/connector/j
cp mysql-connector-java-5.1.7-bin.jar %CATALINA_HOME%/libStep 7: Remove jars from the war (to make it actually work)
error 1: all JSP pages would fail with a null pointer in the jspInit
the reason is that tinypm bundles the jsp-api.jar file and overrides the tomcat jsp-api.jar with that. So we have to remove the one in
$ find %CATALINA_HOME% -name jsp-api.jar
./apache-tomcat-6.0.18/webapps/tinypm/WEB-INF/lib/jsp-api.jar
./apache-tomcat-6.0.18/lib/jsp-api.jar
$ rm apache-tomcat-6.0.18/webapps/tinypm/WEB-INF/lib/jsp-api.jar
error 2: "java.lang.LinkageError: loader constraint violation"
$ find %CATALINA_HOME% -name el-api.jar
./apache-tomcat-6.0.18/webapps/tinypm/WEB-INF/lib/el-api.jar
./apache-tomcat-6.0.18/lib/el-api.jar
$ rm apache-tomcat-6.0.18/webapps/tinypm/WEB-INF/lib/el-api.jar
Step 8: (re-)Startup tomcat
%CATALINA_HOME%/bin/start.shStep 9: Install License