|
Table of Contents
|
Install instructions eHour.war on WindowseHour requires a Java JDK, the Apache Tomcat servlet container and a MySQL database to be installed. Although this may seem as a lot, installation is easy. When you are upgrading an existing installation of eHour, please see the upgrade instructions; do not follow the installation instructions again. Java 1.5+eHour is developed using Java technology so you'll need to install the Java runtime environment (version 1.5 or newer) first. Download and install the latest version from Sun's site MySQL 5+ installation and configurationFor now only MySQL is supported as the back-end database. If you don't have MySQL (version 5+) installed, download it from http://dev.mysql.com/downloads/mysql/5.0.html#win32. When you're not afraid of the DOS prompt downloading the Essentials package should be sufficient. However the plain setup (2nd link on the MySQL site) is the easiest to deal with. Install MySQL (version 5+) by downloading it from MySQL's site With MySQL downloaded, install it as follow:
Create databaseThe easiest way to create the eHour database is to install the MySQL query tool and click your way through everything.
Apache Tomcat 5.5 installation and configurationInstall TomcatApache Tomcat acts as the container server which runs the application. Install instructions for Tomcat can be found on their site Install the MySQL JDBC connectorNow that you have Tomcat installed you need to make it MySQL-aware by installing the MySQL JDBC connector. The JDBC connector can be fetched from [http://dev.mysql.com/downloads/connector/j/5.0.html]
Unpack the downloaded archive and copy the extracted mysql-connector-5.x.x-bin.jar file to Tomcat's common/lib (Tomcat 5) directory or the lib directory on Tomcat 6. Hook up eHour to TomcatFirst make sure that Tomcat isn't running. Navigate to the Tomcat's bin directory and run tomcat5w.exe to check the status. Edit this file in your favourite text-editor and replace the following fields:
When you're done editing save this file as ehour.xml in the conf/Catalina/localhost directory of your Tomcat install directory. When running Tomcat 6 create this directory first.
In the install directory of Tomcat create a directory named deploy From the eHour distribution copy the ehour-0.8.4.war into this directory. Start it all up !MySQL is probably already running, otherwise you wouldn't be able to install the database in a previous step. Start Tomcat by running tomcat5.exe in the bin directory of the Tomcat installation directory. After a couple of seconds Tomcat and eHour will be initialized and you can access the application at [http://localhost:8080/ehour/] |




Comments (3)
Feb 19
Anonymous says:
The query tool no longer exists, now the replacement tool is MySQL Workbench 5.2...The query tool no longer exists, now the replacement tool is MySQL Workbench 5.2.
Can you make instructions on how to locate and get access to fresh.mysql.sql ???
Kind Regards
Les
May 11
Anonymous says:
Hi, i followed the instructions and have the following message : "serveur start...Hi,
i followed the instructions and have the following message : "serveur startup in 1390 ms" in tomcat and "La ressource demandée (/ehour) n'est pas disponible." in my browser ?
Can someone help me on this ?
May 29
Anonymous says:
will i be able to install on my website? vs using a pc?will i be able to install on my website? vs using a pc?
Add Comment