All Forums Database
Agrias 6 posts Joined 06/11
20 Oct 2012
JDBC connection through JAVA throwing an error, "Could not create connection; - nested throwable:"

Hi everyone,
We're trying to connect to our teradata database through Java using TMODE=ANSI, and it's throwing the following error:
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata JDBC Driver] [TeraJDBC] [Error 1000] [SQLState 08S01] Login failure for Connection to,tmode=ANSI Sat Oct 20 17:47:14 IST 2012 socket,tmode=ANSI cid=633c3c sess=0
I didn't find much help on google with this, so I'm hoping someone here has either seen this error before, or can spot what could be the problem with my connection string.
Here's what the java code portion looks like:
   <driver-class>com.teradata.jdbc.TeraDriver</driver- class>
   <check-valid-connection-sql>sel date</check-valid-connection-sql>
Any help or suggestions is very much appreciated.  Thank you!

Eric SantAnna 1 post Joined 10/11
22 Oct 2012

Try to replace , for / in the connection string:

You must sign in to leave a comment.