Expand my Community achievements bar.

SOLVED

Load Oracle Database Driver Jar in AEM

Avatar

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

Avatar

Correct answer by
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.



Arun Patidar

View solution in original post

3 Replies

Avatar

Correct answer by
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.



Arun Patidar

Avatar

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.

Avatar

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.