Deployment Guide » History » Version 9
chin-yeh, 03/08/2012 02:27 PM
1 | 1 | chin-yeh | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Deployment Guide |
||
4 | 2 | chin-yeh | |
5 | 3 | chin-yeh | This guide is mainly for *first-time deployment*. For the subsequences deployment, you should only deploy the files you have modified. |
6 | |||
7 | 2 | chin-yeh | > see also [[Programming Guide]] |
8 | 3 | chin-yeh | |
9 | 4 | chin-yeh | *Steps:* |
10 | # Execute the [[Specification#Tables-Used|MPAY_INTERFACE]] SQL to create the payment interface table |
||
11 | # Follow the instructions in this [[FAQ#Exception-Illegal-key-size-or-default-parameters-being-thrown]] to remove the restriction on cryptographic strength. |
||
12 | 6 | chin-yeh | ** overwrite the existing policies files if exists |
13 | 5 | chin-yeh | # Go to the *Files* tab, and then download the following certificate files: |
14 | 1 | chin-yeh | ** choose *one* only: |
15 | *** <code>cert_test.zip</code> - for *test* environment |
||
16 | 7 | chin-yeh | *** <code>cert_prod.zip</code> - for *live* environment |
17 | # Extract the downloaded certificate file _(cert_test.zip *or* cert_prod.zip)_ and place it into the following location: |
||
18 | 9 | chin-yeh | ** <code>server.crt</code> - place it in the folder <code>[/data/mpay]</code> |
19 | ** <code>merchant.p12</code> - place it in the folder <code>[/data/mpay]</code> |
||
20 | 5 | chin-yeh | # Go to the *Files* tab again, then download the following libraries and then upload it to <code>[.../WEB-INF/lib]</code>: |
21 | ** <code>bcprov-jdk14-125.jar</code> |
||
22 | ** <code>MerchantAdmin.jar</code> |
||
23 | ** <code>MerchantClient.jar</code> |
||
24 | 1 | chin-yeh | # Prepare the following files and these files can be found in [[wiki#SCM|SCM]]: |
25 | ** _Java class files_ |
||
26 | *** all of the files in <code>my.com.eCosway.mpay</code> |
||
27 | 3 | chin-yeh | ** _properties files_ |
28 | *** <code>/resources/properties/mpay.properties</code> |
||
29 | 8 | chin-yeh | # edit the <code>mpay.properties</code> based on the [[wiki#Merchant-Account-Details|Merchant Account Details]]. |
30 | 4 | chin-yeh | # Deploy those files that prepared in the previous step to application server: |
31 | 5 | chin-yeh | ** _Java class files_ - *to* <code>[.../WEB-INF/classes]</code> |
32 | ** _properties files_ - *to* <code>[.../WEB-INF/classes]</code> |
||
33 | 4 | chin-yeh | # Restart the application server |
34 | # Done |