"No suitable driver was found" exception from javaobject

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default "No suitable driver was found" exception from javaobject

    Hi there, I am accessing this Java object from CF that interacts with the
    database. I can't directly access the database using CF (long story) so I've to
    use this java object but the problem is that when I access this java object, i
    recevie the exception that 'No suitable driver was found' from the java object.
    Obviously, its not finding the JDBC driver. but the problem is that, I've the
    classpath for the jdbc driver setup and if i run that java object (using a java
    test program from the command prompt), it works fine and can make a connection
    to the database. I also have JDBC path set in the cf administrator but no luck
    any suggestions? I am using CFMX7, Java 1.4, and oracle 9i thank you

    shahzad Guest

  2. Similar Questions and Discussions

    1. MySQL Connector .NET 1.0.6 and "Connection unexpectedly terminated" exception
      Dear newsgroup, I'm having a critical problem with the MySQL Connector .NET 1.0.6. I'm developing a .NET (Version 1.1 SP1) application on a...
    2. JDBC Query Using CONNX Driver Returning"COMPUTED_COLUMN"
      I'm performing a simple select JDBC query using a CONNX DB driver and the column names are returned as COMPUTED_COLUMN_1, COMPUTED_COLUMN_2, etc....
    3. "Invalid message format" error from JDBC driver
      Hello, all. I have a query that runs perfectly when I run it from pgAdmin3, but bombs when I run it from ColdFusion using the JDBC driver. I'm...
    4. Microsoft Word printing to "Acrobat Distiller" printer driver
      When I print directly to the "Acrobat Distiller" printer from Microsoft Word, the filename that is outputted has a prefix of "Microsoft Word -...
    5. Websphere session persistence gets "protocol violation" using oracle jdbc driver
      Hi, We use oracle (8.1.7) as the session persistence database for our websphere 3.5.4 application server. After 15 min of running a stress test,...
  3. #2

    Default Re: "No suitable driver was found" exception from javaobject

    nobody has ever gotten this either?

    if not, do u've any suggestions or any ideas?

    any macromedia people have any idea?

    thank you
    shahzad Guest

  4. #3

    Default Re: "No suitable driver was found" exception from javaobject

    i suppose there could be any number of things wrong, permissions on the JAR,
    conflicts w/cf JDBC driver, etc. but i guess the simplest might be that you've
    not added that JAR to the *cf* classpath. you can do this via cfadmin or dump
    it into cfinstall/wwwroot/web-inf/lib dir.

    PaulH Guest

  5. #4

    Default Re: "No suitable driver was found" exception from javaobject

    dumping it into cfinstall/wwwroot/web-inf/lib worked. Thank you very much
    shahzad Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139