me0wster / javamelody

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

XML cannot generate well #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
  - open my monitoring page: projectName/monitoring?format=xml

What is the expected output? What do you see instead?
  - a complete XML, but it lose some information.

What version of the product are you using? On what application server, JDK,
operating system?
  - OS: Windows 2003
  - Java: 1.7
  - Server: Tomcat 7.0.27
  - JavaMelody: 1.44.0

Please provide any additional information below.
  - I used to get full XML before I change the JavaMelody version from 1.43 to 1.44. (I am not sure if that's why i cannot get full XML)
  - maybe it's because I have too many information to generate to XML??
  - is there any limitation to generate a XML?? or can i choose part of information that i want to generate???

thanks for your help in advance!!!

Original issue reported on code.google.com by xuan...@gmail.com on 11 Apr 2013 at 8:58

Attachments:

GoogleCodeExporter commented 9 years ago
I don't know how you can have only one counter in this list. I have several 
counters and one javaInformations in the list for the 
"projectName/monitoring?format=xml" url (with all javamelody versions).

I suggest to test with another browser (chrome for example) and to try with the 
previous version of javamelody to know if it makes any difference.

Original comment by evernat@free.fr on 11 Apr 2013 at 9:19

GoogleCodeExporter commented 9 years ago
I've tried several times...and I found out that if I restart the Tomcat...it 
can generate XML well...but after I start to use data cache(ehcache 2.7)...it 
generate fail...and it shows an error message in Chrome(please check the 
attachment)...can you help to check this problem?? thanks a lot!!

Original comment by xuan...@gmail.com on 12 Apr 2013 at 8:16

Attachments:

GoogleCodeExporter commented 9 years ago
If you save the xml result in a file and if you open it with a text editor, 
does it contains something special near "cacheInformations"?
Is there some problem with xml tags for some "name" or "configuration" 
attribute?

If possible, can you submit the xml result as a file in this issue?

Original comment by evernat@free.fr on 12 Apr 2013 at 11:07

GoogleCodeExporter commented 9 years ago
The "cacheInformations" tag didn't show in projectName/monitoring?format=xml 
view and text editor...but when I check the source...it end with 
"cacheInformations" tag...and it has no attribute or special character near the 
"cacheInformations" tag....

Original comment by xuan...@gmail.com on 15 Apr 2013 at 2:32

GoogleCodeExporter commented 9 years ago
If you open that xml file in a browser, is it the same error?
Can you submit the xml file in this issue? (remove sensible data if needed)

Original comment by evernat@free.fr on 18 Apr 2013 at 8:58

GoogleCodeExporter commented 9 years ago
Yes, it's still shows error.
Here's the XML file. I deleted the <counter> part because the original file is 
too big.

thanks a lot!!! 

Original comment by xuan...@gmail.com on 19 Apr 2013 at 7:15

Attachments:

GoogleCodeExporter commented 9 years ago
I have an error when opening this xml file in a browser, but it's not the same 
as your error given above. In fact, there is no "cacheInformations" in this xml 
file.
And there is an error for this xml file, because it is incomplete: the end is 
not there.

So you probably have an exception or an error, such as OutOfMemoryError, in the 
server when generating the xml. Can you check server output and server logs 
after trying to generate the xml?

Original comment by evernat@free.fr on 19 Apr 2013 at 10:04

GoogleCodeExporter commented 9 years ago
any news?

Original comment by evernat@free.fr on 27 Apr 2013 at 5:32

GoogleCodeExporter commented 9 years ago
Closing as invalid/incomplete because of no response from the reporter.

Original comment by evernat@free.fr on 19 May 2013 at 1:10