Project

General

Profile

Actions

Deployment Guide » History » Revision 7

« Previous | Revision 7/9 (diff) | Next »
chin-yeh, 03/08/2012 01:42 PM


Deployment Guide

This guide is mainly for first-time deployment. For the subsequences deployment, you should only deploy the files you have modified.

see also Programming Guide

Steps:
  1. Execute the MPAY_INTERFACE SQL to create the payment interface table
  2. Follow the instructions in this FAQ to remove the restriction on cryptographic strength.
    • overwrite the existing policies files if exists
  3. Go to the Files tab, and then download the following certificate files:
    • choose one only:
      • cert_test.zip - for test environment
      • cert_prod.zip - for live environment
  4. Extract the downloaded certificate file (cert_test.zip or cert_prod.zip) and place it into the following location:
    • server.crt - place it in [/data/mpay]
    • merchant.p12 - place it in [/data/mpay]
  5. Go to the Files tab again, then download the following libraries and then upload it to [.../WEB-INF/lib]:
    • bcprov-jdk14-125.jar
    • MerchantAdmin.jar
    • MerchantClient.jar
  6. Prepare the following files and these files can be found in SCM:
    • Java class files
      • all of the files in my.com.eCosway.mpay
    • properties files
      • /resources/properties/mpay.properties
  7. Deploy those files that prepared in the previous step to application server:
    • Java class files - to [.../WEB-INF/classes]
    • properties files - to [.../WEB-INF/classes]
  8. Restart the application server
  9. Done

Updated by chin-yeh almost 13 years ago · 7 revisions