Can not access bundle context from JSP in CQ5.5
I created an OGI bundle , named : com.sdl.ws.integration.profserv.webservice.connector.server.external.beansI can see the bundle under : http://localhost:4502/system/console/bundlesFollowing is my...
View ArticleError package upload - com.day.jcr.vault.fs.config.ConfigurationException:...
I am uploading a content packaged created in one environment to QA environment. I see this error everytime. The package upload status bar moves till 100%, see some more updates but at the end pops up...
View ArticleRegd:org.apache.sling.api.scripting.ScriptEvaluationException:...
Hi , I'm getting the below exception while accessing the pages. It was working fine earlier.. Any help on this please....??? Caused by: org.apache.sling.api.SlingException:...
View Articleerror in logs
Hi i am getting this error frequently in my logs.Though there is no impact on the working of cq5 , i just want to know the reason for this. *ERROR* [ObservationManager]...
View ArticleHow can I add a custom attribute to the create page dialog?
I followed the following link to add a custom attribute called starred and this attaribute can be displayed in siteadmin grid http://dev.day.com/docs/en/cq/current/developing/customize_siteadmin.html...
View Article@Reference annotation causing customised servlet stop getting called
Hi guys, I noticed that as soon as I add the @Reference annotation in my servlet, the sevlet will not be called when the form is submitted. As soon as I remove @Reference the servlet will be called....
View ArticleDispatcher Flush Agent on Publisher not invalidating cache
Hi all, We're having an issue with invalidating that cache apon activation/replication of content, but only from the Publish flush agent. I've copied the default flush agent on the Publish instance,...
View ArticleIn the OOTB comments component of CQ5.4, the comments are getting posted...
We are currently working on CQ 5.4 and have configured two publish instances with one author. We are also using IIS 7.5 as a dispatcher and load balancer (as there are 2 publish instances). We are...
View ArticleHow to avoid extra div tags, when we add components using
I tried using the below code in my component jsp from forums to remove those extra div tags when we try to add components using <cq:include tags. <% if (WCMMode.fromRequest(request) !=...
View ArticleParse json data from inputstream using org.apache.sling.commons.json library
I had two options to receive the input stream data either xml or json. I decided to go to the json route. I am getting complex input data from an API in the json format. Can someone tell me how do I...
View ArticleEnable RMI connection to the CQ Repo (CRX)
Hello,we are trying to enable RMI access to our CRX.My understnding is that we need to need the following setup: In order to set up RMI, you will need to change the configuration in the CRX instance....
View ArticleXSS filtering
We recently had our website security tested and one of the issues was that it was vulnerable for XSS attacks. I did some reading on the web about this and came across the package XSSFilter as part of...
View ArticleRollout in 5.4 fails if there is a rep:policy node in target language
Hi! We are using CQ 5.4 and cannot do a rollout for some parts of our content. This is what the log says: 12.09.2012 10:31:40.191 *INFO* [10.62.45.75 [1347438700176] POST /bin/wcmcommand HTTP/1.1]...
View ArticleAdding a button to the sidekick toolbar
I've been attempting to add new "page preview" functionality to the sidekick by adding a new button to the sidekick's bottom toolbar. So far i haven't had a problem adding the button and assigning a...
View Articlei18n - how to add support for more languages (CQ 5.4)
I have a number of questions around adding support for more languages. We are already using multiple languages and would like to add more. 1. Standard languages providedin /libs/wcm/core/i18n I can see...
View ArticleCQ5 Response Encoding
Hi Folks, Does any one know whats default character encoding used by CQ5? (UTF-8, ISO-8859-1 etc) Does it depend on whats the encoding used when the file was stored, if so whats the default encoding...
View ArticleCQ5.3 server not ready
*ERROR* webapp-CRX Launchpad Webapp: ERROR: Error starting slinginstall:F:\Microsoft\cq5\crx-quickstart\launchpad\startup\15\org.apache.sling.runmod e-2.0.3-tlp-R818849.jar...
View ArticleCQ5.5 ClientContext.get('profile/region') === 'MW' versus Generic Store...
Hi there, I have been having segment resolution problems for a custom data store that sets a new property, "region", on the data store "profile". Precisely, it adds a new "region" property to the...
View ArticleReceived 409 (Conflict) for saving changes in workspace crx.default
When i creat a new jsp file and save the file , i get the following error on CRXDE lite : Could not save changes. Received 409 (Conflict) for saving changes in workspace crx.default. This node...
View ArticleHow to replicate bundle from Author to Publish
Hi, I have published a java bundle by right clicking and select 'Build Bundle' on the 'bnd' file, the bundle gets deployed properly on the 'Author' instance, but the 'publish' instance deploy failed....
View Article