Red Hat Bugzilla – Bug 476769
Getting an exception when using the "test connection" button
Last modified: 2016-01-28 16:59:25 EST
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
In addition to that, another exception occurs in Penrose Server and it displayed in Penrose Server console.
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.