I have some custom exceptions created in my web service.
When the client calls that web service within jboss, when it fails with a custom exception I want it to return to the client the exception.
All fine, except for one little thing. The JAXWS that handles the request, before sending the exception to the client, calls logger.error on that exception! I can configure the log4j or some other logger to avoid this, but is there some nice solution, like configuring jax to only stacktrace the exceptions that aren't defined in the web service interface.
No, sorry, you need to configure the logging in jboss-log4j.xml.