JAVA程序求高手指导
我们的环境是: 服务器系统是: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)
>
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)
>
...全文
<202505高项>《【VIP合集】 软考高项(第四版)十大知识域、五大过程组、ITTO输入输出工具、项目绩效域》 软考高项(第四版)十大知识域、五大过程组、ITTO输入输出工具、项目绩效域 阅读详情
相关推荐
java程序求素数和并输出结果
在IT领域,特别是编程语言Java中,涉及到数学计算与算法优化的部分总是充满挑战与乐趣。本次探讨的主题是“Java程序求10000以内素数和并输出结果”。
编写Java程序求三个数中的最大值
掌握方法的定义与调用关系 实验2: 编写一个方法求3个数中的最大值,并调用该方法求从命令行参数中获得的任意3个整数中的最大者。 public class Java实验2 { public static void main(String[] args) { int a,b,c; a= Integer.parseInt(args[0]); b= Integer.parseInt(args[1]); c= Integer.parseInt(a
编写JAVA程序求园柱体的表面积和体积,已知底面圆心p为(0,0),半径r为10,圆柱体高5。
编写JAVA程序求园柱体的表面积和体积,已知底面圆心p为(0,0),半径r为10,圆柱体高5。
Java 程序求矩阵的法线和迹.docx
总之,Java程序求矩阵的法线和迹是通过遍历矩阵并应用数学公式来实现的。这种操作在涉及矩阵运算的程序中非常常见,对于理解和掌握矩阵概念以及Java编程技巧都具有重要意义。
Java程序求矩阵转置.docx
通过阅读相关的 Java 教程,您可以进一步学习 Java 编程的基础知识和高级主题,从而更好地应对各种编程挑战。


Eclipse
