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?

5 answers

1 accepted

0 votes
Accepted answer

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 votes
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: 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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

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