Error in fetching data source in a form | Community
Skip to main content
March 27, 2020
Question

Error in fetching data source in a form

  • March 27, 2020
  • 3 replies
  • 2324 views

i have added jar files in bundles and also i have made changes in 

Apache Sling Connection Pooled DataSource

but still i am not connecting the database AEM 6.4

where i maid mistake ? please tell me

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

3 replies

Theo_Pendle
March 27, 2020
Hi, do you have any more information on the error? What does the error.log file say?
March 29, 2020

@theo_pendle This is what error log saying how can resolve this error could you please tell me i am new to this AEM.

30.03.2020 12:47:47.673 *ERROR* [0:0:0:0:0:0:0:1 [1585552665658] POST /libs/fd/fdm/content/crud.dermis.formDataModelManager.json HTTP/1.1] org.apache.metamodel.jdbc.JdbcUtils Could not establish connection: Communications link failure
30.03.2020 12:47:47.675 *ERROR* [0:0:0:0:0:0:0:1 [1585552665658] POST /libs/fd/fdm/content/crud.dermis.formDataModelManager.json HTTP/1.1] org.apache.metamodel.jdbc.JdbcUtils Error code=0, SQL state=08S01
30.03.2020 12:47:47.670 *ERROR* [0:0:0:0:0:0:0:1 [1585552665658] POST /libs/fd/fdm/content/crud.dermis.formDataModelManager.json HTTP/1.1] org.apache.tomcat.jdbc.pool.ConnectionPool Unable to create initial connections of pool.

 

30.03.2020 12:47:31.225 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.sling.datasource.DataSourceFactory.354c0572-e77f-444c-983c-5d8911cb836f)] org.apache.sling.datasource bundle org.apache.sling.datasource:1.0.2 (56)[org.apache.sling.datasource.DataSourceFactory(9183)] : The modified method has thrown an exception (com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

  

April 3, 2020

Did u get the solution?