Setup PostgreSQL as DataSource for AEM Forms | Adobe Higher Education
Skip to main content
Mahedi_Sabuj
Community Advisor
Community Advisor
December 11, 2023

Setup PostgreSQL as DataSource for AEM Forms

  • December 11, 2023
  • 2 risposte
  • 1263 visualizzazioni

Hi Community Members,

I wanted to setup PostgreSQL as DataSource for AEM Forms. I have configured "Apache Sling Connection Pooled DataSource" for Postgres with below details:

Postgres is now available as DataSource during create new Form Model however getting an error message "Error in fetching DataSource". Can anyone please guide me how to complete the setup?

Questo argomento è stato chiuso alle risposte.

2 risposte

Shashi_Mulugu
Community Advisor
Community Advisor
December 11, 2023

@mahedi_sabuj where are you getting above error? On publisher?

Mahedi_Sabuj
Community Advisor
Community Advisor
December 11, 2023

Author Environment @shashi_mulugu 

After checking the documentation, It seems need to install the PostgreSQL OSGi Bundle, but not sure where to get the JAR bundle file.

Mahedi Sabuj
Pulkit_Jain_
Adobe Employee
Adobe Employee
December 29, 2023

@mahedi_sabuj 

What is the error msg that you're getting in the author error logs for the attempt?

And yes, database driver wrapper bundle jar needs to be installed to make a successful connection. You can convert the postgres DB driver jar into a bundle by adding the manifest file and deploy the bundle.

kautuk_sahni
Community Manager
Community Manager
January 3, 2024

@mahedi_sabuj Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni