Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350164

Summary: DBWS: Better runtime validation and error handling required
Product: z_Archived Reporter: David McCann <david.mccann>
Component: EclipselinkAssignee: David McCann <david.mccann>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David McCann CLA 2011-06-23 12:07:56 EDT
We currently do not handle validation and errors very well in the runtime portion of DBWS.  Bug 340723 is a good example of this.  In that case, an invalid log level in the sessions.xml file caused the application not to load, but the exception did not indicate the actual cause.  We resolved the builder-side of the equation for that particular issue by checking the log level, and if invalid we log a warning and set a valid default value.  This cannot be done easily in the runtime code, as the exception gets swallowed up by core code, and even if we have access to it we don't currently have any way to log the warning on the server.
Comment 1 David McCann CLA 2012-05-01 12:02:17 EDT
We have no specific use-cases at this time, so there is nothing to fix.  Closing.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:08:36 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:16:45 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink