Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all 12476 articles
Browse latest View live

Pass values between two workflow steps.

$
0
0

Hi,

 

 

I have requirement to pass values from one workflow step to another workflow step .

 

1. In workflow step 1 , we have created dynamic user group.

 

2. I need to get user group name in another workflow step.

 

 

Thanks

 

Ravindra


Value not loading when using checkboxgroup.

$
0
0

Hi

 

      I am using a checkboxgroup as xtype. I have a cq:widget node whose xtype is checkboxgroup. Inside the node i have one items node. and inside items i have my individual checkboxes. In my dialog whatever i am selecting and submitting is goin to my CRX. But when i refresh and load my component again , all my checkboxes are unchecked. Can somebody please suggest me a solution for this. Its very urgent

 

 

Thanks in advance

 

Veena

How to post a form to a servlet in CQ5.5?

$
0
0

Hi all,

  I'm using CQ5 to develop some things. and now i am not so clearly how to post a 'FORM' and accept with a SERVLET.

 

  I've seen this 'http://forums.adobe.com/message/4932739#4932739' already, and try it. But once i add a new <input /> like :<input name="age" value="age" />.

and i submit this form, then tell me error: javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {}age

 

  see the code

   jsp:

     <!-- String action = /content/myproject/en/thanks   -->

    <form id="submitForm" method="post" action="<%= action %>.POST.html" onsubmit="return validate();">

        <input type="hidden" name=":redirect" value="<%=resourceResolver.map(action)%>" />

        <input type="hidden" name=":formpath" value="<%=currentNode.getPath()%>" />

        <input type="hidden" name=":formtype" value="<%=component.getResourceType()%>" />

        <input type="hidden" name="_charset_" value="utf-8" />

        <input name="age" value="26" />  <!-- if i comment this line, it can submit success, otherwise show me Status: 500. -->

        <input type="submit" value="Submit"/>

    </form>

 

  servlet:

    @Component(immediate = true, metatype = false, label = "QuestionnaireServlet")

   @Service

   @Properties(value = {

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.methods", value = { "POST" }),

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.resourceTypes", value = { "sling/servlet/default" }),

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.selectors", value = { "POST" }),

                    @org.apache.felix.scr.annotations.Property(name = "sling.servlet.extensions", value = { "html" })

   })

   public class QuestionnaireServlet extends SlingAllMethodsServlet implements

                    OptingServlet {

 

    protected void doPost(SlingHttpServletRequest request,

                              SlingHttpServletResponse response) throws ServletException,

                              IOException {

          //it seems never call this function.

    }

   }

 

can anybody told me in details ?

How to set Request Attribute value to a textfield value in a component

$
0
0

I have a component that containis a textfield widget, i want to set/update/prefill this text field with a value that is set in request attribute, how can i achieve this in CQ

 

Thanks

Service is not getting Service ID in OSGI Bundle hence not starting ?

$
0
0

Hi ,

I am getting an unusual issue while deployement of service . I am using following syntax to write :

 

@Service(value=SomeService.class)

@Component(enabled=true,immediate = true, metatype = true, label = "Some Service")

 

 

Its not getting started and not getting service id as well.

 

Please help.

column wise fields in dialog

$
0
0

Hi,

Can we arrange textfields, checkbox and other field types in multiple colum wise instead of showing it in row wise in a dialog widget?

 

Can we use xtype: grid for adding textfields/checkboxed in row colum wise?

 

Thanks

Unable to replicate robots.txt through to the dispatcher

$
0
0

I implemented robots.txt on both author and publish instances using the link below:

 

http://crxdelight.com/2012/02/04/how-to-protect-your-cq-instances-from-google-searches/

robots.txt exist and it is visible on both author and publish instances. When i tried to display the robots.txt on dispatcher link "http://localhost/robots.txt", i got the error below:

Not Found

The requested URL /robots.txt was not found on this server.

 

Is there any specific configuration settings needed on the dispatcher for it to recognize the robots.txt? Or are there any issues that could cause this problem?

 

Thank you.

CQ5.5 Developer Certification !!

$
0
0

Hi. I registered for 9A0-327: Adobe CQ 5.5 Component Developer ACE Exam. I am looking for ideas/pointers to prepare and pass the exam. Thanks in advance.


CUG log in and log out

$
0
0

Hi,

 

I am testing out the Closed User Group feature. I've created a user group and its members. I applied this group and administrator group to the content page. I have no problem logging in as the admin but when I log in as the user I've created, it shows error page not found. I allowed the group to read pages so I am not sure where the problem is. Also, is there a way to block the cug to log into author?

 

How do you create a customised log in and log out page?

