Bug 476769 - Getting an exception when using the "test connection" button
Summary: Getting an exception when using the "test connection" button
Keywords:
Status: CLOSED EOL
Alias: None
Product: penrose
Classification: Retired
Component: Studio
Version: 2.0
Hardware: All
OS: All
high
medium
Target Milestone: ---
Assignee: Endi Sukma Dewata
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: 471500
TreeView+ depends on / blocked
 
Reported: 2008-12-17 00:49 UTC by Noam
Modified: 2020-03-27 19:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:48:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Noam 2008-12-17 00:49:07 UTC
After entering wrong details of Penrose Server in the new server wizard and clicking on the "test connection" button an exception message is displayed instead of a user friendly message that describe the reason of the unsuccessful connection.

TC number #33

Comment 1 Noam 2008-12-17 00:59:30 UTC
In addition to that, another exception occurs in Penrose Server and it displayed in Penrose Server console.

Comment 2 Endi Sukma Dewata 2009-01-29 00:10:51 UTC
This has been fixed. Now when testing JDBC or LDAP connection parameters, Penrose Studio will only show the exception's message, not the full stack trace.

Please note that some JDBC drivers such as MySQL driver includes the stack trace in the exception message. So if you're testing invalid MySQL connection you will still see a rather long & cryptic error message.

The connection validation is actually performed by the Server, so that's why you see the exception there. It is important to show this exception in the server log to help troubleshooting the problem.


Note You need to log in before you can comment on or make changes to this bug.