CT2 config files

From UG

(Difference between revisions)
Jump to: navigation, search
(1st edition)
(List of files)
 
Line 6: Line 6:
== List of files ==
== List of files ==
-
=== db.properties ===
+
=== 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=**********
-
=== common.properties ===
+
=== Mail configuration file ===
 +
* '''Name:''' mail.properties
 +
* '''Content:''' mail server settings and CT2 e-mail templates
 +
* '''Example:'''
-
=== mail.properties ===
+
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>\
 +
  &lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Login Details:</span>&lt;/b&gt;&lt;/p&gt;\
 +
  &lt;p&gt;&lt;b&gt;Username:&lt;/b&gt;%userEmail%&lt;/p&gt;\
 +
  &lt;p&gt;&lt;b&gt;Password:&lt;/b&gt;%password%&lt;/p&gt;\
 +
  &lt;p&gt;(%passwordSpelling%)&lt;/p&gt;\
 +
  &lt;p&gt;Kindly note that the above password is case sensitive.
 +
  Access is via our website:&nbsp;&lt;a href="http://www.jaguarfreight.com"&gt;www.jaguarfreight.com</a>.&lt;br/&gt;\
 +
    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 &lt;a href="mailto:ihelp@jaguarfreight.com"&gt;ihelp@jaguarfreight.com</a>.&lt;/p&gt;\
 +
  &lt;p&gt;Best Regards,&lt;/p&gt;\
 +
  &lt;p&gt;Jaguar Freight Services IT Team.&lt;/p&gt;<br/>
 +
 
 +
=== 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

Current revision as of 10:47, 7 October 2010


Contents

[edit] Intro

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

[edit] List of files

[edit] 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=**********

[edit] 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>

[edit] 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