JAVA程序求高手指导

wanglilong123 2011-08-17 10:37:17
我们的环境是: 服务器系统是:Windows 中间件是:Weblogic
1.经常出现Weblogic Down机
2.Weblogic不Down机,但是登录的时候,访问数据库,提示连接池没了


下面是LOG,分析了好久没看出问题。数据连接池我也设置过了设置成了60,但是依旧出现这个情况。
附件是LOG 请帮忙分析下

####<2011-8-17 上午12时48分24秒 CST> <Info> <JDBC> <jhga-fzc-49> <myserver> <ExecuteThread: '1' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-001068> <Connection for pool "jwjd" created.>
####<2011-8-17 上午12时48分24秒 CST> <Info> <JDBC> <jhga-fzc-49> <myserver> <ExecuteThread: '1' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-001132> <Initialized statement cache of size "10" for connection in pool "jwjd".>
####<2011-8-17 上午12时48分24秒 CST> <Info> <Common> <jhga-fzc-49> <myserver> <ExecuteThread: '1' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-000628> <Created "1" resources for pool "jwjd", out of which "1" are available and "0" are unavailable.>

####<2011-8-17 上午12时48分28秒 CST> <Debug> <HTTP> <jhga-fzc-49> <myserver> <ExecuteThread: '8' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(18248366,null default ctx,myserver) Found no context for "/common/js/filter.js". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
####<2011-8-17 上午12时48分28秒 CST> <Debug> <HTTP> <jhga-fzc-49> <myserver> <ExecuteThread: '8' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(18248366,null default ctx,myserver) Found no context for "/common/js/dateFormat.js". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
####<2011-8-17 上午01时05分25秒 CST> <Info> <Common> <jhga-fzc-49> <myserver> <ExecuteThread: '60' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-000627> <Reached maximum capacity of pool "jwjd", making "0" new resource instances instead of "1".>
####<2011-8-17 上午01时05分25秒 CST> <Error> <WebLogicServer> <jhga-fzc-49> <myserver> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '0' for queue: 'weblogic.kernel.Default' has been busy for "1,020" seconds working on the request "Http Request: /jwjd/wpCsSave.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
####<2011-8-17 上午01时05分25秒 CST> <Error> <WebLogicServer> <jhga-fzc-49> <myserver> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '1' for queue: 'weblogic.kernel.Default' has been busy for "1,016" seconds working on the request "Http Request: /jwjd/wpCsSave.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
####<2011-8-17 上午01时05分25秒 CST> <Error> <WebLogicServer> <jhga-fzc-49> <myserver> <weblogic.health.CoreHealthMonitor> <<WLS Kernel>> <> <BEA-000337> <ExecuteThread: '2' for queue: 'weblogic.kernel.Default' has been busy for "1,020" seconds working on the request "Http Request: /jwjd/wpCsSave.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.>
queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=27899044,name=jwjd,context-path=/jwjd)] Servlet failed with Exception
userMsg=数据库操作错误,weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool jwjd to allocate to applications, please increase the size of the pool and retry..; stackMsg:Cannot open connection: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool jwjd to allocate to applications, please increase the size of the pool and retry..
at com.hzjc.zfba.model.impl.dao.hibernate.HibernateDao.convertHibernateAccessException(HibernateDao.java:65)
at com.hzjc.zfba.model.impl.dao.hibernate.HibernateDao.find(HibernateDao.java:551)
at com.hzjc.zfba.model.impl.dao.BusinessDAO.getAllList(BusinessDAO.java:285)
at com.hzjc.zfba.security.impl.AuthorizationImpl.hasDocSendRight(AuthorizationImpl.java:222)
at jsp_servlet._jwjd.__jwgg._jspService(__jwgg.java:316)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7051)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
...全文
326 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
wyx100 2011-08-17
  • 打赏
  • 举报
回复
关闭connection的逻辑放到finally模块中
wanglilong123 2011-08-17
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 stalendp 的回复:]
检查应用程序中是否有数据库链接的泄露。最好把关闭connection的逻辑放到finally模块中
[/Quote]

检查了几次了,所有DAO里面连接都关闭了! 都在finally 里面进行了关闭
stalendp 2011-08-17
  • 打赏
  • 举报
回复
检查应用程序中是否有数据库链接的泄露。最好把关闭connection的逻辑放到finally模块中
wanglilong123 2011-08-17
  • 打赏
  • 举报
回复
Quote=引用 2 楼 java_tomcat 的回复:]
Cannot open connection: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool jwjd to allocate to applications, please increase the size of the pool and retry..……
[/Quote]

连接池的大小是在 Weblogic 里面设置的![
wanglilong123 2011-08-17
  • 打赏
  • 举报
回复
连接池的大小是在 Weblogic 里面设置的!
  • 打赏
  • 举报
回复
Cannot open connection: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool jwjd to allocate to applications, please increase the size of the pool and retry..
连接池的代码贴出来看下.
  • 打赏
  • 举报
回复
友情顶贴。。。sorry..

58,452

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