me0wster / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

exception while collecting data java.io.FileNotFoundException: Could not open #255

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
05:53:45,121 WARN  [javamelody] [TP-Processor12] exception while collecting data
java.io.FileNotFoundException: Could not open 
/var/tmp/tomcat6/javamelody/app/http85bfd25307431818233a38fbc2ca6d2f6ed0a49d.rrd
 [non existent]
        at org.jrobin.core.RrdDb.<init>(RrdDb.java:227)
        at org.jrobin.core.RrdDb.<init>(RrdDb.java:203)
        at org.jrobin.core.RrdDb.<init>(RrdDb.java:266)
        at org.jrobin.core.RrdDbPool.requestRrdDb(RrdDbPool.java:103)
        at net.bull.javamelody.JRobin.addValue(JRobin.java:316)
        at net.bull.javamelody.Collector.collectCounterRequestData(Collector.java:670)
        at net.bull.javamelody.Collector.collectCounterRequestsAndErrorsData(Collector.java:630)
        at net.bull.javamelody.Collector.collectCounterData(Collector.java:607)
        at net.bull.javamelody.Collector.collect(Collector.java:302)
        at net.bull.javamelody.Collector.collectWithoutErrors(Collector.java:275)
        at net.bull.javamelody.Collector.collectLocalContextWithoutErrors(Collector.java:265)
        at net.bull.javamelody.HtmlController.doHtml(HtmlController.java:87)
        at net.bull.javamelody.MonitoringController.doCompressedHtml(MonitoringController.java:227)
        at net.bull.javamelody.MonitoringController.doReportCore(MonitoringController.java:185)
        at net.bull.javamelody.MonitoringController.doReport(MonitoringController.java:173)
        at net.bull.javamelody.MonitoringFilter.doMonitoring(MonitoringFilter.java:339)
        at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:166)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:619)
05:53:56,580 WARN  [javamelody] [javamelody v1] exception while collecting data
java.io.FileNotFoundException: Could not open 
/var/tmp/tomcat6/javamelody/app/http85bfd25307431818233a38fbc2ca6d2f6ed0a49d.rrd
 [non existent]
        at org.jrobin.core.RrdDb.<init>(RrdDb.java:227)
        at org.jrobin.core.RrdDb.<init>(RrdDb.java:203)
        at org.jrobin.core.RrdDb.<init>(RrdDb.java:266)
        at org.jrobin.core.RrdDbPool.requestRrdDb(RrdDbPool.java:103)
        at net.bull.javamelody.JRobin.addValue(JRobin.java:316)
        at net.bull.javamelody.Collector.collectCounterRequestData(Collector.java:670)
        at net.bull.javamelody.Collector.collectCounterRequestsAndErrorsData(Collector.java:630)
        at net.bull.javamelody.Collector.collectCounterData(Collector.java:607)
        at net.bull.javamelody.Collector.collect(Collector.java:302)
        at net.bull.javamelody.Collector.collectWithoutErrors(Collector.java:275)
        at net.bull.javamelody.Collector.collectLocalContextWithoutErrors(Collector.java:265)
        at net.bull.javamelody.FilterContext$CollectTimerTask.run(FilterContext.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)

What version of the product are you using?
JavaMelody 1.39.0

On what application server,
tomcat 6.0

JDK, 
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)

operating system?
Linux api-lb1 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 
x86_64 x86_64 GNU/Linux

Original issue reported on code.google.com by maaz...@gmail.com on 12 Sep 2012 at 10:01

GoogleCodeExporter commented 9 years ago
Most probably this issue has the same cause as 
http://code.google.com/p/javamelody/issues/detail?id=240

Original comment by mineral_...@gmx.de on 12 Sep 2012 at 1:33

GoogleCodeExporter commented 9 years ago
No. I'm running into the same issue on a production system with just one tomcat 
process, always the same user. I'v just checked that the directory is writable 
for the user and the disk has lots of free space.

Original comment by fe...@planbnet.org on 28 Sep 2012 at 7:37

GoogleCodeExporter commented 9 years ago
this issue "FileNotFoundException: Could not open ....rrd [non existent]" 
should be fixed now (revision 3073) and ready for the next release (v1.41 soon).

I have made a new build from the current trunk, including the fix, and it is 
available at:
http://javamelody.googlecode.com/files/javamelody-20120930.jar

Original comment by evernat@free.fr on 30 Sep 2012 at 1:27