Hepp,

I'll give it a shot.

1. The only thing I can verify right now is that it seems that the
@providers are initalized on all wars.

I did remove al the other wars and the exceptions went away.

2. put my mappers in a separate lib into ear/lib:

 2.1 openejb-jar has mapper references, openejb.jaxrs.providers.auto=false
=> ALL OK

 2.2 openejb-jar has mapper references, #openejb.jaxrs.providers.auto=false
=> OK, but custom providers ar scanned twice (appears twice in log:
OpenEJB.rs - Using providers:)

2.3 no mapper ref in openejb-jar,  #openejb.jaxrs.providers.auto=false =>
ALL OK

2.4 no mapper ref in openejb-jar,  openejb.jaxrs.providers.auto=false => No
mappers active


br hw







--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/rest-exceptionmapper-in-ear-tp4677602p4677607.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to