JavaMelody Chart images broken, Confluence 4.1.9

I have a pretty large Confluence instance running behind our corporate firewall. I've installed the JavaMelody plugin, and it works great for about 24 hours, but after that, I can't view the graphs at the top of the JavaMelody page. It appears that the plugin is working properly, but I just get the standard broken image link icon for the graphs. Screenshot is attached.
Anyone else ever seen this? Is there some configuration option I can set to fix it?
Thanks.

5 answers

1 accepted

Ok, latest follow up. I had not tried JavaMelody for a while, but re-installed it and tried it last week. Apparently, the issue I was having with the chart images no longer happens on my setup (I'm running Confluence 4.2.13 and JavaMelody 1.43.0).

Thanks for the suggestions.

0 vote
David Simpson Community Champion Jun 04, 2012

Where are the images pointing to?

Good question. Looking at the first chart, "Used Memory", here is the image link in the page source code:

<img class='synthèse' id='img' src='?width=960&amp;height=400&amp;graph=usedMemory' alt='zoom'/>
 
If I attempt to open the image in a new tab, I get a Confluence system error, with this cause:

java.io.FileNotFoundException: Could not open /usr/local/confluence/temp/javamelody/_Tauri-Confluence/usedMemory.rrd [non existent]
at org.jrobin.core.RrdDb.<init>(Unknown Source)

Like I said, what is strange is that the images work fine for about 24 hours when I first install the plugin, but then after that, nothing.

Ok, a little bit more info. Based on David Simpson's question above, I looked at my temp directory in the Confluence install directory, and saw nothing there. I tried creating a new directory called "javamelody" since that seems to be what is required. Then I uninstalled the plugin, reinstalled, and graphs returned. Checking the temp/javamelody directory, I could see all the temp files and rrd files in there. However, I came back 3 hours later, and the temp directory is totally empty!

Something is clearing out my temp directory in my Confluence install directory every couple of hours? Is this normal?

I do not know why the temp directory may be deleted. But you can read about how to change the storage directory of javamelody in the user's guide for JIRA/Confluence/Bamboo

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

902 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you