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

CQ 5.4 - How to create a column layout?

$
0
0

Greetings everyone;

 

 

  I'm trying to create a website with some components that I get from a imported site... So far, so good, but when I try to drop a "column" component in my website from the components little window (even when I select the 2 columns or the 3 columns), the is no one column layout and the "columns" doesn't exist

 

  In Geometrixx samples, the columns got layouts like "2 columns, 50 x 50 x" and others, but none is listed on my Column Layout dialog (editing the component). I try to find the source-code of the component, but without success. Can someone tell me how to get real "columns" structures on my site?

 

  Some images:

 

 

    No Columns 1.jpg

 

     No columns 2.jpg


How does SSO work in CQ

$
0
0

I'm working with CQ 5.4 and have to investigate how SSO would work. 

 

We are planning on using CQ as our means of supplying clients with web functionality within their websites.  I see two scenarios, using our own page(s) (on a 'cq website we setup for each client) to which a client site user navigates, or a portlet within their site's page(s).  So far, I have been told by our team that clients' user's information has to be stored in a user profile within the CRX repo so that the personalization and analytics can be done.  I believe we plan on using one CQ instance for several clients, each of which could have thousands and thousands of users.  We'd like to have components that call backend services from scripts that can be used by any of the clients' users provided they have permissions (users of a particular type from client1 and other users from client2 have access to a script&OSGiComponent, but others do not).  I suppose this last bit could be done with ACLs, users and groups.

 

I understand the general idea of SSO - only having to sign on once.  But I don't have a clear understanding of the mechanics, in particular, how it would work with the requirements I've just specified.  It seems from the documenation http://dev.day.com/docs/en/cq/current/deploying/configuring_cq.html#Single Sign On, that enabling SSO means that no authentication is ever done on CQ's side:

"Single Sign On (SSO) allows a user to access all (or at least multiple) systems based on trusted authentication credentials (e.g. username and password) that are only entered once. This authentication is performed by a separate system, so CQ is no longer directly responsible. The third party system provides CQ with the (authenticated) user credentials; CQ trusts these credentials and checks what they are authorized to do (i.e. which resources the user is allowed to access)."

 

SSOQuestions.png

Can someone give an example of the HTTP traffic that would be sent in a SSO CQ configuration (regular web site as well as a portlet example)? 

How does CQ know who the user is? 

Does CQ just take it as gospel that the user credential (eg username) is really the person that's contacting CQ? 

Does there have to be a corresponding user with the same username defined in CQ as that of the credential?  What if there are naming conflicts?  (john from client1 and john from client2) - how can I have both john's represented in CQ? 

Each 'website' in CQ has a different URL, right?, so would I have to configure something with each URL for a different 'authenticator'? ie. do I fill in these different URLs in a configuration screen?

 

 

What's the 'BASIC' and 'AsIs' method?  It says I can use a RE - what's an example where I would use this?

What do the credentials look like (AsIs and Basic)?

Is the credential a username, or a token of some kind? 

Is it always passed in every/each HTTP request the user makes to our website/portlet? 

Is the credential ever validated by CQ somehow?

 

 

How does all this fit into LDAP? 

Does CQ have to be able to access any client systems like a client LDAP server? 

Can I enable SSO for some clients/sites/portlets but not others in the same CQ instance? 

Can I enable SSO to use LDAP for some clients and not for others in the same CQ instance?

 

How do we make sure a user from client1 accessing a shared component (eg. script and/or OSGi bundle service) can't pretend to be a user2 or a user from client2?

If I want to reuse code by reusing a component, and both user1 and user2 (from the same or different clients) can therefor both access the reused (hence shared) component (eg. an account balance service - script or OSGi service), how do I make sure that I can share the component code but not allow user1 to ask for the balance for user2's account?

 

A few detailed working examples would help a lot I think.

 

TVMIA,

 

--Bill

cannot import com.day.cq.wcm.foundation.Image

$
0
0

Hello,

I'm trying to import com.day.cq.wcm.foundation.Image into a regular bean, but after I run maven

the compiler error says:

 

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project playnow-apps-bundle: Compilation failure: Compilation failure:

[ERROR] \usr\src\playnow\playnow-apps\playnow-apps-bundle\src\main\java\com\playnow\cq\beans\Feat ureTileHelper.java:[8,32] package com.day.cq.wcm.foundation does not exist

 

How can I resolve this problem?

 

Thanks in advance,

David

javax.jcr.nodetype.ConstraintViolationException : Node is protected

$
0
0

Hi

 

    I have an nt:unstructured node to which i am writing some properties through java code. The properties are getting written but in my error log i am getting

 

javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.

 

       this error message.  Can anyone tell me why it happens and how to avoid this error message

 

 

 

Thanks and regards

 

Veena

Replicating

$
0
0

do you know why i got "no such agent: publish" when i click on view log after I do replication?

Agent is not active. Replicating to http://localhost:4503/bin/receive

Queue is not active

 

Thanks,

 

Jenny

localization in cq5

$
0
0

hi,

has anybody implemented localization in cq5.

plz tell me how to implement this. do i need t create any Locale properties or do any settings. as we do in java.

 

Thanks,

Amit

Inserting fragments in CQ AEM 5.6

$
0
0

Hello all,

 

Is there a way to retrieve a fragment from apache docroot and place it in CQ,

probably header as a fragment to be inserted to my site developed in CQ5.6

 

Regards,

NZ

Bundle-SymbolicName header missing, cannot install bundle

$
0
0

I want to install a bundle downloaded from the maven repository but when installing,

I get a blank page and then check the error log with the error message.

 

It is to fix this error: Exception javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found

But when trying to install a bundle containing the class, it gives the error below, it is for all the bundles I have tried, and it's a lot.

 

Version: 5.6.0.20130129, running on a windows 7 machine in author mode.

 

Full error message:

 

13.06.2013 13:12:31.597 *WARN* [127.0.0.1 [1371121951590] POST /system/console/bundles HTTP/1.1] servletengine I/O error in execution: {} java.io.IOException: Bundle-SymbolicName header missing, cannot install bundle

    at org.apache.felix.webconsole.internal.core.BundlesServlet.installBundle(BundlesServlet.jav a:1628)

    at org.apache.felix.webconsole.internal.core.BundlesServlet.installBundles(BundlesServlet.ja va:1573)

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

    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 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.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 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.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)


