HOME

·         Documentation

·         Download

·         Contributors

 

 

HOW TO install war package [st-0.4.war]

ü       The st-0.4.war contains the compiled and ready to run package

ü       copy it in tomcat / webapps folder.

ü       depending on your tomcat version you will need to restart tomcat or in newer versions the tomcat will automatically detect the new package.

ü       for details about configuration, open a browser to the location <your tomcat>/st-0.4/doc/configuration.jsp

 

doc/configuration.jsp file:

Silent Time Tracker - DB config

MySQL (for more details about how to install mysql and how to use mysql tools, please visit www.mysql.com)

NOTE: all the paths used in this document are relative to the place where you installed the package. If the package was installed using the war, the folder will be found under the {your tomcat}/webapps/{name of the war - without .war at the end}

Step1: create a database (the name is not fixed, you can name it how you want - let's call it dbname)

Step2: feed the files /WEB-INF/db/st-schema.sql and /WEB-INF/db/init.sql into your new created database.

Step3: configure your application to use your new created database: edit the file /WEB-INF/conf/Torque.properties
the line:
torque.dsfactory.silenttracker.connection.url = jdbc:mysql://localhost:3306/silenttracker
should reflect your database configuration.
Example if your dbname is st-db, and your db is located on st-db-server, that line will look like:
torque.dsfactory.silenttracker.connection.url = jdbc:mysql://st-db-server:3306/st-db

After you configured your db, recheck the st page using the entry page for the application (index.jsp)

 

 

Links:

o        st-0.4.war

mailto:smarcu@lasting.ro

 

SourceForge.net Logo