CT2 config files

From UG

Jump to: navigation, search


Contents

Intro

This document describes all application related config files in the system.

List of files

Database configuration file

  • Name: db.properties
  • Content: parameters for Database access from application and users
  • Example:
driverClassName=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/cybertrax?zeroDateTimeBehavior=convertToNull&autoReconnect=false
login=**********
password=**********

Mail configuration file

  • Name: mail.properties
  • Content: mail server settings and CT2 e-mail templates
  • Example:
mail.debug = false
mail.from = cybertrax@jaguarfreight.com
mail.mime.address.strict = false
mail.host = localhost
mail.transport.protocol = smtp
mail.smtp.host = localhost
mail.smtp.port = 25
  • NOTE: E-mail templates are stored in two forms:
1) plain text for browsers that do not support hypertext
 mail.new.user.greeting.text = \
 Dear %userName%,\n\n\
 Welcome to Cybertrax(TM)2.0, Jaguar Freight's unique online web portal. \
 Your account has now been created and your personal login details are listed below. \
 Please also find attached a brief user guide to help you easily navigate through the system.\n\n\
 Login Details:\n\n\
 Username: %userEmail%\n\n\
 Password: %password%\n\n\
 (%passwordSpelling%)\n\n\
 Kindly note that the above password is case sensitive. 
 Access is via our website: www.Jaguarfreight.com .\n\
 We look forward to working with you in the future, however if you require anything further in the meantime please do not hesitate \
 to contact our IT help desk at ihelp@jaguarfreight.com.\n\n\
 Best Regards,\n\n\
 Jaguar Freight Services IT Team.\n
2) HTML for modern versions of browsers that support hypertext
 mail.new.user.greeting.html = \
 <p>Dear %userName%,</p>\
 <p>Welcome to Cybertrax™2.0, Jaguar Freight's unique online web portal.\
    Your account has now been created and your personal login details are listed below. \
    Please also find attached a brief user guide to help you easily navigate through the system.</p>\
 <p><b><span style="text-decoration: underline;">Login Details:</span></b></p>\
 <p><b>Username:</b>%userEmail%</p>\
 <p><b>Password:</b>%password%</p>\
 <p>(%passwordSpelling%)</p>\
 <p>Kindly note that the above password is case sensitive. 
 Access is via our website: <a href="http://www.jaguarfreight.com">www.jaguarfreight.com</a>.<br/>\
    We look forward to working with you in the future, however if you require anything further in the meantime please \
    do not hesitate to contact our IT help desk at <a href="mailto:ihelp@jaguarfreight.com">ihelp@jaguarfreight.com</a>.</p>\
 <p>Best Regards,</p>\
 <p>Jaguar Freight Services IT Team.</p>

Common configuration file

  • Name: common.properties
  • Content: unclassified parameters that used in CT2 applications
  • Example:
email.query.text.length = 1000
temporary.table.update.interval = 299900
credit.notes.approval=true
weather.partner.id  = 1200191180
weather.license.key  = 7916aac444dcbe91
ct2.home.page = http://64.115.223.6
ct2.client.application.context.path = /Client
ct2.jaguar.application.context.path = /CyberTrax
Personal tools