Ratings and Comments vs Ratings and Comments?

$
0
0

A little background, we are currently on CQ 5.4 but are working on migrating to AEM 5.6.  In 5.4 we overlaid the OOTB Comments/Ratings components so now when we upgrade we have a few issues that we need to work out.  While looking at the code differences between OOTB 5.4 and OOTB 5.6 you can see that everything related to Ratings and Comments in 5.6 is deprecated. 

 

Ok.  We'll deal with the upgraded version then... problem is the Adobe documentation still actively promotes the old (now deprecated) ratings and comments components:

 

http://dev.day.com/docs/en/cq/5-6/administering/social_communities/comments_and_ratings.ht ml

 

As well as what appears to be the new ones:

 

http://dev.day.com/docs/en/cq/5-6/developing/DevelopingWithSocialCommunities/SocialCommuni tiesElements/UsingRatings.html

 

Even the Geometrixx code in 5.6 uses a mixed bag of old and new depending on which part of the Geometrixx code you are looking at.  The sidekick in 5.6 has the old "Collaboration" group as well as the "Social Collaboration" group with a Ratings and Comments component under each group. 

 

Clearly we don't want to continue using code that is deprecated if we can help it but there are features in the old Ratings component that don't seem to be available in the new Ratings component.  Namely the ability to rate a page as an anonymous user.  The ability to "allow comments" is not clearly defined either.  I can see it working in the Geometrixx example on the second link above but I can't figure out how to configure it from the dialog or documentation.

 

Additionally it looks like all the comments and ratings are going to be stored in a different place in the repository.  Is there any migration tool to move existing comments to the new structure?

 

Any help is appreciated,

   Dave

OSGI Bundle will not start

$
0
0

Hi Everyone,

 

I hope someone can help as my OSGI bundle will not and im not sure what is wrong.

 

I am importing a package using maven into CQ however my bundle does not start.  The OSGi bundle in felix is showing the following stack trace:

 

Imported Packagescom.day.cq.commons from com.day.cq.cq-commons (178)

com.siteworx.cq5.ooyala.client from com.siteworx.cq5.ooyala.core (301)

com.siteworx.cq5.ooyala.client.request from com.siteworx.cq5.ooyala.core (301)

com.siteworx.cq5.ooyala.service from com.siteworx.cq5.ooyala.core (301)

javax.activation from com.day.commons.osgi.wrapper.mail (101)

javax.imageio from org.apache.felix.framework (0)

javax.imageio.spi from org.apache.felix.framework (0)

javax.imageio.stream from org.apache.felix.framework (0)

javax.jcr,version=2.0 from org.apache.sling.jcr.jcr-wrapper (71)

javax.mail from com.day.commons.osgi.wrapper.mail (101)

javax.mail.internet from com.day.commons.osgi.wrapper.mail (101)

javax.mail.util from com.day.commons.osgi.wrapper.mail (101)

javax.net.ssl from org.apache.felix.framework (0)

javax.servlet from cqse-httpservice (22)

javax.xml.bind from org.apache.felix.framework (0)

javax.xml.bind.annotation from org.apache.felix.framework (0)

javax.xml.parsers from org.apache.felix.framework (0)

javax.xml.stream from org.apache.felix.framework (0)

javax.xml.transform from org.apache.felix.framework (0)

javax.xml.transform.dom from org.apache.felix.framework (0)

javax.xml.transform.sax from org.apache.felix.framework (0)

javax.xml.transform.stream from org.apache.felix.framework (0)

javax.xml.validation from org.apache.felix.framework (0)

org.apache.commons.httpclient from com.day.commons.osgi.wrapper.commons-httpclient (100)

org.apache.commons.httpclient.methods from com.day.commons.osgi.wrapper.commons-httpclient (100)

org.apache.commons.httpclient.params from com.day.commons.osgi.wrapper.commons-httpclient (100)

org.apache.sling.api,version=2.1 from org.apache.sling.api (115)

org.apache.sling.api.resource,version=2.1 from org.apache.sling.api (115)

org.apache.sling.api.servlets,version=2.1 from org.apache.sling.api (115)

org.apache.sling.commons.json,version=2.0 from org.apache.sling.commons.json (122)

org.joda.convert -- Cannot be resolved

org.osgi.framework,version=1.5 from org.apache.felix.framework (0)

org.osgi.service.component,version=1.1 from org.apache.felix.scr (44)

org.osgi.service.event,version=1.2 from org.apache.felix.eventadmin (40)

org.slf4j,version=1.6 from slf4j.api (12)

org.w3c.dom from org.apache.felix.framework (0)

