How to setup Keycloak 6 with Oracle Database
Keycloak comes with H2 database for quick prototyping and simplification to bootstrap. But in production, you may want to change it to a more mature database like Oracle, MySQL, PostgreSQL etc. To do that, there are 2 simple steps you need to follow 1) Add Oracle Oracle JDBC Thin driver Go to modules folder and create below path modules\system\layers\keycloak\com\oracle\ojdbc6\main Create a module.xml at main folder with below content <?xml version=”1.0″ ?><module xmlns=”urn:jboss:module:1.3″ name=”com.oracle.ojdbc6″> <resources> <resource-root path=”ojdbc6″/> </resources> <dependencies> <module name=”javax.api”/> <module name=”javax.transaction.api”/> </dependencies></module> Copy ojdbc6.jar to main folder ( I use 11.2.0.4 version). You can download ojdbc.jar with below url. … Continue reading How to setup Keycloak 6 with Oracle Database