Load Oracle Database Driver Jar in AEM | Community
Skip to main content
October 30, 2018
Solved

Load Oracle Database Driver Jar in AEM

  • October 30, 2018
  • 3 replies
  • 1980 views

Hi Team,

We followed this 2 articles for using relational Database in AEM:

Adobe Experience Manager Help | Injecting a DataSourcePool Service into an Adobe Experience Manager OSGi bundle

Adobe Experience Manager Help | Querying and Persisting Adobe Experience Manager data into MySQL

As per the article guideline, we are able to use Oracle 12c database in AEM. But to use Oracle 12c Database we have to upload Oracle 12c Driver as a jar separately using OSGi bundle. Our production team does not allow to load this Oracle 12c drive as jar separately. Is there any way we can add it along with the project.
When added directly in pom.xml file are getting the transitive dependency error:

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

You can do it by package manager, you can put oracle osgi bundle inside /apps/app/install folder in lower environment  and deploy via package manager.

3 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 31, 2018

You can do it by package manager, you can put oracle osgi bundle inside /apps/app/install folder in lower environment  and deploy via package manager.

Arun Patidar
smacdonald2008
October 31, 2018

As a side note - those are older AEM community articles - we will update them for AEM 6.4. But the point that you need to wrap a database driver file into an OSGi bundle and deploy still exists.

May 16, 2019

Make sure that the jar file which you are planning to include under /apps/install folder in your codebase is the OSGi compatible Jar file.