Gracefully Handle Bad DB Login [message #785210] |
Sat, 28 January 2012 12:07  |
Eclipse User |
|
|
|
Hi All,
I was wondering if anyone knows of a way to gracefully handle DB login errors from the BIRT viewer in order to display a user-friendlier 'bad login' message back to the user (and replacing the less friendly messages I've reproduced below).
For the particular case I'm working on, the login credentials are being passed to BIRT via parameter prompts at runtime.
Thanks for any help you can provide w/ this.
*********************************************
Error using 'frameset':
The following items have errors:
Table (id = 935):
- Can not load the report query: 935. Errors occurred when generating the report document for the report element with ID 935. (Element ID:935)
Error.ReportQueryLoadingError2 ( 1 time(s) )
*********************************************
Error using 'preview':
Table (id = 935):
- An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
org.eclipse.birt.report.data.oda.jdbc.JDBCException: There is an error in get connection, ORA-01017: invalid username/password; logon denied
. (Element ID:935)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.17439 seconds