简体   繁体   English

WSO2 ESB 4.0.3和治理注册表配置

[英]WSO2 ESB 4.0.3 and governance registry configuration

I have one server running the ESB and another running the governance registry. 我有一台服务器运行ESB,另一台服务器运行治理注册表。

I am using the embedded h2 database. 我正在使用嵌入式h2数据库。 I can't connect the ESB to the Registry. 我无法将ESB连接到注册表。 I get the following error 我收到以下错误

SQLNestedException: Cannot create JDBC driver of class 'org.h2.Driver' for connect URL SQLNestedException:无法为连接URL创建类“ org.h2.Driver”的JDBC驱动程序

The jar with the the driver is in the path and works with a local h2 instance. 带驱动程序的jar位于路径中,并与本地h2实例一起使用。

Any help appreciated 任何帮助表示赞赏

I believe this can be due to the h2 database not being able to accept multiple connections. 我相信这可能是由于h2数据库无法接受多个连接。 But you need to provide more details to answer this question? 但是您需要提供更多详细信息来回答这个问题吗? Perhaps the entire stack trace. 也许整个堆栈都是跟踪的。 Usually, when we work with remote registries we use mysql or similar as the DB. 通常,当我们使用远程注册表时,我们使用mysql或类似的数据库。

Since the h2 driver is shipped and it's already in the classpath anyway, it can't be due to a problem with the h2 driver, unless you changed the driver. 由于h2驱动程序已交付,并且无论如何它已经在类路径中,所以除非您更改了该驱动程序,否则不可能是由于h2驱动程序出现问题而导致的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM