## Cài thư viện plsql cho DB Oracle
Cài bản https://github.com/pljson/pljson/releases/tag/v2.5.3
1. Download the latest release -- https://github.com/pljson/pljson/releases
1. Extract the zip file
1. Use sql*plus, or something capable of running sql*plus scripts, to run the install.sql script.
1. To test the implementation, run the /testsuite/testall.sql script
## Setup file war lên weblogic
### Cài API
#### Tạo datasource
Tạo datasource tên: jbdc_csb
JNDI Name: jbdc/jbdc_csb
#### Cài đặt API
Dùng winrar sửa file CSBAPI.war
csbapi.war\WEB-INF\classes\conf\api.properties
Dòng 10,11
```
default=jbdc/jbdc_csb
csb=jbdc/jbdc_csb
```
Vào weblogic, menu: `Deployments` -> Chọn Install

Upload file

Ấn next liên tục rồi Finish
#### Cài đặt APP
Dùng winrar sửa file csb.war\WEB-INF\classes\conf\app.properties
Replace toàn bộ `http://localhost:7001/csbapi` sang url của API URL (giữ nguyên prefix `csbapi`)
Nhấn next liên tục rồi finish
URL APP: http://localhost:7001/csb/login.jsp (sửa thành url vừa deploy)
### Cài đặt domain
Trong menu Servers -> Chọn server mặc định -> Tạo new Network Channels -> Đặt tên và điền các tham số như sau:

Trong trường hợp cấu hình domain thì vào Menu `Environment` -> `Virtual host`
Tạo mới 1 virtual host, sau đó edit 2 mục

Chú ý: mục Network Access Point Name giống như vừa tạo ở trên

Quay lại mục Deployment -> chọn CSB APP -> sửa phần target

-> OK