Deployment Guide » History » Version 5
chin-yeh, 02/22/2012 10:54 AM
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 | 5 | chin-yeh | # Go to the *Files* tab, and then download the following certificate files: |
13 | 1 | chin-yeh | ** choose *one* only: |
14 | *** <code>cert_test.zip</code> - for *test* environment |
||
15 | *** <code>cert_live.zip</code> - for *live* environment |
||
16 | # Extract the downloaded certificate file _(cert_test.zip *or* cert_live.zip)_ and place it into the following location: |
||
17 | 5 | chin-yeh | ** <code>server.crt</code> - place it in <code>[/data/mpay]</code> |
18 | ** <code>merchant.p12</code> - place it in <code>[/data/mpay]</code> |
||
19 | # Go to the *Files* tab again, then download the following libraries and then upload it to <code>[.../WEB-INF/lib]</code>: |
||
20 | ** <code>bcprov-jdk14-125.jar</code> |
||
21 | ** <code>MerchantAdmin.jar</code> |
||
22 | ** <code>MerchantClient.jar</code> |
||
23 | 1 | chin-yeh | # Prepare the following files and these files can be found in [[wiki#SCM|SCM]]: |
24 | ** _Java class files_ |
||
25 | *** all of the files in <code>my.com.eCosway.mpay</code> |
||
26 | 3 | chin-yeh | ** _properties files_ |
27 | *** <code>/resources/properties/mpay.properties</code> |
||
28 | 4 | chin-yeh | # Deploy those files that prepared in the previous step to application server: |
29 | 5 | chin-yeh | ** _Java class files_ - *to* <code>[.../WEB-INF/classes]</code> |
30 | ** _properties files_ - *to* <code>[.../WEB-INF/classes]</code> |
||
31 | 4 | chin-yeh | # Restart the application server |
32 | # Done |