Skip to main content
Singaiah_Chintalapudi
Level 7
Mar 31, 2016 4:08 PM UTC
Solved

DataSourcePool in Java

Hi,

I am using AEM 6.1 and I want to get the DataSourcePool reference. I am using the below dependency:

<dependency>
            <groupId>com.day.commons</groupId>
            <artifactId>day.commons.datasource.poolservice</artifactId>
            <version>1.0.10</version>
            <scope>provided</scope>
        </dependency>

But still, it is not able to find this DataSourcePool. Can anyone please help me on this?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Mar 31, 2016 4:57 PM UTC

We have this documented:

https://helpx.adobe.com/experience-manager/using/datasourcepool.html

I just built too successfully: 

Did you read this community article? 

6 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
Mar 31, 2016 4:57 PM UTC

We have this documented:

https://helpx.adobe.com/experience-manager/using/datasourcepool.html

I just built too successfully: 

Did you read this community article? 

Translate
Singaiah_Chintalapudi
Level 7
Mar 31, 2016 5:21 PM UTC

smacdonald2008 wrote...

We have this documented:

https://helpx.adobe.com/experience-manager/using/datasourcepool.html

I just built too successfully: 

Did you read this community article? 

 

Yeah I've seen this and modified my POM file. But still it is not able to resolve that dependency.

Translate
smacdonald2008
Level 10
Mar 31, 2016 5:56 PM UTC

WHy not use the Dependencies in the article? They built fine for me. 

Translate
smacdonald2008
Level 10
Mar 31, 2016 5:58 PM UTC

Also - you can try using the Uber dependency: 

<dependency>

 

    <groupId>com.adobe.aem</groupId>

    <artifactId>uber-jar</artifactId>

    <version>6.1.0</version>

    <classifier>obfuscated-apis</classifier>

    <scope>provided</scope>

</dependency>

Translate
Singaiah_Chintalapudi
Level 7
Mar 31, 2016 8:10 PM UTC

Thanks for your reply. I tried all these but no luck.

Translate
smacdonald2008
Level 10
Mar 31, 2016 8:42 PM UTC

We need to setup a connect session. There is something in your environment that is preventing this from working. email me scottm@adobe.com and we will book a call with connect. 

Translate