[ 
https://issues.apache.org/jira/browse/TRAFODION-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470023#comment-16470023
 ] 

ASF GitHub Bot commented on TRAFODION-3067:
-------------------------------------------

GitHub user kevinxu021 opened a pull request:

    https://github.com/apache/trafodion/pull/1559

    [TRAFODION-3067]Print out original exceptions for cert error

    Attach original error on customized exception. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kevinxu021/incubator-trafodion a_t4cert

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafodion/pull/1559.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1559
    
----
commit 05bf784292fb2fb5aa2121b20ec4cdac1d2b9448
Author: Kevin Xu <kaihua.xu@...>
Date:   2018-05-10T07:40:15Z

    Print out original exceptions for cert error

----


> JDBCT4 does not show original exceptions while got cert file issues
> -------------------------------------------------------------------
>
>                 Key: TRAFODION-3067
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3067
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: client-jdbc-t4
>            Reporter: Kevin Xu
>            Priority: Major
>
> it only says 'Internal error' which would be hard to track the real issue. 
> {color:#FF0000}Error stack like:{color}
> *** ERROR[29705] Internal error: Failed to encrypt the password. Notify:
> ´íÎó: System.err: org.trafodion.jdbc.t4.SecurityException: *** ERROR[29705] 
> Internal error: Failed to encrypt the password. Error
> System.err: at org.trafodion.jdbc.t4.Cipher.encrypt(Cipher.java:94) Error
> System.err: at org.trafodion.jdbc.t4.Security.encryptPwd(Security.java:131) 
> Error
> System.err: at org.trafodion.jdbc.t4.SecPwd.encryptPwd(SecPwd.java:196) Error
> System.err: at 
> org.trafodion.jdbc.t4.InterfaceConnection.encryptPassword(InterfaceConnection.java:659)
>  Error
> System.err: at 
> org.trafodion.jdbc.t4.InterfaceConnection.secureLogin(InterfaceConnection.java:699)
>  Error
> System.err: at 
> org.trafodion.jdbc.t4.InterfaceConnection.connect(InterfaceConnection.java:904)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to