Customer Portal

Designer can not find class: oracle.jdbc.driver.OracleDriver

Comments 5

  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi,

    didn't this start to appear after you used the "use alternate plugins location" option from your other forum post?

    Best regards,
    Jaro
  • Avatar
    jonjlee
    0
    Comment actions Permalink
    Hi Jaro,

    Sorry for the delayed response. No, this problem appears whether or not I specify an alternate plugins location.

    Jonathan
  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi Jonathan,

    can you try just using "database=ORACLE" instead of "dbDriver=oracle.jdbc.driver.OracleDriver" in the connection cfg file? This will make the Designer use its built-in Oracle JDBC driver. Overall, the configuration of the connection could look something like the attached screenshot. This is an example of the connection file content:

    user=sample
    jdbcSpecific=ORACLE
    password=sample
    name=oracle
    passwordEncrypted=false
    threadSafeConnection=true
    database=ORACLE
    dbURL=jdbc\:oracle\:thin\:@some_hostname\:1521\:some_database

    From the contents of your connection cfg file I'm suspecting you're not using the built in Oracle driver and maybe trying an external one?

    Regards,
    Jaro
  • Avatar
    jonjlee
    0
    Comment actions Permalink
    I am not using a custom Oracle JDBC driver. After removing the dbDriver property and replacing it with "database=ORACLE", the error in the Problems window disappears. Thanks for pointing that out!

    Out of curiosity, though, shouldn't I be able use the "dbDriver" property instead of the "database" property? The clover engine understands it since I can run the graph -- only the Designer reports that error.
  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi Jonathan,

    I'm not sure why the dbDriver property doesn't work for you - the driver should be on classpath of Designer. I just quickly tried it, and it work in my setup. Luckily using database property works for you.

    Regards,
    Jaro

Please sign in to leave a comment.