- Run
Application
withconfiguration.yml
- Wait for start of
Application
. - Run
ErrorTrigger
. You should see some number of 500 errors, but expected is 503.
Mapper GenericJDBCExceptionMapper
is properly registered in Jersey, but exceptions from UnitFromWorkAspect
are not wrapper with MappableException
and are not mapped to the response from mapper.
The method process
in the class ServerRuntime$Responder
(line 476) cannot map not-mappable exception and default 500 is generated.