偶尔报“31300012 创建数据连接失败”有知道怎么回事的吗?

如题,错误信息如下,不知道什么鬼,报错时所有报表都不可用,重启恢复,finedb已迁移到mysql,fr9



19:39:17 http-bio-8080-exec-11 WARN [root] 错误代码:31300012 创建数据连接失败: wait millis 10173, active 13, maxActive 300

 19:39:17 http-bio-8080-exec-36 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1

 19:39:17 http-bio-8080-exec-10 WARN [root] 错误代码:31300012 创建数据连接失败: wait millis 10039, active 13, maxActive 300

 19:39:17 http-bio-8080-exec-10 ERROR [root] com.fr.third.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 10039, active 13, maxActive 300

 com.fr.data.dao.DAOException: com.fr.third.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 10039, active 13, maxActive 300

        at com.fr.data.dao.JDBCDAOSession.__list_by_sql__(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.listByFieldValue(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.listByFieldValue(Unknown Source)

        at com.fr.fs.control.dao.hsqldb.HSQLUserDAO.findByUserName(Unknown Source)

        at com.fr.fs.control.UserControl.getUser(Unknown Source)

        at com.fr.fs.web.service.AbstractFSAuthService.syncUserID(Unknown Source)

        at com.fr.fs.web.service.FSMainService.process(Unknown Source)

        at com.fr.stable.fun.impl.NoSessionIDService.process(Unknown Source)

        at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source)

        at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source)

        at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)

        at com.fr.web.BaseServlet.doGet(Unknown Source)

        at com.fr.web.BaseServlet.doPost(Unknown Source)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1139)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:748)

Caused by: com.fr.third.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 10039, active 13, maxActive 300

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1269)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1084)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1064)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1054)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:100)

        at com.fr.data.pool.MemoryConnection.create(MemoryConnection.java:37)

        at com.fr.data.impl.JDBCDatabaseConnection.createConnection(JDBCDatabaseConnection.java:201)

        at com.fr.data.dao.JDBCDataAccessObjectOperator.createConnection(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.getJDBCTemplate(Unknown Source)

        ... 35 more

19:39:17 http-bio-8080-exec-19 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1

 19:39:17 http-bio-8080-exec-11 WARN [root] wait millis 10173, active 13, maxActive 300

 com.fr.third.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 10173, active 13, maxActive 300

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1269)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1084)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1064)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1054)

        at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:100)

        at com.fr.data.pool.MemoryConnection.create(MemoryConnection.java:37)

        at com.fr.data.impl.JDBCDatabaseConnection.createConnection(JDBCDatabaseConnection.java:201)

        at com.fr.data.dao.JDBCDataAccessObjectOperator.createConnection(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.getDialect(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.getJDBCTemplate(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.__list_by_sql__(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.listByFieldValue(Unknown Source)

        at com.fr.data.dao.JDBCDAOSession.listByFieldValue(Unknown Source)

        at com.fr.fs.control.dao.hsqldb.HSQLUserDAO.findByUserName(Unknown Source)

        at com.fr.fs.control.UserControl.getUser(Unknown Source)

        at com.fr.fs.web.service.AbstractFSAuthService.syncUserID(Unknown Source)

        at com.fr.fs.web.service.FSMainService.process(Unknown Source)

        at com.fr.stable.fun.impl.NoSessionIDService.process(Unknown Source)

        at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source)

        at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source)

        at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)

        at com.fr.web.BaseServlet.doGet(Unknown Source)

        at com.fr.web.BaseServlet.doPost(Unknown Source)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1139)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:748)

19:39:17 http-bio-8080-exec-20 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1

 19:39:17 http-bio-8080-exec-55 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1

 19:39:17 http-bio-8080-exec-23 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1

 19:39:17 http-bio-8080-exec-54 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1

 19:39:17 http-bio-8080-exec-39 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1

 user login:admin

19:39:17 http-bio-8080-exec-72 WARN [root] 错误代码:31300012 创建数据连接失败: wait millis 10039, active 13, maxActive 300

 19:39:17 http-bio-8080-exec-66 WARN [root] 错误代码:31300012 创建数据连接失败: wait millis 10039, active 13, maxActive 300

 19:39:17 http-bio-8080-exec-6 WARN [root] 错误代码:31300012 创建数据连接失败: wait millis 10859, active 13, maxActive 300

 19:39:17 http-bio-8080-exec-16 WARN [com.fr.third.alibaba.druid.pool.DruidDataSource] not full timeout retry : 1


FineReport balder_fanruan 发布于 2019-6-11 14:14
1min目标场景问卷 立即参与
回答问题
悬赏:4 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
zsh331Lv8专家互助
发布于2019-6-11 18:16
  • 2关注人数
  • 2119浏览人数
  • 最后回答于:2019-6-11 18:16
    请选择关闭问题的原因
    确定 取消
    返回顶部