Hi Team, I am trying to connect with Oracle database 19c. I have given
JDBC configuration and used the below code. But in the below code, I am
getting datasource pool as "No data source found with name 'AppCloudDB'
(after asking 0 providers)". Can you please help me to find where I am
doing a mistake? @SlingServlet(paths = "/bin/getDB", methods = "GET",
metatype=true, label = "AppCloud Database Connectivity",description =
"AppCloud Database Connectivity")public class TestingDB extends
Hi Team, We are working on upgrading our aem version from 6.3 to 6.5.
Because of our internal platform team restriction we are not able to
update our dispatcher apache version and we are currently using 2.2. We
are not able to do dispatcher flush, we are getting 200 response when
doing the dispatcher flush but the files are not getting removed inside
the mentioned path in the dispatcher flush agent.
Shekhar is trying to access "src/main/resources" folder from the java
code. He want to create, write, read and delete the file in the
resources folder. Since we install the java project as bundle its not
possible to hardcode the path so he is finding it difficult to read the
path of "src/main/resources".
Hi Team,We followed this 2 articles for using relational Database in
AEM:Adobe Experience Manager Help | Injecting a DataSourcePool Service
into an Adobe Experience Manager OSGi bundleAdobe Experience Manager
Help | Querying and Persisting Adobe Experience Manager data into
MySQLAs per the article guideline, we are able to use Oracle 12c
database in AEM. But to use Oracle 12c Database we have to upload Oracle
12c Driver as a jar separately using OSGi bundle. Our production team
does not allow to...
Thanks so much for the quick response smacdonald2008The stackoverflow
post was really useful to find the right solution. This is the code for
loading the inputStream from the file which is inside the resources
folder in bundle jar. Thanks,Mohit
Hi Team,We are trying to load "geodb.mmdb" which is present in resources
folder in our AEM bundle code. Maxmind uses this mmdb file. Code for
loading the file:File database = new
File(classLoader.getResource("geodb.mmdb").getFile());dbReader = new
DatabaseReader.Builder(database).build();We are pretty sure that the
file exists in the resources folder in our maven project. When we build
our package and upload it in AEM we get "java.io.FileNotFoundException:
\geodb.mmdb (The system cannot find the...
HiStill, we are not able to load the file which is present in the
resources folder. Name of the file geodb.mmdb. Code for loading the
file:We are trying to load the file for adding Maxmind geoip2
solution.AEM version : 6.3Java version : 1.8