HttpWhiteboardFailureException logged as debug in equinox [message #1830954] |
Fri, 07 August 2020 09:10 |
Arnaud MERGEY Messages: 243 Registered: March 2010 Location: France |
Senior Member |
|
|
Hello,
I had some issues to be able to register an http filter using whiteboard pattern.
My issue was caused by the fact that my filter was supposed to be registered for multiple context without using prototype scope for the service.
It took some time to understand the filter was not registerd because a multiple registration HttpWhiteboardFailureException was thown in
org.eclipse.equinox.http.servlet.internal.context.ContextController.addFilterRegistration(ServiceReference<Filter>).
The exception is catched in
org.eclipse.equinox.http.servlet.internal.customizer.ContextFilterTrackerCustomizer.addingService(ServiceReference<Filter>)
and logged in debug. Any reasons to log this in debug ? at least I would expect to have a warn or an info related to the failure, in my case it would have save me some time, and I think I am not the only one in that case.
Best,
Arnaud
[Updated on: Fri, 07 August 2020 09:13] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04020 seconds