Default value format for the CQ datetime widget

$
0
0

Hi,

 

I have created a simple dialog.xml with datetime property:

 

<firstReplicate

            jcr:primaryType="cq:Widget"

            fieldLabel="Article Date:"

            name="./firstReplicated"

            xtype="datetime"/>

 

Now, in the documentation: we see that this widget accepts

data : Mixed

The initial set of data to apply to the tpl to update the content area of the Component.

 

<firstReplicate

            jcr:primaryType="cq:Widget"

            fieldLabel="Article Date:"

            data="2013-07-18T00:45:00.000+01:00"

            name="./firstReplicated"

            xtype="datetime"/>

 

Didn't seem to be setting the data value on my datetime. What is the correct data value for the datetime xtype ?

 

Thanks,

Peter

How to get the groups associated to a CQ5 user account ?

$
0
0

Hello,

I'm looking for a sling endpoints to get all groups a CQ5 user belongs to.

I first checked into crx but it seems that the groups are not stored in the users nodes. So I've no idea where I should looking at...

 

Regards,

Authentication failing on author and publish servers without being prompted

$
0
0

When trying to view a published page on my publish server, at http://mysite:4503, I'm getting this, with an otherwise blank page back:

"User name and password do not match"

 

I was never prompted for a username.  At that URL, I would normally see the Geometrixx sample page, which would have a login prompt to click on.  Over on my author instance, at this URL (http://mysite:4502), I am no longer greeted by the WCM admin console.  I now have a generic browser dialog that says:

 

"A username and password are being requested by http://mysite:4502.  The site says: "Sling (Development)""

 

None of my admin or other users passwords are accepted.  Just prior to these issues, I was having another authentication error shown on my author instance, which prompted me to restart the instances.  The prior message was simply "Authentication Failed" when trying to view the WCM console, and the URL would change to:

 

http://mysite:4502/system/sling/cqform/defaultlogin.html?resource=%2F&$$login$$=%24%24logi n%24%24

 

 

Any idea what could be going on?  My application itself, was not written to require a login, and on the the only authentication that I'm used to performing is for the WCM console.

 

Thanks.

Workflow Process Implementation not found

$
0
0

Hello,

 

     I've created a workflow process in AEM 5.6.  When I initiate the workflow, the workflow is not completed and in the Inbox Console, I see 'process implementation is not found'.

 

Here is the sample workflow process:

 

package com.test.workflowtest;

 

import org.apache.felix.scr.annotations.Component;

import org.apache.felix.scr.annotations.Properties;

import org.apache.felix.scr.annotations.Property;

import org.apache.felix.scr.annotations.Service;

import org.osgi.framework.Constants;

import org.apache.felix.scr.annotations.Reference;

/**

import com.day.cq.workflow.WorkflowException;

import com.day.cq.workflow.WorkflowSession;

import com.day.cq.workflow.exec.WorkItem;

import com.day.cq.workflow.exec.WorkflowData;

import com.day.cq.workflow.exec.WorkflowProcess;

import com.day.cq.workflow.metadata.MetaDataMap;

*/

import com.adobe.granite.workflow.WorkflowException;

import com.adobe.granite.workflow.WorkflowSession;

import com.adobe.granite.workflow.exec.WorkflowProcess;

import com.adobe.granite.workflow.exec.WorkItem;

import com.adobe.granite.workflow.metadata.MetaDataMap;

 

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;

 

import org.apache.sling.api.resource.ResourceResolverFactory;

import org.apache.sling.api.resource.ResourceResolver;

 

@Component

@Service

@Properties({

        @Property(name = Constants.SERVICE_DESCRIPTION, value = "Test Process."),

        @Property(name = Constants.SERVICE_VENDOR, value = "TEST"),

        @Property(name = "process.label", value = "Test WF Process")})

 

public class Test implements WorkflowProcess{

   private static final Logger log = LoggerFactory.getLogger(Test.class);

 

          @Reference

          private ResourceResolverFactory resourceResolverFactory;

 

          public void execute(WorkItem item, WorkflowSession session, MetaDataMap args)

        throws WorkflowException {

 

        log.debug("======== Test Process ===========");

        ResourceResolver resolver = null;

        try{

                              resolver = resourceResolverFactory.getAdministrativeResourceResolver(null);

        }catch(Exception e)

        {

            e.printStackTrace();

        }

    }

}

 

=============

Exception:


02.05.2013 11:25:23.305 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

02.05.2013 11:25:25.333 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

02.05.2013 11:25:27.361 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

02.05.2013 11:25:29.389 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

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

 

 

=======

Findings:  Gettting exception only when I use below code in the workflow process.

 

@Reference

  private ResourceResolverFactory resourceResolverFactory;

 

 

Any help would be more helpful..

 

Thanks

Siva

 


Problems Loading login/welcome page

$
0
0

Hi All

I am facing a weird problem with cq server's login/welcome page i am seeing this exceptions whenever i try to access http://<SERVER_NAME>:4502 and i see the exception 

27.06.2013 10:24:58.452 *ERROR* [10.10.4.176 [1372353898293] GET /libs/cq/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException java.lang.ClassNotFoundException: org.apache.jsp.libs.cq.core.components.login.login_jsp

        at org.apache.sling.jcr.classloader.internal.RepositoryClassLoader.findClassPrivileged(Repos itoryClassLoader.java:280)

        at org.apache.sling.jcr.classloader.internal.RepositoryClassLoader.access$000(RepositoryClas sLoader.java:49)

        at org.apache.sling.jcr.classloader.internal.RepositoryClassLoader$1.run(RepositoryClassLoad er.java:163)

        at org.apache.sling.jcr.classloader.internal.RepositoryClassLoader$1.run(RepositoryClassLoad er.java:160)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.apache.sling.jcr.classloader.internal.RepositoryClassLoader.findClass(RepositoryClass Loader.java:159)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

        at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.load(JspCompilationContext.ja va:527)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.loadServlet(JspServletWra pper.java:163)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.prepareServlet(JspServlet Wrapper.java:432)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:481)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:447)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :235)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:432)

        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:4 63)

        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

        at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:305)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

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

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:153)

        at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

        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:117)

        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)

 

