saif-hmk / javamelody

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

With java update 1.7_u45, the Desktop app does not start #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install JRE 1.7_u45 from Oracle
2. In the html monitoring reports, click on "Desktop" to launch the desktop app

What is the expected output? What do you see instead?
The desktop app (Swing/JNLP) is supposed to start.
But, there is a popup instead: "java.lang.IllegalStateException: There must be 
3 system properties: javamelody.application, javamelody.url, javamelody.range".

Original issue reported on code.google.com by evernat@free.fr on 23 Oct 2013 at 8:46

GoogleCodeExporter commented 9 years ago
This a known issue with the recent Java update 1.7_u45, for many applications.

See for example: 
http://stackoverflow.com/questions/19400725/with-java-update-7-45-the-system-pro
perties-no-more-set-from-jnlp-tag-property

Original comment by evernat@free.fr on 23 Oct 2013 at 8:49

GoogleCodeExporter commented 9 years ago
The JNLP file is dynamically generated by this code:
https://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/mai
n/java/net/bull/javamelody/JnlpPage.java

Original comment by evernat@free.fr on 23 Oct 2013 at 9:02

GoogleCodeExporter commented 9 years ago
It's now fixed in trunk (revision 3548) and ready for the next release (1.48).

I have made a new build from trunk, including the fix:
https://javamelody.googlecode.com/files/javamelody-20131027.jar
or if you use a collect server:
https://javamelody.googlecode.com/files/javamelody-20131027.war

Note: it's normal that the snapshot builds downloads the desktop app from the 
following file, which was just updated for this fix:
https://javamelody.googlecode.com/files/javamelody-swing.jar

Original comment by evernat@free.fr on 27 Oct 2013 at 12:13