Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Load Oracle Database Driver Jar in AEM

mohitaem
Level 2
Level 2

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 ...

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:

1610264_pastedImage_0.png

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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.

View solution in original post

3 Replies
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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.

View solution in original post

smacdonald2008
Level 10
Level 10

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.

vsharm
Level 4
Level 4

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.