Highlighted

Problem in MySQL Connection

karthikbhat3624

15-09-2018

Hello,

I'm trying to use MySQL DB connection,

I've configured in OSGi also.

When I try to do

"@Reference

private DataSourcePool source"

it is giving null value to it, hence it is giving error while we try do source.getDataSource("DataBaseTravel");

I'm Using AEM 6.4v.

krishh_187smacdonald2008

Thanks in Advance

Replies

Highlighted

Jörg_Hoh

Employee

16-09-2018

How have you configured your datasource? Do you see in the error.log the string "datasource" (check case-insensitiv!)

Jörg