Open glassfishrobot opened 11 years ago
Reported by basvandenbroek
basvandenbroek said: I seem to be unable to attach my testproject to this ticket.. Also the ticket text is now showing the full greater than and smaller than signs. I will try to use the ampersand symbol as well so you can see the symbol variants.
If a webservice returns this value:
The MessageDumpingFeature will actually log it as this:
snajper said: Hi, could you post the attachment some place else and just provide link?
basvandenbroek said: Attachment uploaded to http://www.herosh.com/download/11087232/metrologgingbug.zip.html
basvandenbroek said: Just wondering what happened to the option to add a testproject? I was able to do so for a previous ticket. Anyway I hope you are able to download the testproject from herosh.
basvandenbroek said: Hello guys, can I get an update on the status of this bug?
basvandenbroek said: Ok, I guess I can assume the Metro project to be dead?
Was assigned to snajper
This issue was imported from java.net JIRA METRO-21
If a webservice returns this value:
The MessageDumpingFeature will actually log it as this:
As you can see the smaller than sign (<) is fine but it somehow shows the 'greater than' character entity as the actual sign.
I will add a testproject. I did not include webservices-rt.jar itself due to the size. If you run this project you can include this yourself in the lib folder and fix the .classpath. I used Metro 2.2.1-1. The project starts a Jetty server which serves as a webservice, it just returns a hardcoded string. This webservice is called and the response is logged.
Instructions: Run the main method in Test.java and check the logging.
Environment
JDK 1.6 update 32
Affected Versions
[2.2.1-1]