You are installing on a Linux distribution that does not have X. Our Java installer needs X windows to run.
It is possible to install Web Time Entry manually without X Windows (and of course Tomcat does not need X to run) but it is NOT an easy task for Linux newbies.. So.. If you are up to it, here is what you need to do.
1- First you need to create a database for the application - then Run the SQL Create Tables script found within the ./Install/ folder on the database you just created (you may need to add a line 'use timeentry;' to the sql script file) Just run the correct script for the platform you are using. So...... MySql would be something like this:
$ mysqladmin -uroot create timeentry
$ mysql timeentry -uroot -e"GRANT ALL ON timeenty.* TO username@localhost IDENTIFIED BY 'password'
$ mysql < ./Install/CreateTables-MySQL.sql
2- Unzip Tomcat found in the zip file ../Install/Install.zip. Save the jakarta-tomcat-5.5.7 folder to someplace in your file system.
3- Edit file /jakarta-tomcat-5.5.7/webapps/ROOT/WEB-INF/ConfigFile1.xml in your favorite text editor. Review the file very closely. Change the <Dirver> tag if you are not using MySQL to the correct JDBC class name. Change the <URL> tag as needed to point to the data-source you created above. Change ALL THE file paths to point to the location you placed the jakarta-tomcat-5.5.7 folder. If you get ANY of them wrong, web time entry will not work! Look at your changes very closely!
4- Edit file /jakarta-tomcat-5.5.7/webapps/ROOT/WEB-INF/web.xml. Again, change ALL THE file paths to point to the location you placed the jakarta-tomcat-5.5.7 folder. And Again, if you get any of them wrong, web time entry will not work!
5- Set your JAVA_HOME environment variable to point to your JDK. Something like:
$ SET JAVA_HOME=/usr/local/java/jdk1.6/ (or whatever)
6- chmod on Tomcat for all Tomcat executables:
$ chmod a+x ./jakarta-tomcat-5.5.7/bin/*.sh
7- Try Starting Tomcat
$ ./jakarta-tomcat-5.5.7/bin/startup.sh
And that should do it! If things don't work you can; 1- look at the Tomcat logs to see what is up OR 2 - better yet, Install X and use the GUI installer (its really easy to use!)
See Ya and good luck!
Paul.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Get the following:
Can anyone Help?
Ygg
You are installing on a Linux distribution that does not have X. Our Java installer needs X windows to run.
It is possible to install Web Time Entry manually without X Windows (and of course Tomcat does not need X to run) but it is NOT an easy task for Linux newbies.. So.. If you are up to it, here is what you need to do.
1- First you need to create a database for the application - then Run the SQL Create Tables script found within the ./Install/ folder on the database you just created (you may need to add a line 'use timeentry;' to the sql script file) Just run the correct script for the platform you are using. So...... MySql would be something like this:
$ mysqladmin -uroot create timeentry
$ mysql timeentry -uroot -e"GRANT ALL ON timeenty.* TO username@localhost IDENTIFIED BY 'password'
$ mysql < ./Install/CreateTables-MySQL.sql
2- Unzip Tomcat found in the zip file ../Install/Install.zip. Save the jakarta-tomcat-5.5.7 folder to someplace in your file system.
3- Edit file /jakarta-tomcat-5.5.7/webapps/ROOT/WEB-INF/ConfigFile1.xml in your favorite text editor. Review the file very closely. Change the <Dirver> tag if you are not using MySQL to the correct JDBC class name. Change the <URL> tag as needed to point to the data-source you created above. Change ALL THE file paths to point to the location you placed the jakarta-tomcat-5.5.7 folder. If you get ANY of them wrong, web time entry will not work! Look at your changes very closely!
4- Edit file /jakarta-tomcat-5.5.7/webapps/ROOT/WEB-INF/web.xml. Again, change ALL THE file paths to point to the location you placed the jakarta-tomcat-5.5.7 folder. And Again, if you get any of them wrong, web time entry will not work!
5- Set your JAVA_HOME environment variable to point to your JDK. Something like:
$ SET JAVA_HOME=/usr/local/java/jdk1.6/ (or whatever)
6- chmod on Tomcat for all Tomcat executables:
$ chmod a+x ./jakarta-tomcat-5.5.7/bin/*.sh
7- Try Starting Tomcat
$ ./jakarta-tomcat-5.5.7/bin/startup.sh
And that should do it! If things don't work you can; 1- look at the Tomcat logs to see what is up OR 2 - better yet, Install X and use the GUI installer (its really easy to use!)
See Ya and good luck!
Paul.