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
  • 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 o...

    Type

    Questions

    Views

    328

    Likes

    0

    Replies

    0
  • 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....

    Type

    Questions

    Views

    714

    Likes

    0

    Replies

    4
  • 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(); Stri...

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    1
  • 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 c...

    Type

    Questions

    Views

    340

    Likes

    0

    Replies

    1
  • 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 configurin...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    0
  • 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 coul...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    0
  • 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.apach...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    0
  • 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 c...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    0
  • 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 in...

    Type

    Questions

    Views

    11.4K

    Likes

    0

    Replies

    9