[opencms-dev] No opencms.log logfile saved (neither generated?)

Domenico De Seta domenico.deseta at tiscali.it
Mon Sep 26 16:34:41 CEST 2005


Hello,
 
when using legacy Administration tool “log file viewer” a 0 byte
opencms.log detected and a NullPointerException is thrown. Is this a
known problem or maybe something in my installation of opencms 6.0 went
wrong? BTW every thing else works fine, I have 2 microsites running on
the installation but I would like to see opencms logfile everytime  I
log into the system as Admin.
 
Looking into WEB-INF/logs/ a 0 byte opencms.log file is found: any hint?
 
I found only one similar issue in the mailing list  at HYPERLINK
"http://mail.opencms.org/pipermail/opencms-dev/2005q3/018097.html"http:/
/mail.opencms.org/pipermail/opencms-dev/2005q3/018097.html
(unfortunately with no answer)
 
java.lang.NullPointerException
            at java.io.File.<init>(File.java:180)
            at
com.opencms.workplace.CmsAdminLogFileViewer.getContent(CmsAdminLogFileVi
ewer.java:76)
            at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:313)
            at
com.opencms.template.CmsRootTemplate.getMasterTemplate(CmsRootTemplate.j
ava:122)
            at
com.opencms.legacy.CmsXmlTemplateLoader.callCanonicalRoot(CmsXmlTemplate
Loader.java:201)
            at
com.opencms.legacy.CmsXmlTemplateLoader.generateOutput(CmsXmlTemplateLoa
der.java:490)
            at
com.opencms.legacy.CmsXmlTemplateLoader.processXmlTemplate(CmsXmlTemplat
eLoader.java:720)
            at
com.opencms.legacy.CmsXmlTemplateLoader.load(CmsXmlTemplateLoader.java:6
36)
            at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.ja
va:711)
            at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1302)
            at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:136)
            at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
            at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
            at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
            at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
            at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
            at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
            at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
            at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
            at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
            at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
            at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
            at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
            at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
            at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
675)
            at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
            at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
            at java.lang.Thread.run(Thread.java:534)
 
 
Regards
 
Domenico
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date:
23/09/2005
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050926/2b4cb23d/attachment.htm>


More information about the opencms-dev mailing list