Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Error in fetching data source in a form

Avatar

Level 1

Screenshot (32).pngi 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

4 Replies

Avatar

Level 10
Hi, do you have any more information on the error? What does the error.log file say?

Avatar

Level 1

@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