I can access the webconsole url and i do see the url being resolved

RedirectResource, type=sling:redirect, path=/welcome, values={sling:status=302, sling:target=/libs/cq/core/content/welcome.html}

and also

ServletResource, servlet=com.day.cq.auth.impl.LoginServlet, path=/login

 

I have no clue what i need to do to resolve this

 


SOLVED: “AuthenticationSupport service missing. Cannot authenticate request.”

$
0
0

A customer was installing CQ5 on a Red Hat Linux environment, and getting the following error displaying in the browser.

 

AuthenticationSupport service missing. Cannot authenticate request.

 

We checked the Felix Console, and all bundles were installed correctly.

 

We did however find the following message in the error log:

 

  1. 20.06.201210:49:26.689*ERROR*[FelixStartLevel] org.apache.jackrabbit.core.RepositoryImpl failed to start Repository:Unable to register data store in cluster. javax.jcr.RepositoryException:Unable to register data store in cluster.
  1. ..
  1. Causedby: java.net.UnknownHostException:{server name}:{server name}

 

This was not a clustered instance.

On closer inspection, the error was caused by an incorrect IP address entry for {server name} in the hostnames file

 

Tim Goodman

How do i use querybuilder.json to return similar search

$
0
0

Can querybuilder.json return a similar search?  That is if I use

