I get "cannot find terrasso library" when connecting to TD via ODBC driver version 15.10 (and 15.4; worked in past with version 13) using MSAccess2013. I do get the connection dialog and after clicking connect, I get "not enough information to log on (#0)".
I have another client, OpenText's BIQuery, which connects via ODBC (same driver and DSN) and it does not give the error messages and does connect.
Anyone have ideas on why MSAccess2013 does not get along with the DSN and/or driver?
Thanks,
Mike
Cannot find terasso library with MSAccess2013
Bug in ODBC driver 15.10
When issueing the following statement
select case when (1 = 0) then 1 else 0 end;
in Teradata Studio 15.00.02 using ODBC Driver Version 15.10 I receive the following weird message:
Executed as Single statement. Failed [ Elapsed time = 00:00:00.000 STATEMENT 1: Select Statement failed.
When issueing the same statement using ODBC driver version 14 I get the correct result of '1'.
Any ideas? Looks like a bug to me.
Cannot connect from oracle database to teradata database
We are running a java program that is supposed to connect to a teradata warehouse.
Suddenly in the last two weeks the process with takes several hours and cannot connect to retrieve data and pull it over, of eventually connects after several hours and pulls the data.
Most of the time after a few hours we get this error message:
X_ERROR_MESSAGE..................: JAVA ERROR during CIW Customer Extract:com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata Database] [TeraJDBC 14.00.00.05] [Error 8028] [SQLState HY000] The LAN message Authentication is invalid.
PL/SQL procedure successfully completed.
Info: App-V 4.6 bug that hits .Net Data Provider for Teradata 15.10 (and maybe other versions)
If you have something that puts user-related stuff (such as a path to LOCALAPPDATA) in a registry value under HKLM, this will break your sequence. This bug is reported here:
http://packageology.com/2013/04/app-v-v4-6-virtual-registry-bug/
Temp AppData Folder
Temp Folder
have exactly that, references to LOCALAPPDATA folders in them.
Access VBA connection to Teradata Express VM 15.10
Hi, I'm not sure where I am going wrong and have been trying to get this working for several nights now. Hopefully someone is able to pick what has happened.
I have Teradata Express 15.10 running in a VM on ESXi (converted using standard VMWare provided convertor).
In another VM (Windows 8.1) I have installed TTU15.
I created a 32bit ODBC system DSN connection using Teradata driver.
SQL Assistant/Adminstrator can connect to Teradata Express via ODBC connection - but only using mechanism of TD2. Teradata.net attempts all fail. BTEQ connects OK (unless I specify .logmech ldap which causes failure). This isn't my issue, just information that may assist. Basically it does connect but only in some formats.
My issue is that I can't get any connectivity from Access VBA - some of the endless connection string tried (yes still using default dbc logon so haven't bothered hiding pw) are:
cn.Open "DSN=Tdata32;Driver=Teradata;Databasename=PVDATA;Uid=dbc;Pwd=dbc;"
cn.Open "DSN=Tdata32;Driver=Teradata;Database=PVDATA;Uid=dbc;Pwd=dbc;"
cn.Open "DSN=Tdata32;Database=PVDATA;Uid=dbc;Pwd=dbc;"
cn.Open "Provider=Teradata;DSN=Tdata32;Database=PVDATA;Uid=dbc;Pwd=dbc;"
cn.Open "Provider=Teradata;DBCName=ip address;Database=PVDATA;Uid=dbc;Pwd=dbc;"
cn.Open "DSN=TDE;Database=PVDATA;Uid=dbc;Pwd=dbc;"
cn.Open "Provider=MSDASQL;DSN=TDE;Driver={Teradata};Database=PVDATA;Uid=dbc;Pwd=dbc;"
cn.Open "Driver=Teradata;DBCNAME=TD-EXPRESS;LOGMECH=TD2;USEINTEGRATEDSECURITY=N;Uid=dbc;Pwd=dbc"
cn.Open "Provider=MSDASQL;DSN=TDE;Driver={Teradata};Database=PVDATA;Uid=dbc;Pwd=dbc;"
I've put TD-EXPRESS in the windows hosts file and tried that but it resolves on network OK if pinged anyway.
Any suggestions would be really welcome,
Thanks
[Teradata][ODBC Teradata Driver] Not enough information to log on
how to provide password encryptions in JDBC connections
Hi,
we have a requiremnt to enable auto connections for a JAVA application. we are using TD JDBC for connectivity. we understand SSO and TDWALLET isn't supported for this route of Teradata conenctions. we don't want to embed plain text passwords in JDBC connection strings. can you please suggest some alternate method to incoporate password encrytions in this scenario?
Regards
Session doesn't finish after connection closing in .Net application
Hi,
I am developing an application in .Net and using .Net provider for TD. I have the code as below. I am selecting the session no, setting a queryband and running a query and setting the query band off. Few of the values are coming from my windows form textboxes. This code runs at the click of a button on my form.
I expect that once this block is executed once and connection is closed, and again the button is pressed, a new sessionid should be created. But i noticed that the sessionid remains the same for every run. Even on the viewpoint, the session persists. When the form is closed and opened afresh, and this button is pressed again, a new sessionid is generated. What is wrong here? I have coded one application in VBA using ODBC and it worked as expected. I went through the follwing post and as mentioned, i am using .Net connector for TD and not ODBC.This is very critical to my application as my basic premise is that every time a query is run, it runs with a different sessionid, hence any help is really appreciated.
https://forums.teradata.com/forum/connectivity/connections-created-w-odbc-net-are-surviving-after-conn-close
--Samir Singh
public void Run_Originalquery() { string o_my_query_text; TdConnectionStringBuilder conStringBuilder; TdConnection tdCon; TdDataAdapter tdDA; DataSet dsComp; conStringBuilder = new TdConnectionStringBuilder(); conStringBuilder.DataSource = "uat"; conStringBuilder.UserId = "test"; conStringBuilder.Password = "test"; o_queryband = my_query_band.Text.Trim(); using (tdCon = new TdConnection(conStringBuilder.ConnectionString)) { try { tdCon.Open(); o_my_query_text = "sel session;"; using (tdDA = new TdDataAdapter(o_my_query_text, tdCon)) { // create the dataset using (dsComp = new System.Data.DataSet()) { tdDA.Fill(dsComp, "T_Database"); int iSchemaCnt = dsComp.Tables["T_Database"].Rows.Count; if (iSchemaCnt != 1) { MessageBox.Show("Something strange"); } else { //MessageBox.Show("Session Fetched Successfully!!"); o_sessionid = dsComp.Tables["T_Database"].Rows[0][0].ToString().Trim(); MessageBox.Show("Orig Session Fetched Successfully-" + o_sessionid); } } } using (TdCommand cmd = tdCon.CreateCommand()) { cmd.CommandText = "SET QUERY_BAND ='query=" + my_query_band.Text.Trim() + ";' FOR SESSION;"; cmd.ExecuteNonQuery(); cmd.CommandText = query_to_run.Text.Trim(); cmd.ExecuteNonQuery(); o_query = query_to_run.Text.Trim(); MessageBox.Show("Original Query ran successfully!"); cmd.CommandText = "SET QUERY_BAND = NONE FOR SESSION;"; cmd.ExecuteNonQuery(); } tdCon.Close(); } catch (Exception ex) { MessageBox.Show(ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error); //Application.Exit(); } } }
Teradata linux python pyodbc - got incorrect longint value instead correct int value
Dear All,
I use pyodbc and Python to connect to Teradata on Linux. I use a simple query: `SELECT COUNT(*) FROM "my_table";` If I use Teradata Studio then I get a correct result, e.g: "123". With my python script I get this value: "140376711102716". When I rerun the script I get a different "bigint" (or timestamp or I don't know what this value is...). I use "ANSI=True" flag in my connection string. I don't use "CHARSET=UTF8" flag because if I use this then I get "bigint" too. But if my query result should contain strings as well then with "CHARSET=UTF8" flag I get "u'\u3152\u5453'" value instead of my correct result string that is "STR1"
So this issue occurs at numeric data type columns and numeric values. But only on Linux. On Windows, everything works perfectly with the same query, the same database, etc.
Does anybody have any idea about the issue?
Thank you!
CommandTimeout - Query doesn't abort if in responding state
Hi,
In my .Net application in which i connect to TD to run queries, i have given a CommandTimeout of 5 minutes. Now, when i submit a query that runs a large select statement, it runs for 2 minutes(active state)and then goes into responding state. It runs in this state for 10-15 minutes.
As i understand, CommandTimeout is only applicable when the query is in "Active" state. In my case, it is no more in active state and it keeps on running, but i want it not to run for so long. Is there a way i can abort a query kicked off from my application irrespective of which state it is in. I dont want any query to run on the platform after say 5 min that kicked off from my application. I want to handle is in my program and not through viewpoint/TASM.
Thanks !
Samir
password expired ado and vb6
My question is...if the psw expire, is possible to renew via vb6 code? the connection string is:
....
Set CON = New ADODB.Connection
CON.ConnectionString = "PROVIDER=MSDASQL;"& _
"DRIVER={Teradata};"& _
"DBCName=10.xxx.x.xxx;"& _
"DefaultDatabase=DFC;"& _
"UID=oixxxx;"& _
"PWD=Nove.2015;"
CON.Open
....
.NET provider (ver 15.xx), TdCommandBuilder, bulk load, error
Hello.
We use TdCommandBuilder/TdDataAdapter for bulk insert.
We use version 14.11.00.01, everything works fine,
I tried newer version, but sometimes I receive errors:
- 15.01.00.01
[.NET Data Provider for Teradata] [100038] Command did not complete within the time specified (timeout).
[Teradata Database] [3110] The transaction was aborted by the user.
[Socket Transport] [115003] The recieve operation timed out.
- 15.11.00.01
The statement that caused the error was not found. error: [Teradata Database] [ 3110] The transaction was aborted by the user.
Can you help me?
P.
.NET provider vs. ODBC
Hello.
We have some performance issue on Teradata DB. Select with 36 columns return approx. 10000 rows:
- .NET provider, TdDataReader ... 7:17 minutes,
- ODBC, DbReader ... 4:26 minutes.
Is it expected result? Or is any "known issue" in .NET provider when using reader?
P.
using TDCH cannot connect to Teradata database: username and password invalid
Hi all,
i am encuntering the following error when trying to use TDCH to load data to Teradata.
16/01/08 00:32:04 INFO tool.ConnectorExportTool: com.teradata.connector.common.exception.ConnectorException: java.sql.SQLException: [Teradata Database] [TeraJDBC 15.00.00.20] [Error 8017] [SQLState 28000] The UserId, Password or Account is invalid.
I am sure that my acc name and password is correct, as in i can connect through Teradata Studio.
I am not sure whether this is becuase that my account is a LDAP account, is there anyway to speficy the authentication in the configuration settings?
my command is:
hadoop com.teradata.hadoop.tool.TeradataExportTool \
-libjars $LIB_JARS \
-Dmapreduce.job.queuename=ingest \
-url jdbc:teradata://tsteraprod09/database=labs__test,chatter=off \
-username ****** \
-password ********* \
-jobtype hive \
-fileformat textfile \
-method internal.fastload \
-sourcetable test_fsy.probe \
-nummappers 2 \
-targettable test_fsy
Pls suggest!
Thank you very much!
best regards,
SY
Problem connecting to teradata using Python jaydebeapi module
Hi guys,
I've tried everything (e.g. troubleshooting, googling, etc) and am unable to solve this and am hoping that some of you can help me.
I'm trying to connect to a teradata server using the JDBC drivers provided. While I can do this within R, for some reason I keep running into errors with Python. My code is:
import jpype
import jaydebeapi
classpath = "~/tdgssconfig.jar;~/terajdbc4.jar"
jvm_path = "/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/lib/server/libjvm.dylib"
jpype.startJVM(jvm_path, "-Djava.class.path=%s" % classpath)
conn = jaydebeapi.connect('com.teradata.jdbc.TeraDriver', 'jdbc:teradata://TERADATA.SERVER.ADDRESS' , USERNAME', 'PASSWORD', ["~/tdgssconfig.jar","~/terajdbc4.jar"])
Each time I run the above code, I'll get to the last line and the following error appears:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/jaydebeapi/__init__.py", line 359, in connect
jconn = _jdbc_connect(jclassname, jars, libs, *driver_args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/jaydebeapi/__init__.py", line 182, in _jdbc_connect_jpype
jpype.JClass(jclassname)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/jpype/_jclass.py", line 55, in JClass
raise _RUNTIMEEXCEPTION.PYEXC("Class %s not found" % name)
jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class com.teradata.jdbc.TeraDriver not found
I'm inferring from the error that the module is having trouble finding the drivers. But I've confirmed multiple times that I can access the drivers at the location I've listed AND have tried moving the drivers to different locations, specifying the full path, etc. I don't know what's going on and why the module won't find it. Anybody have any ideas? I'm running Python 3.5 on Mac OSX 10.11.2. As indicated from the code, I'm using Java 1.8.
Thanks!!!
Querying an Oracle database from a Teradata query
Dear all,
I would like ti create a DB Link from a Teradata database (v. 14.10.05.09) to an Oracle database (10g) but the Create DBLink query doesn't work. I have looked on the Internet about this, but I didn't find anything relevant about it? How should I proceed to create the link between the two environments?
Thank you in advance
Regards
Error connecting with teradat odbc | DatabaseError: (0, u'[632] 523 630')
I've tried following the advice to export the ODBCINI but still get the 632 523 630 error. Any idea what is causing this?
It works on my MAC but not on a CENTOS server where I've installed the 15.10 odbc via "sudo rpm -ivh --nodeps tdodbc1510-15.10.01.00-1.noarch.rpm"
export ODBCINI=/opt/teradata/client/15.10/odbc_64/odbc.ini
echo $ODBCINI
/opt/teradata/client/15.10/odbc_64/odbc.ini
In [1]: from time import time
In [2]: import pandas as pd
In [3]: import teradata
In [4]: t = time()
In [5]: udaExec = teradata.UdaExec(appName='*appname*', version='1.0', logConsole=True)
2016-01-12 07:55:41,283 - teradata.udaexec - INFO - Initializing UdaExec...
2016-01-12 07:55:41,283 - teradata.udaexec - INFO - Reading config files: [u'/etc/udaexec.ini: Not Found', u'/home/*usr*/udaexec.ini: Not Found', u'/home/*usr*/udaexec.ini: Not Found']
2016-01-12 07:55:41,283 - teradata.udaexec - INFO - Found run number file: "/home/*usr*/.runNumber"
2016-01-12 07:55:41,283 - teradata.udaexec - INFO - Cleaning up log files older than 90 days.
2016-01-12 07:55:41,284 - teradata.udaexec - INFO - Removed 0 log files.
2016-01-12 07:55:41,296 - teradata.udaexec - INFO - Checkpoint file not found: /home/*usr*/*appname*.checkpoint
2016-01-12 07:55:41,300 - teradata.udaexec - INFO - No previous checkpoint found, executing from beginning...
2016-01-12 07:55:41,300 - teradata.udaexec - INFO - Execution Details:
/********************************************************************************
* Application Name: *appname*
* Version: 1.0
* Run Number: 20160112075541-6
* Host: XXXX
* Platform: Linux-2.6.32-504.16.2.el6.x86_64-x86_64-with-centos-6.6-Final
* OS User: *usr*
* Python Version: 2.7.10
* Python Compiler: GCC 4.4.7 20120313 (Red Hat 4.4.7-11)
* Python Build: ('default', 'Sep 2 2015 14:30:10')
* UdaExec Version: 15.10.0.12
* Program Name: /usr/local/bin/ipython
* Working Dir: /home/*usr*
* Log Dir: /home/*usr*/logs
* Log File: /home/*usr*/logs/*appname*.20160112075541-6.log
* Config Files: [u'/etc/udaexec.ini: Not Found', u'/home/*usr*/udaexec.ini: Not Found', u'/home/*usr*/udaexec.ini: Not Found']
* Query Bands: ApplicationName=*appname*;Version=1.0;JobID=20160112075541-6;ClientUser=*usr*;Production=False;udaAppLogFile=/home/*usr*/logs/*appname*.20160112075541-6.log;UtilityName=PyTd;UtilityVersion=15.10.0.12
********************************************************************************/
In [6]: #session = udaExec.connect(method='odbc',system='*hostname*', username='*usr*', password='*pwd*')
In [7]: session = udaExec.connect(method='odbc',system='*hostname*', username='*usr*', password='*pwd*', MechanismName='LDAP')
2016-01-12 07:55:41,373 - teradata.udaexec - INFO - Creating connection: {'username': '*usr*', 'password': 'XXXXXX', 'MechanismName': 'LDAP', 'system': '*hostname*', 'method': 'odbc'}
2016-01-12 07:55:41,374 - teradata.tdodbc - INFO - Loading ODBC Library: libodbc.so
2016-01-12 07:55:41,378 - teradata.udaexec - ERROR - Unable to create connection: {'username': '*usr*', 'password': 'XXXXXX', 'MechanismName': 'LDAP', 'system': '*hostname*', 'method': 'odbc'}
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/teradata/udaexec.py", line 172, in connect
**args))
File "/usr/local/lib/python2.7/site-packages/teradata/tdodbc.py", line 358, in __init__
checkStatus(rc, hDbc=self.hDbc, method="SQLDriverConnectW")
File "/usr/local/lib/python2.7/site-packages/teradata/tdodbc.py", line 194, in checkStatus
raise DatabaseError(i[2], u"[{}] {}".format(i[0], i[1]), i[0])
DatabaseError: (0, u'[632] 523 630')
---------------------------------------------------------------------------
DatabaseError Traceback (most recent call last)
<ipython-input-7-bd29de93a415> in <module>()
----> 1 session = udaExec.connect(method='odbc',system='*hostname*', username='*usr*', password='*pwd*', MechanismName='LDAP')
/usr/local/lib/python2.7/site-packages/teradata/udaexec.pyc in connect(self, externalDSN, dataTypeConverter, **kwargs)
170 odbcLibPath=self.odbcLibPath,
171 dataTypeConverter=dataTypeConverter,
--> 172 **args))
173 else:
174 raise api.InterfaceError(
/usr/local/lib/python2.7/site-packages/teradata/tdodbc.pyc in __init__(self, dbType, system, username, password, autoCommit, transactionMode, queryBands, odbcLibPath, dataTypeConverter, **kwargs)
356 finally:
357 lock.release()
--> 358 checkStatus(rc, hDbc=self.hDbc, method="SQLDriverConnectW")
359
360 # Setup autocommit, query bands, etc.
/usr/local/lib/python2.7/site-packages/teradata/tdodbc.pyc in checkStatus(rc, hEnv, hDbc, hStmt, method, ignore)
192 logger.debug((u"{} returned non-successful error code "
193 u"{}: [{}] {}").format(method, rc, i[0], i[1]))
--> 194 raise DatabaseError(i[2], u"[{}] {}".format(i[0], i[1]), i[0])
195 else:
196 logger.debug(
DatabaseError: (0, u'[632] 523 630')
"
sqoop import to teradata via kerberos authentication
Hi all ,
I am able to connect to teradata rdbms via sqoop below query :
sqoop import --connect jdbc:teradata://hostname/database=dbname --username xxxxx --password yyyyy --table tbname --split-by field1 -m 1
Above method uses password protected connectivity to teradata but i would like to utilize kerberos authentication. Please let me know the way of accomplishing it .
Note : the same environment allows me to connect to teradata utility jobs via kerberos connection thru logmech .
Error While Creating Volatile inside query in Spark While Using Teradata JDBC
I am encountering issues when I try to submit queries while doing "CREATE VOLATILE TABLE" using the Teradata JDBC driver class. I have tried the solution described within:
http://forums.teradata.com/forum/database/jdbc-unable-to-create-a-volatile-table-using-a-java-client
but adding a commit statement didn't work for me.
Currently I am able to submit queries to Teradata directly by wrapping the query in parentheses and aliasing the query like below:
(SELECT * FROM database.table) AS TEMP_TABLE
If I don't wrap the query and alias it then I receive the following error:
[SQLState 42000] Syntax error, expected something like a name or a Unicode delimited identifier or '(' between the 'FROM' keyword and the 'SELECT' keyword.
But if I try to select from a volatile table using the query below(with or without the wrapping described above) :
CREATE VOLATILE MULTISET TABLE tmp AS ( SELECT * FROM padw.cr_plcy ) WITH DATA PRIMARY INDEX(CR_PLCY_ID) ON COMMIT PRESERVE ROWS; COMMIT; SELECT * FROM tmp;
My url connection string is : "jdbc:teradata://FOO/, TMODE=TERA,TYPE=FASTEXPORT,SESSIONS=10"
My driver class is : com.teradata.jdbc.TeraDriver
Without wrapping the query string in parentheses the error that is returned is :
Exception in thread "main" java.sql.SQLException: [Teradata Database] [TeraJDBC 15.00.00.20] [Error 3707] [SQLState 42000] Syntax error, expected something like a name or a Unicode delimited identifier or '(' between the 'FROM' keyword and the 'CREATE' keyword.
With wrapping the query string in parentheses the error that is returned is :
Exception in thread "main" java.sql.SQLException: [Teradata Database] [TeraJDBC 15.00.00.20] [Error 3707] [SQLState 42000] Syntax error, expected something like a name or a Unicode delimited identifier or a 'SELECT' keyword or '(' or a 'NONTEMPORAL' keyword or 'AS' keyword between '(' and the 'CREATE' keyword.
Is there something fundamental I am missing? Any help would be greatly appreciated.
Thanks,
Charles
Connect Teradata SQLA using LDAP
Hi,
I have installed OpenLdap for windows and now I am trying to use LDAP to connect SQL Assistant.
I am looking for some help/guide which tell me how to create a DSN connection for using LDAP and what information do we need to pass in the DSN parameter and other fields.
Teradata connectivity Issue through JDBC Driver in java
Hi,
I am trying to connect my Teradata server through JDBC Driver in java using LDAP :
//********************************************************************* // // Copyright (c) 2004-2008 by Teradata Corporation // All Rights Reserved // //********************************************************************* // // File: Sample2.java // Purpose: This sample application will: // - log on // - log off // //********************************************************************* import java.sql.*; import java.util.Properties; public class Sample2 { public static void main (String [] args) throws ClassNotFoundException { // Teradata Type 4 JDBC Driver String url = "jdbc:teradata://X.X.X.X/"; try { // Load the Teradata Driver Class.forName ("com.teradata.jdbc.TeraDriver"); // Connect to the Teradata database specified in the URL // and submit userid and password. System.out.println("Connecting to " + url); Properties props = new Properties(); props.setProperty("CHARSET", "UTF16"); props.setProperty("LOGMECH", "LDAP"); props.setProperty("LOGDATA", "USER@@PASSWORD"); Connection con = DriverManager.getConnection(url, props); System.out.println("Established successful connection"); con.close(); System.out.println("Disconnected"); } catch (SQLException ex) { // A SQLException was generated. Catch it and display // the error information. // Note that there could be multiple error objects chained // together. System.out.println(); System.out.println("*** SQLException caught ***"); while (ex != null) { System.out.println(" Error code: " + ex.getErrorCode()); System.out.println(" SQL State: " + ex.getSQLState()); System.out.println(" Message: " + ex.getMessage()); ex.printStackTrace(); System.out.println(); ex = ex.getNextException(); } throw new IllegalStateException ("Sample failed.") ; } } }
I am using :
JDBC version : TeraJDBC__indep_indep.15.10.00.14
Teradata version : 15.00
And I got this error:
*** SQLException caught *** Error code: 1032 SQL State: HY000 Message: [Teradata JDBC Driver] [TeraJDBC 15.10.00.14] [Error 1032] [SQLState HY000] Single Sign-On NOT supported for Mechanism TD2. java.sql.SQLException: [Teradata JDBC Driver] [TeraJDBC 15.10.00.14] [Error 1032] [SQLState HY000] Single Sign-On NOT supported for Mechanism TD2. at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:94) at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDriverJDBCException(ErrorFactory.java:69) at com.teradata.jdbc.jdbc.GenericTeraEncrypt.initEncrypt(GenericTeraEncrypt.java:236) at com.teradata.jdbc.jdbc.GenericTeraEncrypt.<init>(GenericTeraEncrypt.java:147) at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:241) at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:208) at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35) at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25) at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179) at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169) at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:234) at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:160) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:187) at Sample2.main(Sample2.java:40) Exception in thread "main" java.lang.IllegalStateException: Sample failed. at Sample2.main(Sample2.java:82)
Can you help me?
Regards,
Alain