Deployment » History » Revision 4
Revision 3 (chin-yeh, 10/28/2010 03:11 PM) → Revision 4/25 (chin-yeh, 10/28/2010 03:18 PM)
{{toc}}
h1. Deployment
*Prerequisite:*
* Completed [[Installation]] section
* Completed [[Configuration]] section
This section describes how to deploy components/modules to the servers.
Below table summarizes the deployment's tasks:
|_.Component|_.Type|_.Target|
|ecwyconnector|WAR|Dot Com Mall|
|ecosway-adaptor|JAR|US Mall|
|ws-mimic|WAR|US Mall / QueueSystem|
|ws-status|WAR|US Mall|
In general, this deployment task involves 2 parts:
# upload the relevant properties files
# upload the WAR or JAR file
All of the properties files can be found in SVN repository:
> http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config
h2. Upload properties files
*This section is dedicated for the first time deployment only.* For the subsequent deployment, you should update the existing properties files if needed.
All of the properties files should store in the directory:
> /data/qconnector
h3. ws-mimic
*List of the properties files to be uploaded:*
* *note*: replace {environment} with either *production* (for production environment) or *development* (for development environment)
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/application.properties
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/jndi-factory.properties
*Steps:*
# see the [[Deployment#Deployment]] section for the deployment target
# upload the following files to */data/qconnector/ws-mimic/* directory via ftp or sftp:
** application.properties
** jndi-factory.properties
# make sure *everyone* has the read-access to the above files
# done
h3. ecosway-adaptor
*List of the properties files to be uploaded:*
* *note*: replace {environment} with either *production* (for production environment) or *development* (for development environment)
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/application.properties
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/database.properties
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/registration/template.properties
*Steps:*
# see the [[Deployment#Deployment]] section for the deployment target
# upload the following file(s) to */data/qconnector/ecosway-adaptor/* directory via ftp or sftp:
** application.properties
** database.properties
# upload the following file(s) to */data/qconnector/ecosway-adaptor/registration/* directory via ftp or sftp:
** template.properties
# make sure *everyone* has the read-access to the above files
# done
h2. Upload WAR/JAR file