Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8300399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:33:10+00:00 2026-06-08T16:33:10+00:00

I’m attempting to use a 3rd party JDBC driver with my Coldfusion installation, but

  • 0

I’m attempting to use a 3rd party JDBC driver with my Coldfusion installation, but I’ve gone wrong somewhere, and I’m not exactly certain where.

I placed the .jar file inside of cfusion\wwwroot as well as WEB-INF\lib, but did not add it to my Datasources, as I’m not exactly certain if I have to/how I would since it is a local file.

Then, inside my test.cfm file I added the following code:

<cfset objDriver = createObject("java","java.sql.DriverManager")>
<cfset prop = createObject("java","java.util.Properties").init()>

<cfset prop.put("prop1", "prop1")>
<cfset prop.put("prop2", "prop2")>
<cfset prop.put("prop3", "prop3")>

<cfset conn = objDriver.getConnection("jdbc:mydriver:", prop) >

I verified that the properties and connection work fine in Java, so this is not the issue persay, but when I go to the page I get the following error on getConnection():

No suitable driver found for jdbc:mydriver:

I was wondering if I missed something obvious or silly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:33:11+00:00Added an answer on June 8, 2026 at 4:33 pm

    I would add it to the datasources instead. Otherwise you are going to end up writing ugly Java code to “get around” the driver.

    To add to the DSN’s use the “other” datasource and add a “connection string”. These are specifica to the driver and you should have some samples associated with the driver you have downloaded. They serve as a good starting point.

    You can see strings from other datasources you have added by examining the “neo-datasources.xml” file in the /lib directory of your CF install.

    You will need to insure the driver is in the /lib directory of the CF install (not the same as WEB-INF/Lib) on older version of CF – not sure about CF 10. You also need to restart CF after putting it in the directory.

    alternately you can add the file to the classpath by editing the jvm config file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
Seemingly simple, but I cannot find anything relevant on the web. What is the
I need a function that will clean a strings' special characters. I do NOT

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.