aem

Package Installed in AEM 6.0 Web Console Bundles (OSGi Bundles) is Not Installing Properly (Status Should be Active not Installed)

依然范特西╮ 提交于 2019-12-14 02:41:31
问题 Please help me on my concern wherein I tried to Install/Upload the recruitment-client-1.0.0.jar in AEM Web Console Bundles of AEM 6.0 and the status is just "Installed" that should be "Active" , so when I tried to click play under Actions column, status is still "Installed" and has an error in log file seen below. *FYI that it works before in CQ5 server instance. org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Uses constraint violation.

How to build service and how to active that in CQ5

会有一股神秘感。 提交于 2019-12-13 19:58:54
问题 I am learning OSGI, CQ5 these days. I am trying to build a bundle that have service (My first code). I successfully build a bundle and upload that bundle on CQ5, and install that also. But component shows registered only, not active . Why ? I also want to activate this service. How can I do this ? Someone on net said to make jsp. I also do that, but didn't get any response. Help me from this problem. I spent lot of time on this, lot of searching, but I didn't get any solution. How can I use

How can I resolve these AWS imports?

放肆的年华 提交于 2019-12-13 18:11:36
问题 In my pom.xml I have this: <instructions> <Embed-Transitive>true</Embed-Transitive> <Export-Package> com.amazonaws.HttpMethod, com.amazonaws.services.s3.* </Export-Package> <Embed-Dependency> gson, aws-java-sdk, jackson-core </Embed-Dependency> ... And as dependencies I have these: <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> <version>1.11.115</version> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-core<

why do we have multiple jsp's for a single component in CQ5?

对着背影说爱祢 提交于 2019-12-13 15:30:28
问题 I am new to CQ5. While learning its concepts i came to know that CQ5 uses Sling framework for request processing and resolves scripts based on best match. I have seen few components( most of them are page or top level components) in CQ5 which are having more than one jsp under a single component(e.g page component have page.jsp, body.jsp, header.jsp similary redirect component have redirect.jsp, body.jsp, content.jsp) . So i wanted to ask in what scenarios, we will be having multiple jsp's

AEM - How to restrict a template from showing in a certain path

前提是你 提交于 2019-12-13 12:33:15
问题 I wonder if someone has achieved what I'll post here. In order to allow a template to be created under a certain path, there is a flag allowedPaths that receives a regex. So, if I want my template "test" to appear only under /content/www/xx/xx/test-templates and child elements, I can do this: /content/www/.*/.*/test-templates(/.*)? But what if I want to make the opposite? I want the template "test" to appear in every /content/www/xx/xx/ node and beyond, EXCEPT /content/www/xx/xx/test

Adobe CQ5's sidekick is empty (no components shown)

五迷三道 提交于 2019-12-13 11:43:40
问题 I've added a paragraph system component in my template, trying to emulate the Geometrixx's contentPage. Everything is fine but I can't drag any components into the system because there are none to add. What can I be missing? More information: My component page inherits from foundation's page. (primary type: cqComponent) My template page has that component as resource type. (primary type: cqTemplate) The page (primary type: cqPage), in its jcr:content node has the component as resource type,

Resource Resolver returned as null via sling models

匆匆过客 提交于 2019-12-13 09:40:00
问题 Resource Resolver is being returned as null while injecting through sling models, let me know if anything I am missing : I tried with : @Model(adaptables = Resource.class) public class Navigation { @Inject @Source("sling-object") private ResourceResolver resourceResolver; } I also tried with: @Model(adaptables = Resource.class) public class Navigation { @Inject private ResourceResolver resourceResolver; } In both cases it was being returned as null and throwing a null pointer exception. Let

currentStyle.<propertyName> is returning null in cq5 publisher, which is working perfectly fine in author

白昼怎懂夜的黑 提交于 2019-12-13 07:59:33
问题 I am using sightly to access the design dialog properties for a component. something like <span data-sly-test="${currentStyle.delimiter}">${currentStyle.delimiter}</span> but all I am getting is an empty string. I tried to resolve the issue by trying out the following. Activating the design node Deleting the page and creating a new page. Deleting components and dragging and dropping the component again on the page. I checked the JSON output of currentDesign and all the values am trying to

Generic component in CQ5 page

寵の児 提交于 2019-12-13 07:05:16
问题 My question is very basic . I am creating a new template and in that template, I will have a concrete structure using DIV elements. But in almost 7-8 if the DIV's, I need the data to be entered by the user. What component/line of code I can use to have all those 7-8 DIV's editable and customizable by the page creator ? I tried multiple paragraphs with : <cq:include path="par" resourceType="foundation/components/parsys"/> But only the top one appears on the page. !! 回答1: For having multiple

Invalid iso code stored in /content/myapp/uk/en: en_uk

心不动则不痛 提交于 2019-12-13 07:03:10
问题 I am new to Adobe CQ, when i am opening a page from '/content' GET /content/myapp/uk/en.html HTTP/1.1] com.day.cq.wcm.core.impl.PageImpl Invalid iso code stored in /content/myapp/uk/en: en_uk is appearing in my logs, how to resolve this ? 回答1: I can reproduce your issue by adding a jcr:language property in the /content/geometrixx/en/jcr:content node as shown in the below image, which produces me the below error. 27.01.2017 14:38:46.640 WARN [0:0:0:0:0:0:0:1 [1485549526613] GET /content