Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

CQDarren
CQDarren
Offline

Badges

Badges
6

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
9

Discussions

Discussions
0

Questions

Questions
4

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by CQDarren
Customize the badges you want to showcase on your profile
Re: Using HttpClient = Error importing OSGI bundle from Eclispe - Adobe Experience Manager 15-10-2015
Hi,Thanks for the post..I believe the I made a mistake with the pasting of my code as I had to remove some client specific stuff... And must of removed the annotation by mistakeIve created a small test bundle package osgi.test;import java.io.IOException;import javax.servlet.ServletException;import org.apache.commons.httpclient.DefaultHttpMethodRetryHandler;import org.apache.commons.httpclient.params.HttpMethodParams;import org.apache.felix.scr.annotations.sling.SlingServlet;import org.apache.htt...

Views

248

Likes

0

Replies

0
Using HttpClient = Error importing OSGI bundle from Eclispe - Adobe Experience Manager 15-10-2015
Hi Everyone,I hope someone can help.Im trying to import a servlet into CQ via maven and getting an error which I dont understand. My servlet is using HttpClient to call a third party api. When I import via maven I get the following error16.09.2013 12:36:08.210 *ERROR* [OsgiInstallerImpl] org.apache.sling.servlets.resolver.internal.SlingServletResolver bindServlet: Servlet service not available from reference [javax.servlet.Servlet, javax.servlet.ServletConfig, java.io.Serializable]Here is my cod...

Views

634

Likes

0

Replies

4
Best Way to Sort a List of Resources ? - Adobe Experience Manager 15-10-2015
Hi everyone,As you all probably know im new to CQ. I have been looking over the APIs, and was wondering what the best solution is to sort a list of Resources.My current snippet is :Iterator myResources = res.listChildren(); while (myResources.hasNext()) { Resource resource = myResources.next(); String name = resource.getName(); LOGGER.info("The node found is = " + name); } So what I need to do is sort the resources by name before I loop? Do I need a custom comparator for this or is there somethi...

Views

1.5K

Likes

0

Replies

1
Eclipse Code Completion not working in JSP - Adobe Experience Manager 15-10-2015
Hi everyone,I have successfully configured my CQ project using maven and eclipse and can import, I have followed the steps here : http://dev.day.com/docs/en/cq/5-3/developing/developmenttools/developing_with_eclipse.htmlAs the document suggests I add all the jar files to my build path but the code completion id not working in my JSP.For example in my JSP I haveresourceResolver.getResource("/content...");however when I hit control space I do not see any methods on the resourceResolver object.Does...

Views

298

Likes

0

Replies

1
Re: Error when trying to consume OSGI Service - Adobe Experience Manager 12-06-2013
Hi Harrishmv,You have two ways 1) In your CQ installation you will have a quickstart.bat and you can apply vm args thier.. i.e "set CQ_JVM_OPTS="2) You can add the vm options to the cq executable jar using ergonomics e.g -Dxx:useSplitVerifierI would do it in the quickstart.bat.. Saves you configuring each time..Hope it HelpsDarren.

Views

1.2K

Likes

0

Replies

0
Re: Error when trying to consume OSGI Service - Adobe Experience Manager 19-03-2013
After some digging around I found this: https://issues.apache.org/jira/browse/FELIX-3568This relates to java 1.7 however I am running java 1.6.0_29.As stated I changed the VM option and it has worked! Im still unsure what the problem was and how the VM option has fixed it and was hoping someone could help me understand this?

Views

1.2K

Likes

0

Replies

0
Re: Error when trying to consume OSGI Service - Adobe Experience Manager 19-03-2013
Hi Pawan / everyone,Further to this I tried to activate my component using (immediate =true) and I received the following error. I think this may be why sling cannot retrieve the object… Am I missing some dependencies / config or something?19.03.2013 11:55:43.454 *INFO* [OsgiInstallerImpl] org.apache.sling.servlets.resolver.internal.SlingServletResolver Registered ServletResourceProvider: servlet=com.day.crx.ide.CRXDECompileServlet, paths=[/libs/crxde/compile, /libs/crxde/compile.servlet]19.03.2...

Views

1.2K

Likes

0

Replies

0
Re: Error when trying to consume OSGI Service - Adobe Experience Manager 19-03-2013
Hi Pawan,Thank you for the reply for the reply and Ive looked at the thread as suggested but still to no joy 😞Here is my Service classes:Interfacepackage com.adobe.training;public interface RepositoryService { public String getRepositoryName();}Implementationpackage com.adobe.training.impl;import com.adobe.training.RepositoryService;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.apache.felix.scr.annotations.Component;import org.apache.felix.scr.annotations.Activate;import org...

Views

1.2K

Likes

0

Replies

0
Error when trying to consume OSGI Service - Adobe Experience Manager 18-03-2013
Hi Everyone,This is my first post after attending the developer and advanced developer courses on CQ5.5. Everything has been fine up to the point where I am trying to create and consume an OSGI service but am receiving an error. I was hoping someone could help?I have created a bundle which has an interface (RepositoryService) and implementation (RepositoySeviceImp) . I have modified the bnd file to export my package:Export-Package: com.adobe.trainingImport-Package: *Private-Package: com.adobe.tr...

Views

11.2K

Likes

0

Replies

9