📜 ⬆️ ⬇️

Weblogic 10.3 + Mysql

After a long shamanism with the new IDE JDeveloper 11g for me and the integrated application-server WebLogic 10.3 that came with it, finally got to know how to get MySql support.

And the essence of the problem is this: the above products are now the brainchild of the notorious Oracle company, so it is not surprising that by default their application server does not support MySql. And since in the imported application, a little more than all the EJBs turned to the muscular base, it turned into a really Problem.
The solution turned out to be very simple (I will describe the solution process for Linux, for Windows it is most likely similar):

1) it is necessary to find the path to the domain used by the server (we will call it $ DOMAIN_DIR)
2) go to $ DOMAIN_DIR / lib and see a wonderful readme there, saying that it is from here that the server loads the .jar archives lying there
3) copy the latest version of the JDBC driver for Mysql there (you can easily get it from their official site)
4) run our wls. Now everything should work -)
')
I hope this guide will be indexed and will help someone to avoid wasting a lot of time)

Source: https://habr.com/ru/post/60979/


All Articles