[opencms-dev] Connection Pooling problems in OpenCms 7.0.1?
clairebear
dbpete at excite.com
Fri Jan 30 04:50:41 CET 2009
All,
I believe I'm experiencing connection pooling problems in OpenCms 7.0.1
running with CentOS 5, MySQL 5.0.22, and Apache HTTP Server 2.2. Could this
problem be caused by OpenCms pooling or configuration in the
opencms.properties? I'm running out of ideas.
The server fails to display web pages several times a day. Upon looking at
thread dump I see the following errors:
"http-8080-Processor278" daemon prio=1 tid=0x000000004fb26060 nid=0x5b49 in
Object.wait() [0x000000005a522000..0x000000005a522d80]
at java.lang.Object.wait(Native Method)
- waiting on <0x00002aaabe65be70> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Object.wait(Unknown Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:657)
- locked <0x00002aaabe65be70> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Thread.run(Unknown Source)
"http-8080-Processor277" daemon prio=1 tid=0x000000004fb24e50 nid=0x5b48
waiting for monitor entry [0x000000005a420000..0x000000005a421d00]
at org.opencms.db.CmsSqlManager.getConnectionByUrl(CmsSqlManager.java:104)
- waiting to lock <0x00002aaab7f0de30> (a
org.opencms.db.mysql.CmsSqlManager)
at
org.opencms.db.generic.CmsSqlManager.getConnection(CmsSqlManager.java:231)
at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1774)
at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:6331)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5850)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3950)
at org.opencms.file.CmsObject.readResource(CmsObject.java:3466)
at org.opencms.file.CmsObject.readResource(CmsObject.java:3432)
at
org.opencms.i18n.CmsDefaultLocaleHandler.getI18nInfo(CmsDefaultLocaleHandler.java:103)
at org.opencms.i18n.CmsLocaleManager.getI18nInfo(CmsLocaleManager.java:662)
at org.opencms.main.OpenCmsCore.initCmsObject(OpenCmsCore.java:2007)
at org.opencms.main.OpenCmsCore.updateContext(OpenCmsCore.java:1648)
at
org.opencms.main.A_CmsAuthorizationHandler.registerSession(A_CmsAuthorizationHandler.java:82)
at
org.opencms.security.CmsDefaultAuthorizationHandler.initCmsObject(CmsDefaultAuthorizationHandler.java:73)
at org.opencms.main.OpenCmsCore.initCmsObject(OpenCmsCore.java:2063)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1480)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
Thanks for any help.
--
View this message in context: http://www.nabble.com/Connection-Pooling-problems-in-OpenCms-7.0.1--tp21740820p21740820.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list