Connect teradata JDBC driver on coldfusion 11 - jdbc

I tried to install TERADATA JDBC on ColdFusion 11 using this link.
Everything is fine, but when I try to create the datasource, I get following errors:
"Connection verification failed for data source: TeraJDBC4
java.sql.SQLException: No suitable driver available for TeraJDBC4,
please check the driver setting in resources file, error:
com.teradata.jdbc.TeraDriver The root cause was that:
java.sql.SQLException: No suitable driver available for TeraJDBC4,
please check the driver setting in resources file, error:
com.teradata.jdbc.TeraDriver"
ColdFusion Class Path: C:\td\tdgssconfig.jar, C:\td\terajdbc4.jar
I am using ColdFusion 11 and WAMP web server. How can I solve this issue?

The error you are getting, is due to the missing driver from ColdFusion repository.
You need to place the jdbc driver jar file(s) at \ColdFusion11\cfusion\runtime\lib\ and restart ColdFusion 11 Application Service.
Do check, if the DB you are using, is supported with ColdFusion 11 or not here.

Related

error while connecting to snowflake via JDBC

I am trying to connect to snowflake via JDBC from mule and we are getting the below error.
: Cannot create JDBC driver of class 'net.snowflake.client.jdbc.SnowflakeDriver' for connect URL 'jdbc:snowflake://cisco.us-east-1.snowflakecomputing.com/?user=XXXXXX&warehouse=XXXXXXX&db=XXXX&schema=XXXXXX&role=XXXX&CLIENT_SESSION_KEEP_ALIVE=true&password=XXXXXXXXX
Error:-
Can some one help to resolve the above issue.
: Cannot create JDBC driver of class 'net.snowflake.client.jdbc.SnowflakeDriver' for connect URL
Root Exception stack trace:
java.sql.SQLException: No suitable driver
Please help to resolve the issue.
Please try below options
Option 1 -
Try both the minimum form (e.g. xy12345) and the full account name (e.g. xy12345.east-us-2.azure, but without .snowflakecomputing.com), making sure to not include the jdbc:snowflake:// string.
https://docs.snowflake.com/en/user-guide/jdbc-configure.html
Option 2 -
Verify your driver version.
Download the driver ( if not ) as per steps and try again
https://docs.snowflake.com/en/user-guide/jdbc-download.html

Correct driver to connect to Cloudera VM 5.10(CDH 5.10) hue hive interface sample database from client interface

I am trying to make a connection to Cloudera VM 5.10(CDH 5.10) hue hive interface sample database to test the right driver using dbVisualizer tool (https://www.dbvis.com/download)
I checked CDH 5.10 has hive version 1.1, I got this information from
I tested two drivers
1) Hive JDBC 1.1.0 standalone from
https://repo1.maven.org/maven2/org/apache/hive/hive-jdbc/1.1.0/
2) "hive-jdbc-1.1.0-cdh5.10.0-standalone.jar" directly getting from cdh VM.
Cunnection URL I am giving is :
jdbc:hive://http://127.0.0.1:10000
When I connect I get this error message
"An error occurred while establishing the connection:
The selected Driver cannot handle the specified Database URL.
The most common reason for this error is that the database URL
contains a syntax error preventing the driver from accepting it.
The error also occurs when trying to connect to a database
with the wrong driver. Correct this and try again."
Please let me know if I am doing something wrong here.

java.sql.SQLException: ORA-28040: No matching authentication protocol DSRA0010E: SQL State = 99999, Error Code = 28,040

I am trying to change the datasource in WebSphere pointing to some other environment. I am able to connect it using toad or sqldeveloper. However when I am trying to test the connection from websphere, it is giving the following error.
"java.sql.SQLException: ORA-28040: No matching authentication protocol DSRA0010E: SQL State = 99999, Error Code = 28,040. View JVM logs for further details."
I tried restarting the server but didn't helped. Not sure what is going wrong in this.
You didn't post any configuration information or server logs, so, assuming the old Oracle connection URL was working prior to you changing it, one common cause of this problem is changing the connection URL to move from an Oracle 11 instance (or earlier) to an Oracle 12 instance without properly updating the classpath of the WebSphere JDBC Provider to use at least the ojdbc6.jar.

How to connect Neo4j JDBC driver with DbVisualizer

I am running Neo4j 2.1.6, tried Neo4j 2.20 as well.
I can not connect it with DbVisualizer 9.1.13
And I can not find ANY step by step clear explanation on how to do it.
First I've got binary JDBC Neo4j-2.0.1-SNAPSHOT here
I can run my just installed Neo4j instance from the browser localhost:7474
and I don't know what the REST API is all about and if it is turned on by default.
I can run the Neo4j 2.20 same way that comes with a new feature of user authorization and I am not sure if that JDBC driver is compatible with it. My user:pass is neo4j:neo
So in DbVisualizer I clicked Tools->Driver Manager and filled out like this:
My connection properties are as follows:
I've got the error on connect:
Product: DbVisualizer Pro 9.1.13
Build: #2310 (2015-01-11 11:26:27)
Java Version: 1.8.0_25
OS Name: Windows Server 2012 R2
An error occurred while establishing the connection:
The selected Driver cannot handle the specified Database URL.
The most common reason for this error is that the database URL
contains a syntax error preventing the driver from accepting it.
The error also occurs when trying to connect to a database
with the wrong driver.
If you look at the documentation for the jdbc driver, you see that the database URL is:
jdbc:neo4j://localhost:7474/
Please try to make it work with 2.1.6 first.
For the 2.2. auth you have to use the token you got back as password.

Configuring TNS Datasources in ColdFusion 8

I'm researching how to set up a Coldfusion 8 (CF) data source that uses Oracle TNS under CentOS. I checked out this Stackoverflow article. But, I'm still having some difficulty. I got a copy of our tnsnames.ora file and put it on the server at /coldfusion/install/folder/TNSNamesFolder/TNSNames.ora. I downloaded the latest Oracle JDBC drivers for 11g, put them in a folder in the class path and restarted CF. I verified that the new JAR files were picked up by viewing the settings summary. The JDBC URL I'm using is:
jdbc:oracle:thin:TNSNamesFile=/coldfusion/install/folder/TNSNamesFolder/TNSNames.ora/TNSNames.ora; TNSServerName=%TNSEntry%
But, I'm getting the following error: The Network Adapter could not establish the connection. Another issue that occurred to me is that if there's another JDBC driver for Oracle in the class path, how do I know what JAR it's in? How do I make sure that these new JDBC drivers are the only ones in use for Oracle?
JDBC URL : jdbc:macromedia:oracle:TNSNamesFile=C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\tnsnames.ora;TNSServerName=db9d1.db
Driver Class : oracle.jdbc.OracleDriver

Resources