【问题描述】
Platform7.6导出的default应用,部署到PAS6.5 上,使用sysadmin/000000登录default报错:
pas\domains\domain1\logs\server.log,报错:
[default][2020-05-26 17:49:11,937][ERROR][com.primeton.common.connection.impl.datasource.ext.UnconfirmedDataSource:54]
java.lang.RuntimeException: java.sql.SQLException: An SQLException was provoked by the following failure: com.mchange.v2.resourcepool.ResourcePoolException: A ResourcePool cannot acquire a new resource -- the factory or source appears to be down.
at com.primeton.ext.common.connection.datasource.C3P0DataSourceProvider$ConnectionProxy.initConnection(C3P0DataSourceProvider.java:289)
at com.primeton.ext.common.connection.datasource.C3P0DataSourceProvider$ConnectionProxy.getMetaData(C3P0DataSourceProvider.java:397)
at com.primeton.ext.common.l7e.ImprimaturMgr.checkComponent(ImprimaturMgr.java:130)
at com.primeton.common.connection.impl.datasource.ext.UnconfirmedDataSource.getDataSource(UnconfirmedDataSource.java:102)
at com.primeton.common.connection.impl.datasource.ext.UnconfirmedDataSource.confirm(UnconfirmedDataSource.java:52)
at com.primeton.ext.common.connection.datasource.DataSourceCache.putDataSource(DataSourceCache.java:121)
at com.eos.common.connection.mbean.DataSourceConfigHandler.toLoad(DataSourceConfigHandler.java:123)
at com.eos.common.connection.mbean.DataSourceConfigHandler.toLoad(DataSourceConfigHandler.java:54)
......
【问题原因】
default使用的表没有初始化全,导致的;
【解决方案】
通过governor对default连接的数据库重新初始化,不再报错
【原文链接】
http://doc.primeton.com/pages/viewpage.action?pageId=32767529