Project

General

Profile

Actions

Deployment » History » Revision 22

« Previous | Revision 22/25 (diff) | Next »
chin-yeh, 04/22/2011 03:41 PM


Deployment

Prerequisite:

This section describes how to deploy components/modules to the servers.

Deployment Architecture:

The deployment's tasks are summarized in the below table:
Component Type Target
ecwyconnector WAR Dot Com Mall / QueueSystem
ecosway-adaptor JAR US Mall
ws-mimic WAR US Mall / QueueSystem
ws-status WAR US Mall
In general, this deployment task involves 2 parts:
  1. Upload properties files
  2. Deploy WAR/JAR file

Upload properties files

This section is dedicated for the first time deployment only. For subsequent deployment, you should update the existing properties files when needed.

All of the properties files can be found in SVN repository:

http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config

All of the properties files should store in the directory:

/data/qconnector

ws-mimic

List of the properties files to be uploaded: Steps:
  1. see the Deployment section for the deployment target
  2. upload the following files to /data/qconnector/ws-mimic/ directory via ftp or sftp:
    • application.properties
    • jndi-factory.properties
  3. make sure everyone has the read-access to the above files
  4. done

ecosway-adaptor

List of the properties files to be uploaded: Steps:
  1. see the Deployment section for the deployment target
  2. upload the following file(s) to /data/qconnector/ecosway-adaptor/ directory via ftp or sftp:
    • application.properties
    • database.properties
  3. upload the following file(s) to /data/qconnector/ecosway-adaptor/registration/ directory via ftp or sftp:
    • template.properties
  4. make sure everyone has the read-access to the above files
  5. done

ws-status

List of the properties files to be uploaded: Steps:
  1. see the Deployment section for the deployment target
  2. upload the following file(s) to /data/qconnector/ws-status/ directory via ftp or sftp:
    • database.properties
  3. make sure everyone has the read-access to the above files
  4. done

Deploy WAR/JAR file

  • Refer to Deployment section to see the list of available components and deployment target.
  • Refer to the Components section for the latest component version.

Deploy ecwyconnector

Steps:
  1. choose one of the methods:
    1. build from source files:
      1. build the deployment file (see Build components from sources)
      2. rename the deployment file to ecwyconnector.war
    2. download the binary from internal repository (see Nexus):
  2. upload the file to target server
    • if target server is Jboss AS 4.2.2
      • upload to /usr/local/jboss-4.2.2.GA/server/{profile name}/deploy
  3. restart jboss
  4. done

Deploy ecosway-adaptor

See Deploy ecosway-adaptor

Deploy ws-mimic

Steps:
  1. choose one of the methods:
    1. build from source files
      1. build the deployment file (see Build components from sources)
      2. rename the deployment file to ws-mimic.war
    2. download the binary from internal repository (see Nexus):
  2. upload the file to target server
    .../jboss5.1.0.GA/server/{profile name}/deploy
    
  3. restart jboss
  4. done

Deploy ws-status

See Deploy ws-status

Updated by chin-yeh over 13 years ago · 22 revisions