-
1. Re: Suppressing SoapFault Stack trace
thomas.diesler Dec 13, 2006 10:26 AM (in response to zurchman)AFAIK, the log is required by the spec
-
2. Re: Suppressing SoapFault Stack trace
zurchman Dec 13, 2006 2:36 PM (in response to zurchman)AFAIK, the log is required by the spec
Which spec would that be?
I don't see any references to Fault logging in JSR-109 1.2.
Also, I did some quick scans and did not turn up any references to logging in the SAAJ 1.3, JAX-RPC 1.1, or JAX-WS 2.0 specs.
-
3. Re: Suppressing SoapFault Stack trace
elcapitan Dec 13, 2006 8:39 PM (in response to zurchman)I'm also curious to know how to stop the logging of the stack trace, or if possible, suppress even the logging of the error message.
It seems reasonable that if the webservice is throwing an exception over the wire, to be interpreted by the client, that the (ugly and scarifying) stack trace shouldn't burl up on the AS. After all, exceptions are all about handling expected problems, and if done right shouldn't cause an interruption in program flow. Stack traces always make me feel uneasy about continuing running an application... :) -
4. Re: Suppressing SoapFault Stack trace
cdreyer1 Jan 25, 2007 7:17 AM (in response to zurchman)I agree. It is very disturbing to have stack traces in the JBoss AS console. In this case the exceptions are perfectly valid.
Thomas Diesler, what about some way of turning this 'feature' off? -
5. Re: Suppressing SoapFault Stack trace
thomas.diesler Feb 14, 2007 3:55 PM (in response to zurchman)If you turn it off, how will you now that there is a problem in the endpoint? Exception logging is required by the j2ee spec.
If it bothers you too much maybe you like to contribute a patch to externalize exception handling.