org.xml.sax from org.apache.felix.framework (0)

org.xml.sax.helpers from org.apache.felix.framework (0)

 

When I try to start the bundle I see the followingerror in the error.log

 

12.07.2013 17:25:46.105 *ERROR* [0:0:0:0:0:0:0:1 [1373646346099] POST /system/console/bundles/301 HTTP/1.1] cqse-httpservice %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unresolved constraint in bundle com.siteworx.cq5.ooyala.core [301]: Unable to resolve 301.0: missing requirement [301.0] osgi.wiring.package; (osgi.wiring.package=org.joda.convert)) org.osgi.framework.BundleException: Unresolved constraint in bundle com.siteworx.cq5.ooyala.core [301]: Unable to resolve 301.0: missing requirement [301.0] osgi.wiring.package; (osgi.wiring.package=org.joda.convert)

    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3896)

    at org.apache.felix.framework.Felix.startBundle(Felix.java:1938)

    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:947)

    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:934)

    at org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:339)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:493)

    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:418)

    at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

    at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

    at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

    at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:127)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

    at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

    at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:55)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

    at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:259)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

    at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75 )

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

    at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

    at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

    at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:250)

    at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:321)

    at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:340)

    at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:383)

    at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:360)

    at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:644)

    at java.lang.Thread.run(Unknown Source)

 

So from what I can gather there is a missing dependacy of joda.convert.  I checked the pom file and I have

 

<dependency>

     <groupId>com.day.commons.osgi.wrapper</groupId>

      <artifactId>com.day.commons.osgi.wrapper.joda-time</artifactId>

      <version>1.6-0002</version>

<scope>provided</scope>

</dependency>

 

I presume this is the dependancy that has the joda stuff required.

 

Can anyone herlp me trouble shoot this please?  Im new to OSGI and really would like to understand what is going on here.

 

Thanks

How to write a custom post Handler?

$
0
0

I am trying to implement a custom post request handler instead of using the default SlingPostServlet. I followed the steps below but the request is still being handled by default post servlet.

 

  • In CRDX Lite, I created a component called imageUpload under
     /apps/training/components/page
  • Added a JSP file under the imageUpload node and renamed it
    imageUpload.POST.jsp 
  • Created a template imageUploadTemp under
    /apps/training/templates/
  • Updated the sling:resourceType property of the template to
    /apps/training/components/page/ImageUpload
  • Created a page named imageUpload under the project Training Site using the template above. 

 

The problem is that when submitting a post request to the page(http://localhost:4502/content/training_site/ImageUpload.html) the request is still being redirected to the default servlet. One thing to mention regarding the post request being submitted is that I am not using HTML form to submit the post request. Instead I use Apaches DefaultHttpClient also the request is a multipart request as I am uploading a file.

 

Can you please help me in pointing out what I missed?

 

You may also ask why I am not using the default servlet to upload file directly instead of using a custom one, the problem is the default servlet doesn't have any means to create a node of type DAM Assets (dam:Asset) with the full metadata and rendition structures. If there is any way to accomplish this without writing a custom post handler, it will be a better approach to my problem.

 

I am using CQ5.4

 

Thank you,

Sending newsletters

$
0
0

Hi, we're having issues with sending newletters (campaigns). We've no clue to what may be going wrong. Any help is greatly appreciated.

 

The error in the log is this:

 

 

 

26.07.2013 17:23:16.137 *ERROR* [10.150.122.43 [1374859396096] POST /libs/mcm/content/newsletter.flighttest.json HTTP/1.1] com.day.cq.mailer.impl.email.CqRetrieverEMailTemplate Failed to retrieve Content {} java.net.ConnectException: Connection refused        at java.net.PlainSocketImpl.socketConnect(Native Method)        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)        at java.net.Socket.connect(Socket.java:529)        at java.net.Socket.connect(Socket.java:478)        at java.net.Socket.<init>(Socket.java:375)        at java.net.Socket.<init>(Socket.java:249)        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)        at com.day.cq.retriever.impl.HttpClientGenerator.retrieve(HttpClientGenerator.java:65)        at com.day.cq.retriever.impl.RetrieverServiceImpl.retrieve(RetrieverServiceImpl.java:48)        at com.day.cq.mailer.impl.email.CqRetrieverEMailTemplate.retrieve(CqRetrieverEMailTemplate.java:262)        at com.day.cq.mailer.impl.email.CqRetrieverEMailTemplate.getHtml(CqRetrieverEMailTemplate.java:99)        at com.day.cq.mailer.impl.email.CqRetrieverEMailTemplate.doBuild(CqRetrieverEMailTemplate.java:134)        at com.day.cq.mailer.impl.email.CqRetrieverEMailTemplate.doBuild(CqRetrieverEMailTemplate.java:47)        at com.day.cq.mailer.impl.email.AbstractEmailTemplate.buildMessage(AbstractEmailTemplate.java:141)        at com.day.cq.mailer.impl.email.AbstractEmailTemplate.buildMessage(AbstractEmailTemplate.java:42)        at com.day.cq.mailer.impl.CqMailing.send(CqMailing.java:157)        at com.day.cq.mailer.impl.CqMailingService.send(CqMailingService.java:145)        at com.day.cq.mcm.core.newsletter.NewsletterServiceImpl.sendNewsletter(NewsletterServiceImpl.java:341)        at org.apache.jsp.libs.mcm.components.commands.newsletter.flighttest_POST_jsp._jspService(flighttest_POST_jsp.java:296)        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:241)        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:86)        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:441)        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)        at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508)        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:148)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:333)        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:160)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:254)        at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)        at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:290)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.pearson.pt.newrelic.filter.NewRelicFilter.doFilter(NewRelicFilter.java:82)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:220)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:74)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter.doFilter(CanvasPageDeleteRequestFilter.java:87)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:127)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135)        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:151)        at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)        at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)        at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)        at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)        at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:127)        at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)        at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:259)        at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)        at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:55)        at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)        at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)        at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)        at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)        at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)        at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)        at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)        at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)        at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:250)        at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:321)        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:340)        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:383)        at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:360)        at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:644)        at java.lang.Thread.run(Thread.java:662)

