欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI
欢迎使用普元文档库
【问题描述】
esb的console中部署时报数据库连接异常,信息如下:
[governor][2016-08-22 11:41:22,106][INFO ][AbstractPhaseHandler:78]
Target:mygroups 127.0.0.1:7400(mysever) deployed failed!
Exception message:'[错误] Fails to deploy contribution on mygroups:default(127.0.0.1:7400)
Caused by: Cannot create com.primeton.components.registry.user.core.jdbc.JDBCUserStoreManager .
Error is : com.primeton.components.registry.user.core.UserStoreException: Connections could not be acquired from the underlying database!'com.primeton.system.impl.exception.ContributionDeployException: Fails to deploy contribution on mygroups:default(127.0.0.1:7400)
Caused by: Cannot create com.primeton.components.registry.user.core.jdbc.JDBCUserStoreManager .
Error is : com.primeton.components.registry.user.core.UserStoreException: Connections could not be acquired from the underlying database!
esb为新安装esb,初次部署时就报这个错,请问如何解决,谢谢!
【解答】
从异常看来Connections could not be acquired from the underlying database!属于数据库连接失败所致
建议检查下console所在服务器数据库是否能够正确连接;
另外配置的数据库连接信息是否完全正确;
部署时还需确保console与server所配置数据库连接保持一致.