users@jersey.java.net

[Jersey] Missing MOXy Log Messages In Tomcat

From: Allan <as976586_at_gmail.com>
Date: Wed, 31 Jul 2013 08:42:46 -0500

Hi,

I'm using Jersey 2.1 in Tomcat7 and I experienced MOXy throwing
WebApplicationExceptions that trigger 500 errors to be returned to the
client, but nothing appears in the error logs on the server side. I can
work around this problem by registering a custom ApplicationEventListener
that listens for exception request events and logs them out, but I was
wondering if there was a better way.

Thanks,
Allan