Ticket #2 (closed 故障: fixed)
数据库无法连接导致的系统无法启动
| Reported by: | huangyi | Owned by: | huangyi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | IT运维管理平台 | Version: | |
| Keywords: | 数据库 | Cc: | |
| Due Date: | 16/12/2011 |
Description
系统初始化时,Spring会初始化配置在配置文件里的连接池,由于IT运维平台涉及的数据库很多,因此因为数据库down或者数据库所在主机down而导致系统无法启动的概率也相对较大,因此需要在Spring数据库连接池配置上超时时间,这样当无法连接数据库时,系统也能正常启动,从而保证系统其它部分的功能可以正常使用。
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)