JDeveloper and MySQL JDBC Drivers
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.
Trackbacks
Comments are closed.
Thank you very much for the tip about MySQL JDBC driver in JDeveloper.