[opencms-dev] OpenCMS "sleeps" at night
John Giammarche
jgiammarche at yahoo.com
Fri Dec 3 14:55:04 CET 2004
Hello everyone.
I'm having the following problem: each morning, when I
try to access my OpenCMS installation, it doesn't
answer (nor the administration, nor the published web
page). This is in my production server, so the problem
is kind of serious =). The only solution to the
problem is to restart Tomcat. It then works fine for
6, 8 hours, and then it goes down again.
The only strange thing in my setting is that I'm using
Oracle instead of mySQL (over Linux).
I'm also using dynamic export and hiding
/opencms/opencms by connecting Tomcat with Apache
through a vhost.
Here are the complete specs of my system:
CPU: Pentium IV 2.8 Ghz, HT enabled
RAM: 256 MB
Swap: 1 GB
Kernel: 2.4.21-15.0.3.ELsmp
OpenCMS version: 5.0.1 (Kaitain)
Oracle version: Oracle9i Release 9.2.0.4.0 -
Production
Tomcat version: 4.1.31
Apache version: 2.0.50
The last words of OpenCMS yesterday were:
2004-12-02 21:15:04
StandardWrapperValve[OpenCmsServlet]:
Servlet.service() for servlet OpenCmsServlet threw
exception
java.lang.NullPointerException
at
com.opencms.file.CmsRequestContext.getSiteRoot(CmsRequestContext.java:532)
at
com.opencms.file.CmsObject.getSiteRoot(CmsObject.java:4044)
at
com.opencms.file.CmsObject.readFile(CmsObject.java:2888)
at
com.opencms.core.OpenCms.initResource(OpenCms.java:793)
at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:306)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
And I guess it stopped working after that. Or maybe it
was later, I really can't tell.
Well, that's all, I'd appreciate any help.
Thanks in advance!
John
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the opencms-dev
mailing list