WSO2 ESB:無法從註冊表加載數據庫連接屬性 (WSO2 ESB: Unable to load DB connection properties from registry)


問題描述

WSO2 ESB:無法從註冊表加載數據庫連接屬性 (WSO2 ESB: Unable to load DB connection properties from registry)

我有一個名為 basic.car 的汽車文件。這有一個名為 basicRegistry 的註冊表項目。我在這個項目中創建了 localentry 類型的註冊表資源,並將其命名為 DB_DRIVER 並在 gov 中將其值設為“org.postgresql.Driver”(也嘗試了相同的 conf)

現在在 dblookup 中介屬性中,我選擇了“基於註冊表的驅動程序配置”並將值輸入為

但是當部署汽車時它顯示以下錯誤。

[2020‑02‑17 16:41:03,277 ] 錯誤 {org.apache.synapse.mediators.db.DBLookupMediator} ‑ 錯誤 DB 中介數據源:null.Registry entry defined with key: gov:dbconfig/DB_DRIVER not found.

我做錯了什麼?


參考解法

方法 1:

To further analyze could you please provide the following information

  • ESB version
  • Synapse configurations related to DB lookup mediator
  • Do you deploy the DBLookup mediator in a separate car file?

The car files are deployed in alphabetical order. If the registry resources and the DBlookup mediator configurations are deployed by two different car files make sure that registry resources are deployed prior to the synapse artifacts

(by raviShanaka Premarathna)

參考文件

  1. WSO2 ESB: Unable to load DB connection properties from registry (CC BY‑SA 2.5/3.0/4.0)

#wso2-enterprise-integrator #wso2-esb #wso2






相關問題

WSO2 EI 和節點 JS (WSO2 EI and NODE JS)

在我的本地計算機上重建 WSO2 存儲庫的正確順序 (The correct order to rebuild the WSO2 repositories on my local computer)

如何為 WSO2 EI 代理服務配置 HTTP 基本身份驗證 (How to Configure HTTP Basic Auth for WSO2 EI proxy service)

WSO2 EI 6.5 - 名稱或服務未知 | DefaultAddressPicker [LOCAL] [wso2.ei.domain] [3.5.4] 集成商名稱或服務未知 (WSO2 EI 6.5 - Name or service not known | DefaultAddressPicker [LOCAL] [wso2.ei.domain] [3.5.4] integrator Name or service not known)

如何更改 WSO2 中 wso2api/repository/logs 目錄下 http_access_.log 文件中的日誌模式 (How to change log pattern in http_access_.log file under the directory wso2api/repository/logs in WSO2)

WSO2 - 無法將ViaPost 發送到 url (WSO2 - Unable to sendViaPost to url)

WSO2 ESB:如何處理端點返回的內部錯誤 (WSO2 ESB: How to handle internal error returned by an endpoint)

WSO2 ESB:無法從註冊表加載數據庫連接屬性 (WSO2 ESB: Unable to load DB connection properties from registry)

添加連接器 WSO2 Enterprise Integrator (Add connectors WSO2 Enterprise Integrator)

我可以在 Enterprise Integrator 6.6.0 WSO2 中添加外部 swagger api 文檔嗎? (Can I add an external swagger api document in Enterprise Integrator 6.6.0 WSO2?)

WSO2 APIM 和 EI 是否支持 API 刪除現有租戶? (Does WSO2 APIM and EI support API to delete an existing tenant?)

WSO2 ESB 7.1.0 二進制響應被截斷為 375B (WSO2 ESB 7.1.0 Binary response is truncated to 375B)







留言討論