<< Back to previous view

[JERSEY-1470] Improved diagnostics Created: 12/Oct/12  Updated: 08/Aug/13  Resolved: 08/Aug/13

Status: Resolved
Project: jersey
Component/s: None
Affects Version/s: None
Fix Version/s: 2.2

Type: New Feature Priority: Critical
Reporter: Martin Matula Assignee: Unassigned
Resolution: Fixed Votes: 0
Σ Remaining Estimate: 0 minutes Remaining Estimate: Not Specified
Σ Time Spent: 1 week, 2 days, 21 hours Time Spent: Not Specified
Σ Original Estimate: 2 days, 6 hours Original Estimate: Not Specified

Issue Links:
is related to JERSEY-1430 A MessageBodyWriter that produces Med... Open
JERSEY-1489 Improve guidelines on error handling ... Sub-task Resolved Marek Potociar  
JERSEY-1490 Expose configuration and diagnostics ... Sub-task Resolved Miroslav Fuksa  
JERSEY-1491 Add Errors utility (similar to the on... Sub-task Resolved Michal Gajdos  
JERSEY-1492 Expose configuration of application (... Sub-task Resolved Pavel Bucek  
JERSEY-1493 Tracing support (from Jersey 1.x) - s... Sub-task Resolved Libor Kramolis  
JERSEY-1497 Add "Monitoring and diagnostics" sect... Sub-task Resolved Miroslav Fuksa  
Participants: arungupta and Martin Matula


Need to provide better error reporting - hints in the exception messages, info on the configuration (what resources and providers were loaded), exact version of Jersey used (perhaps in each error message), consider exposing MBean(s), provide guidelines on more descriptive error reporting (instead of logging the exception message, people should try to provide a more descriptive message relevant to the place in the code where the exception occurred (hints on what may have gone wrong) along with the original message). This feature needs to be split up into individual tasks that will be scheduled for milestones.

Comment by arungupta [ 29/Oct/12 04:35 PM ]

The following GET method:

public List<String> getList() { return list; }

reports only the following error:

[#|2012-10-26T13:52:47.839-0700|INFO|44.0|org.glassfish.jersey.server.ApplicationHandler|_ThreadID=83;_ThreadName=http-listener-1(2);_TimeMillis=1351284767839;_LevelValue=800;|[failed to localize] init.msg(Jersey: 2.0-m09 2012-10-15 12:52:42)|#]

And a detailed error message stating that Jersey could not find a suitable message body worker was missing.

Generated at Sat Apr 19 15:33:04 UTC 2014 using JIRA 4.0.2#472.