This content has been marked as final.
Show 3 replies
-
1. Re: Enable debug logging
peterj Oct 14, 2008 12:40 PM (in response to tomstrummer)The jboss-log4j.xml setting should work. When I uncomment it, I see entries like the following in the server.log file:
2008-09-29 13:45:04,899 TRACE [org.jboss.ws.core.MessageTrace] (http-127.0.0.1-8080-1) Incoming Request Message <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> <env:Header/> <env:Body> <ns1:getRate xmlns:ns1='http://ws.jbia.org/'> <arg0>NH</arg0> </ns1:getRate> </env:Body> </env:Envelope> ... 2008-09-29 13:45:04,914 TRACE [org.jboss.ws.core.MessageTrace] (http-127.0.0.1-8080-1) Outgoing Response Message <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> <env:Header/> <env:Body> <ns1:getRateResponse xmlns:ns1='http://ws.jbia.org/'> <return>0.0</return> </ns1:getRateResponse> </env:Body> </env:Envelope>
-
2. Re: Enable debug logging
tomstrummer Oct 14, 2008 2:56 PM (in response to tomstrummer)Is there any way to get logging at the HTTP level? It looks like the server is throwing a nasty exception and it's not even returning a valid SOAP response. So it's not being parsed and I never get the log output. On top of that, the service is over HTTPS so I can't use WireShark to watch the traffic either...
Thanks again. -
3. Re: Enable debug logging
asoldano Oct 22, 2008 12:36 PM (in response to tomstrummer)"tomstrummer" wrote:
Is there any way to get logging at the HTTP level? It looks like the server is throwing a nasty exception and it's not even returning a valid SOAP response. So it's not being parsed and I never get the log output. On top of that, the service is over HTTPS so I can't use WireShark to watch the traffic either...
Thanks again.
If an exception is reaised by jbossws you can enable the org.jboss.ws log4j category and you find that for sure in the logs.