querybuilder.json?fulltext=walnt

I'd like to get the results for "walnut".  What predicate should I use?


sling:ResourceSuperType foundation/components/page

$
0
0

Hi Everybody,

 

I'm new to CQ and really enjoying it.  I have a question if someone can please help?

 

Can anyone help me understand how sling resolves a page component that has a resourceSuperType of  foundation/components/page ?  I created a page structure similar to the geometrixx pages, and have the following page component.

 

components/page/contentpage

body.jsp

content.jsp

footer.jsp

header.jsp

 

Therefore I discovered that I can override the body.jsp as this is the page selected by sling (I originally had contentpage.jsp).  Also using this structure I understand that if I have another template and page component I just extend the above "contentpage" component and override "content.jsp" keeping my web site structure (Nice!).

 

But what I don't understand is how how sling resolves to the body.jsp as the preferred script in the first place? Can anyone help me understand?

 

Thanks

Darren

Author running slow. Failed to retrieve state of intermediary node error

$
0
0

Hi there,

 

I am having a problem with the Author running very slow to the point of unusable.

The setup is 1 Author server, 1 Publish server, and 1 Web/Dispatcher.

After checking in the log, I found following error repeated throughout the log, while there is not such problem in the Publish (in the log, and access speed).

In each of this error is preceeded by Reverse Replication message.

 

15.05.2013 07:30:21.033 *INFO* [Reverse Replication Processor] com.day.cq.replication.impl.content.durbo.DurboImporter imported content in 251722ms for durbo request on path: /home/groups/mediacorp/website-users

15.05.2013 07:30:21.033 *INFO* [Reverse Replication Processor] com.day.cq.replication.Agent.publish_reverse Successfully imported content at /home/groups/mediacorp/website-users

15.05.2013 07:30:21.048 *ERROR* [ObservationManager] com.day.cq.contentsync.impl.ContentSyncManagerImpl Error while trying to find content sync config path: {} javax.jcr.RepositoryException: failed to retrieve state of intermediary node

          at org.apache.jackrabbit.core.CachingHierarchyManager.resolvePath(CachingHierarchyManager.ja va:156)

          at org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePath(HierarchyManagerImpl.java:365 )

          at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:550)

          at org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.ja va:97)

          at org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.ja va:93)

          at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java :187)

          at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)

          at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)

          at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)

          at com.day.cq.contentsync.impl.ContentSyncManagerImpl.findConfigPath(ContentSyncManagerImpl. java:232)

          at com.day.cq.contentsync.impl.ContentSyncManagerImpl.onEvent(ContentSyncManagerImpl.java:18 9)

          at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:248 )

          at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.ja va:161)

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

 

Is there any idea what's causing the problem? Any help would be appreciated.

 

Thanks,
Kent

DAM not generating thumbnails

$
0
0

Hi,

 

When I try to upload images to digital assests interface in CQ5.5, it is uploading the file, but doesn't generate thumbnail image. I tried to check crx-quickstart/logs, but there is nothing logged in there. Could someone please help me what are other configurations/logs I need to check to find the cause of this thumbnail generation problem?

Facing problem in Rich text component

$
0
0

Id attribute of Div tag is stripped in Rich text component. How do we handled this. Any help regarding this appreciated?

404 Custom Forwards

$
0
0

I have a custom 404 set up by following this:

 

http://dev.day.com/docs/en/cq/current/developing/customizing_error_handler_pages.html

 

I changed it so that the default.jsp page will now FORWARD to my DYNAMIC 404.html page.  If I just allow it to stop at default.jsp, I have a 404 error code, but once it FORWARDs (not redirects), the new page that shows comes in as a 200 code.

 

How would I force the error code to be preserved, if forwarding the default.jsp to a content page (to keep the same dynamic content on all other pages)? I have the error code and response properly before forwarding (not redirecting), but once I get to the new page, it shows a status code of 200. Is there any way to force this? Disabling the CQ WCM Debug Filter doesn't change this for me.

Viewing all 12476 articles
Browse latest View live


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