Skip to main content



      Home
Home » Eclipse Projects » Equinox » HttpWhiteboardFailureException logged as debug in equinox
HttpWhiteboardFailureException logged as debug in equinox [message #1830954] Fri, 07 August 2020 05:10 Go to next message
Eclipse UserFriend
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 05:13] by Moderator

Re: HttpWhiteboardFailureException logged as debug in equinox [message #1831014 is a reply to message #1830954] Sun, 09 August 2020 02:30 Go to previous messageGo to next message
Eclipse UserFriend
It looks like the behavior was changed not so long ago via this Bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=544356

Specifically this part:

https://git.eclipse.org/c/equinox/rt.equinox.bundles.git/diff/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/customizer/ContextFilterTrackerCustomizer.java?id=13f073a0f979c092f3b36c6487b3ce8435df8555

No description is given for the general reasoning for this change. Perhaps you could ask on the Bugzilla for the reasoning.
Re: HttpWhiteboardFailureException logged as debug in equinox [message #1841002 is a reply to message #1831014] Fri, 30 April 2021 03:21 Go to previous message
Eclipse UserFriend
So I have asked in the bug some time ago without any answer, but commenting a closed bug is probably not the right thing to do.
I will probably open a separate bug for this as it seems a bug to me
Previous Topic:[Http Service] Invalid session id change event
Next Topic:Resolved Bundle Problem
Goto Forum:
  


Current Time: Thu May 15 03:34:54 EDT 2025

Powered by FUDForum. Page generated in 0.02770 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top