Skip to content

JDeveloper and MySQL JDBC Drivers

February 26, 2010

As I become “Oracleized”  I am learning JDeveloper. I ran into a snag trying to get the ADF tutorial working with MySQL – and I thought I would pass on the fix.

The embedded Weblogic instance complains that it can’t load the MySQL JDBC driver. This is somewhat confusing – since JDeveloper can find the driver just fine (assuming you add it to your project).  

The trick is to copy the MySQL driver jar  to WebLogic’s lib directory. Finding out which lib directory is not so easy for a newbie -since there are a few possible locations .  This is where Jdeveloper configures your DefaultDomain:

~/.jdeveloper/system11.1.1.2.36.55.36/DefaultDomain/lib

Your install will be slightly different – but you get the gist of it.

Advertisements
2 Comments
  1. revirand permalink
    May 29, 2010 8:04 am

    Thank you very much for the tip about MySQL JDBC driver in JDeveloper.

Trackbacks

  1. Mysql Weblogic unable to load driver error « Zend Framework, Extjs, Linux e outras jóias

Comments are closed.

%d bloggers like this: