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
BedrockMission!

Learn More

View all

Sign in to view all badges

Jai1122
Community profile Jai1122 Level 3
Job title here
Location here
9 BADGES
Level 3

Level 3

Learn more
Joined the community 07-04-2015 3:11:55 AM
Offline
Top badges earned by Jai1122
Customize the badges you want to showcase on your profile
Re: Client libs error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Edubey, I am making an ajax call to a servlet and processing the JSON response to populate a div in the component.I referred some article that is similar to the one described here

Views

184

Likes

0

Replies

0
Client libs error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, My html structure is as follows, $(document).load(function(){ //do something }); Since i am loading the jQuery clientlib at the footer the jquery in the component is not working. It says $ is not defined. In such case is it impossible to use jQuery? Kindly let me know how i can proceed!!! Thanks,Jai.

Views

549

Likes

0

Replies

8
AEM Queries
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, I have few basic questions w.r.t AEMWhat is the 1000 nodes limit? Is it really significant?In AEM 6, we have migrated from TAR MK to TAR PM files. What are there in these tar files used for?

Views

122

Likes

0

Replies

1
Re: Sling Servlets
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Thanks a ton for the responses!!!

Views

472

Likes

0

Replies

0
Sling Servlets
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, Can someone please tell me what is the difference between SlingAllMethodsServlet and SlingSafeMethodServlet ?We use them when writing servlets but i am not sure which should be given preference.ThanksJai

Views

879

Likes

0

Replies

4
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
smacdonald2008 wrote... Why not use mvn clean install and install the bundle manually as described in the article. My requirement is i need to run a maven command that will install the bundle and content packages. I am sure there is a way to achieve this and I have already done this referring to this link in the past.As Opkar said there might be some misconfig in my project's pom files. I am trying to figure out that.

Views

540

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Yes i did that . The log i attached in previous reply is just the part that has Exception. The initial portion of the log is clean

Views

526

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Opkar Gill wrote... after the version element can you add the below elements and run again true I suspect you have an error earlier in your build, but it does not kill the build process, so please have a look I tried this, but no luck.You said: I suspect you have an error earlier in your build, but it does not kill the build process, so please have a lookCan you please be more elaborate on this?

Views

538

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Yeah tried that. Still facing the same issue. Attaching the maven error log

Views

535

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Yes opkar. The port is 4506. I do not see any errors in cq logs but the log from maven is as attached. From line number 20 you can see the Error

Views

527

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Yes Opkar. The profile is as follows, autoInstallPackage com.day.jcr.vault content-package-maven-plugin 0.0.24 install-content-package install install

Views

527

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
My bad.. Bundle installation is happening. I just executed the command from the wrong folder,sorry for that Opkar.I tried running mvn clean install -PautoinstallPackage from the content folder but still struck with the same error. I also created the folders in CRXDE Lite and configured filter.xml as

Views

538

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
No it is not helping. Actually i am getting a build failure.I am not sure why it is not deploying the OSGI bundles. It simply says that the jar is not an OSGI bundle!!

Views

529

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Ratna Kumar wrote... Hi Jai, Thanks for reaching out to Adobe Community. As you refer the article, https://helpx.adobe.com/experience-manager/using/first-osgi.html(First OSGI), the command used to install bundle is "mvn clean install", it will be located only in Target folder. You need to install manually to Adobe CQ console(http://localhost:4502/system/console)-->bundles. Thanks,Ratna Kumar. There is profile (autoInstallBundle) available in the pom.xml which automatically installs the bundle in...

Views

537

Like

1

Replies

0
Re: Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Opkar, I am using the maven command mvn clean install -Pautoinstallbundle. This has to install the bundle to the instance automatically (I have done this before).Also when i try to run the command mvn clean install -Pautoinstallpackage which should install the /apps/.. package, just says"Request to http://localhost:4506/crx/packmgr/service.jsp failed, response=Internal Server Error" in the logs and gives a build failure.

Views

525

Like

1

Replies

0
Maven OSGI error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, I tried to setup a maven project and refered the help docs.I have successfully compiled and jar files are available in the target folder. But it is not getting installed to the CQ instance.In the maven logs i could see "D://Workspace/target/my-bundle-SNAPSHOT-1.0-Jar is not an OSGI bundle, not uploading" . I am not sure what could be the error. Can someone please help me on this!!Thanks,Jai

Views

2.3K

Likes

0

Replies

22
Re: Page object not available
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
It is working!!!Managed to accomplish it like this ResourceResolver resourceResolver = request.getResourceResolver(); Resource resource = request.getResource(); PageManager pageManager = resourceResolver.adaptTo(PageManager.class); Page page = pageManager.getContainingPage(resource);Thanks kunal and edubey for your reply.

Views

657

Like

1

Replies

0
Page object not available
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, I am invoking a tag lib with slingRequest object in which i have the following code import com.day.cq.wcm.api.Page; public class Temp extends SimpleTagSupport{ public static String getValue(SlingHttpServletRequest request){ LOG.info("Resource Path is {}",request.getResource()); Page page = request.getResource().adaptTo(Page.class); LOG.info("Page is {}",page); } }The resource path from the log is /content/my-cq-page/jcr:content and the page object that i got is null. I am not sure why it...

Views

1.9K

Likes

0

Replies

3
AEM admin password changed
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, Our aem admin password got changed. We do not know how to revoke. Real urgent. Help us!!

Views

131

Likes

0

Replies

2
Re: Deprecated Comment Class
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Thanks for the response JK. But i have the following code,import com.adobe.cq.social.blog.Blog; import com.adobe.cq.social.blog.BlogEntry; import com.adobe.cq.social.blog.BlogManager; import java.util.Iterator; BlogManager blogMgr = resource.getResourceResolver().adaptTo(BlogManager.class); Blog blog = blogMgr.getBlog(req, resource.getPath()); BlogEntry entry = blog.getEntry();Iterator commentsIterator = entry.getComments();The last line returns me AEM5.6.1 com.adobe.cq.social.commons.Comment. B...

Views

241

Likes

0

Replies

0
Deprecated Comment Class
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Guys, I am using AEM5.6.1 with social packge 1.4 installed. When i use com.adobe.cq.social.commons.Comment i am getting a warning saying the Comment class is deprecated.But the docs does not say something like that. Can someone please let me know if it is deprecated or not.

Views

721

Likes

0

Replies

4
WCM Migration
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, This question is on behalf of my manager. We have a huge website on SDL Tridion and we have to migrate it to AEM. Customer is not intrested in authoring all the pages manually as it is costlier. They are expecting a automation kind of thing. I have no idea about Tridion. Also he was telling there is something called WCM Bridge, i am not sure for what it is used for.Can someone please tell me if there is a way to automate this kind of migration?

Views

1.5K

Likes

0

Replies

3
Re: Maven Build Issue
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
I am stilling facing the issue. I do not think it as a proxy issue also.

Views

236

Likes

0

Replies

0
Maven Build Issue
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, I am getting the exact issue mentioned hereLooks like the post is for tag management. How far this is true for AEM?Please post your comments.

Views

881

Likes

0

Replies

4
Re: JAR not available at adobe repositories
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi JK, I am using AEM 5.6.1 and cq-socialcommunities-pkg 1.4.206. I added the dependecies as folows com.adobe.cq.social cq-socialcommunities-api 1.4.206 provided com.day.cq. cq-quickstart 5.6.1 provided apis and getting an error saying Missing artifact com.day.cq.:cq-quickstart:jar:apis:5.6.1. I tried changing the cq-quickstart dependency to 6.1.0 but as expected it is not working.

Views

796

Likes

0

Replies

0
Re: JAR not available at adobe repositories
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi,Thanks for the response. I am looking for com.adobe.cq.social.socialcommunities-parent jar which is not part of the dependency specified above.

Views

788

Likes

0

Replies

0
JAR not available at adobe repositories
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, I am trying to migrate OSGI bundles from CRXDE Lite to Maven. I added dependencies required. When i tried to install i got an error saying[ERROR] Failed to execute goal on project test-utils: Could not resolve dependencies for project com.test.wem:test-utils:bundle:0.1-SNAPSHOT: Failed to collectdependencies at com.adobe.cq.social:cq-social-commons:jar:1.4.172: Failed to read artifact descriptor for com.adobe.cq.social:cq-social-commons:jar:1.4.172: Failure t find com.adobe.cq.social:soc...

Views

2.0K

Likes

0

Replies

8
sling include
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
I have used but what is ?Can someone help me know the diffrence between them?

Views

544

Likes

0

Replies

2
Re: Can we include components using javascript?
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Ok I will try that. Many thanks zeeshan khan

Views

205

Likes

0

Replies

0
Re: Can we include components using javascript?
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi, My above code actually prints the entire existing component code if i try to view source. My use case is i am making an Ajax Call getting a JSON Array of objects as response[which consists of child pages of a particular page]. I am iterating through the JSON Array to display the pages.At the end of each page i have to include one more custom component. Is there any way to achieve this?

Views

219

Likes

0

Replies

0