## 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 ![](https://hackmd.io/_uploads/rk15et_dn.png) Upload file ![](https://hackmd.io/_uploads/BJv3gFu_n.png) Ấ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: ![](https://hackmd.io/_uploads/rk4l8tdun.png) 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 ![](https://hackmd.io/_uploads/ryrVXFO_3.png) Chú ý: mục Network Access Point Name giống như vừa tạo ở trên ![](https://hackmd.io/_uploads/B19EXtdd2.png) Quay lại mục Deployment -> chọn CSB APP -> sửa phần target ![](https://hackmd.io/_uploads/HyMUQYuun.png) -> OK