Installing tinyPM on Tomcat 5.5.xThese instructions will lead you through the process of installing tinyPM from WAR file that can be downloaded from http://www.tinypm.com/download in Tomcat 5.5.x as a web application. For Tomcat 5.5 use tinypm-2.x-tomcat5.5.zip distribution.
RequirementsTo install tinyPM you need to have the following software installed on your server: 1. Java Runtime Environment (JRE) 6.0 2. The latest version of Apache Tomcat 5.5.x 3. The latest version of MySQL 5.0.x 4. MySQL Connector/J 5.1.x (the JDBC driver for MySQL Server) which you need to put (or symlink) in %CATALINA_HOME%/common/lib directory along with other tinyPM dependencies
tinyPM Database Installation1. Create a new database for tinyPM in your MySQL: MySQL console CREATE DATABASE tinypmdb CHARACTER SET = 'utf8' COLLATE = 'utf8_general_ci'; 2. Create a user with SELECT, UPDATE, INSERT, LOCK TABLES and DELETE rights: MySQL console GRANT SELECT, UPDATE, INSERT, LOCK TABLES, DELETE ON tinypmdb.* TO 'username'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES; 3. Run scripts creating tinyPM database schema and data (instructions provided here are for mysql console application): MySQL console \u tinypmdb \. %PATH_TO_INSTALL_FOLDER%/sql/mysql/create_schema-2.x.sql \. %PATH_TO_INSTALL_FOLDER%/sql/mysql/create_data-2.x.sql Tomcat 5.5.x Dependencies1. You need to put all jar files from 'dependency' directory and downloaded MySQL JDBC driver in (unless you have them already): %CATALINA_HOME%/common/lib
tinyPM Installation (as web application in Tomcat 5.5.x)
1. Stop your Tomcat server
2. Create your tinyPM directory in Tomcat webapps folder: %CATALINA_HOME%/webapps/tinypm 3. Unzip tinypm.war to your %CATALINA_HOME%/webapps/tinypm directory. 4. Modify tinyPM database configuration file and set your username and password (and databse name if you've chosen to use different name than tinypmdb). %CATALINA_HOME%/webapps/tinypm/WEB-INF/classes/hibernate.properties 5. Start your Tomcat server. 6. Point your browser to http://localhost:8080/tinypm and login as:
Congratulations! Your tinyPM is up and running! tinyPM License and SupportTo create new projects and users you will need to obtain a valid license at: The license should be installed using tinyPM settings page after logging into the system as an administrator. Mail Server SettingsBefore creating first users remember to setup your mail server settings in tinyPM (settings page). This way your users will receive e-mail notifications with their account details. TroubleshootingBy default tinyPM uses ERROR logging level to avoid flooding your log files. If you have problems with your tinyPM installation you can change logging level to a more verbose INFO level by editing Log4J settings in: %CATALINA_HOME%/webapps/tinypm/WEB-INF/classes/log4j.properties |