Quantcast
Viewing all articles
Browse latest Browse all 445

Teradata connectivity Issue through JDBC Driver in java

Hi All,
I am trying to connect my Teradata server through JDBC Driver in java to my Web Application. I am using the following Connection String:
String connectionString ="jdbc:teradata://DatabaseServerName/DATABASE=xxx,DBS_PORT=1025,USER=xxxx,PASSWORD=xxxxx";
I am getting the following error:
com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata JDBC Driver] [TeraJDBC 13.00.00.07] [Error 1032] [SQLState HY000] Single Sign-On NOT supported for Mechanism TD2.
    at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:91)
    at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:66)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.initEncrypt(GenericTeraEncrypt.java:221)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.<init>(GenericTeraEncrypt.java:135)
    at com.teradata.jdbc.jdbc.GenericAssignState.action(GenericAssignState.java:82)
    at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:120)
    at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:199)
    at com.teradata.jdbc.jdbc_3.ifjdbc_4.TeraLocalConnection.<init>(TeraLocalConnection.java:95)
    at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:54)
    at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:217)
    at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:150)
    at java.sql.DriverManager.getConnection(DriverManager.java:664)
    at java.sql.DriverManager.getConnection(DriverManager.java:270)
I tried to solve this issue by adding LOGMECH=td2 in the connection string. Since my teradata server is implemented using the TD2 Log On Mechanism, But still i am facing the same issue.
Can anyone Please help me to solve this issue.
Thank you

Forums: 

Viewing all articles
Browse latest Browse all 445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>