tranjith / javamelody

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

cacheDesktopJarIfNeededAsync problem if no internet access #430

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- VERSION: JavaMelody 1.51.0

Problem is that developement servers doesn't use internet but at every start 
desktop jar is trying to be downloaded. 

It would be very good to have some option (parameter) to disable desktop cache.
Also option of selecting only web or only desktop monitoring would come very 
handy.

Albin

Original issue reported on code.google.com by albin.jo...@gmail.com on 26 Aug 2014 at 1:33

GoogleCodeExporter commented 9 years ago
If internet is not available, it's not a problem and the monitoring just works 
without caching that file.

If you still don't want to try downloading that file, you can download it 
manually from 
http://javamelody.googlecode.com/files/javamelody-swing-1.49.0.jar and then 
copy it with the same name in the storage directory of the server 
(temp/javamelody/ by default).
If this file exists, the monitoring will no try to download it from internet.

Original comment by evernat@free.fr on 30 Aug 2014 at 1:55

GoogleCodeExporter commented 9 years ago

Original comment by evernat@free.fr on 30 Aug 2014 at 2:01

GoogleCodeExporter commented 9 years ago
Does the server somehow wait when trying to download this file? That would 
raise the annoying message to an actual problem. If the server does wait, I 
would like to suggest that you do make this switchable. Copying something into 
a temporary directory isn't something you should need to do after deleting it.

Thanks so much!

Hans-Peter Störr

Original comment by sto...@gmail.com on 5 Dec 2014 at 10:52

GoogleCodeExporter commented 9 years ago
Finally, in javamelody v1.54, I have removed this download and cache of that 
file (that was because of issue 440).
Release notes are here:
https://code.google.com/p/javamelody/wiki/ReleaseNotes

So this issue no longer exists in v1.54, because the cache feature is removed.

Original comment by evernat@free.fr on 5 Dec 2014 at 11:47