Using Jackrabbit User Manager programmatically for changing passwords and getting user data.

$
0
0

I am trying to do a change password request using the Jackrabbit User Manager with the REST URL /system/userManager/user/<username>.changePassword.json.  The problem I am having is that this request requires an oldPwd form param in the request.  The issue is that when I am trying to do this request it is in response to the user selecting "Forgot Password" so our logic has created a random password which we then email to the user so they can use that the next time they want to login.  We need to change that user's password in CRX so they can log in using it next time.  Since they haven't logged in there is no session, NOT the problem.  THE PROBLEMS, I don't know 1. how to use the userManager to get that user's old password, since /system/userManager/user/<username>.json doesn't appear to return the password and 2. if I could get the old password it most certainly will be encoded, some how, so I will need some decoding algorithm to pass it through in order to get the actual password to set as the oldPwd form param to my change password request.  Please let me know if you require any further explanation.  Any assistance would be greatly appreciated.  Thank you, in advance, for your assistance.

 

Sincerely,

Mike Sucena

msucena@maned.com

How to create a CQ package to export all the users and their permissions.

$
0
0

Hi All,

          Hope you all are doing great. Have a qn regarding the packge export via package manager. I am trying to export all the users and their permissions from one env to the other. I can get the users and groups but not their permissions. Can any one suggest me a way of how to do this? I was not able to get the include/exclude filters right..

 

Regards

Rama


Is the includion of required

$
0
0

Hi, I'd like to understand if the inclusion of the component <cq:include script="stats.jsp"/> is required for every page. I vaguely understand it is related to page tracking. It adds the following snippet in the page:

 

<script type="text/javascript">

    {
        window.setTimeout(function() {
            $CQ.getScript("http://localhost:4502/libs/wcm/stats/tracker.js?path=/content/website/en");
        }, 1);
    }
   
</script>

 

I understand I can set the URL localhost to our public domain name, but I really prefer to just delete the component.

 

Can someone explain to me what the above function does. Can anyone post the file "/libs/wcm/stats/tracker.js" I cannot see it in CRXDE. I am using CQ 5.5.

 

Thanks in advance.

Katrien


AuthenticationSupport service missing after building index.

$
0
0

I got an error on browser console after starting the CQ Author instance saying that "Service Unavailable AuthenticationSupport service missing. Cannot authenticate request. "

 

I just started all the bundles and also rebuit the index but still am getting the same error message.

 

When i logged in to system/console(OSGI Console) One thing i just noticed Authenticator tab is missing.

 

Help out to solve this issue

 

Thanks in Advance...

 

Mahesh

How to check CQ version installed in publisher

$
0
0

Dear All,

 

Could anyone please let me know how to find out which version of CQ has been installed on publish instance?

 

Regards

Redirecting page

$
0
0

I am using the redirect option in page properties to redirect pages but the page just displays

"This page redirects to <Page Name>" in publisher mode.

 

Why is it not working?

How to configure font color in richtext?

$
0
0

Hi,

  How to enable font color and font size plugin in rich text editor?

Viewing all 12476 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>