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

How to implement Ajax

$
0
0

Hi All,

 

I need to implement Ajax functionality in my component.

 

The requirement is,

1. On clicking on a button Java servlet needs to be invoked.

2. In the servelt, need to access CRX nodes and store a particular value.

3. Back in the component, i need to retrieve this value(this can be doneby accessing the node value).

4. Page should not be refreshed.

 

How can i implement this? any sample code will be helpful to understand the ajax with sevlet implementation.

 

 

if there are any other possiblities, kindly let me know.

 

It is very urgent and needs to implement is as soon as possible.

 

i am in very needy situation.

 

Any help will be really helpful.

 

Thanks a ton in advance.

 

Regards,

Raja R


Fail to access CRX with JcrUtils.getRepository

$
0
0

I just started with CQ5/CRX/JCR, so I beg your pardon if asking silly questions.

I'm running a CQ5 Standalone Server (CQ_5_5_Quickstart.jar) on my Windows 7 and am fine with accessing it with my browser and the URL "http://localhost:4502".

Now I try to access it via a Java-client using the JcrUtils.getRepository-method, as described in http://dev.day.com/docs/en/crx/current/developing/accessing_the_crx.html.

But this fails with message:

javax.jcr.RepositoryException: Unable to access a repository with the following settings:

    org.apache.jackrabbit.repository.uri: http://localhost:4502/crx/server

The following RepositoryFactory classes were consulted:

    org.apache.jackrabbit.commons.JndiRepositoryFactory: declined

Perhaps the repository you are trying to access is not available at the moment.

at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:199)

at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:239)

at AccessJCR.connectJcrUtils2(AccessJCR.java:32)

at AccessJCR.main(AccessJCR.java:16)

 

I'm not sure about the used URL; I just took it from cited webpage. There is said: "The default server's endpoint URL is http://host:port/crx/server. Make sure you adapt the client-side connection URL in case of customized server installation.".

I didn't customize anything so this should be ok. I will attach the complete Code, hopefully you can give some hints.

 

Regards,

Ulrich

 

[code]

import java.util.*;

import javax.jcr.*;

public class AccessJCR {

      public AccessJCR() {}

 

      public static void main(String[] args) {

           AccessJCR ajcr = new AccessJCR();

           try {

                ajcr.connect();

           }

           catch (Exception ce) {

                ce.printStackTrace();

            }

        }

 

      private void connect() throws Exception {

           //Create a connection to the Day CQ repository running on local host

           Repository repository = org.apache.jackrabbit.commons.JcrUtils.getRepository("http://localhost:4502/crx/server");

        }

}

[/code]

Activation of page failing due replication

$
0
0

I am trying to activate camapign or articles but failed to do so. Earlier i used to do but facing below error:

Please help me to resolve.

ReplicationOptions{synchronous=false, revision='null', suppressStatusUpdate=false, suppressVersions=false, filter=null, aggregateHandler=null}

04.12.2012 04:04:26.989 *ERROR* [172.16.119.96 [1354611866971] POST /bin/replicate.json HTTP/1.1] com.day.cq.replication.impl.servlets.CommandServlet Error during replication: Unable to create version for /content/Intranet/News/2012/11/12112__lookbacktest (v2). com.day.cq.replication.ReplicationException: Unable to create version for /content/Intranet/News/2012/11/12112__lookbacktest (v2).

        at com.day.cq.wcm.core.impl.VersionManagerImpl.preprocess(VersionManagerImpl.java:293)

        at com.day.cq.replication.impl.ReplicatorImpl.replicate(ReplicatorImpl.java:317)

        at com.day.cq.replication.impl.servlets.CommandServlet.doPost(CommandServlet.java:109)

        at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.ja va:148)

        at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:344)

        at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:375)

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

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

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

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

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

        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.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:287)

        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.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)

        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 org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)

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

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

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

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

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

        at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)

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

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

        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.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:249)

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

        at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)

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

        at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)

        at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:150)

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

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

        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)

        at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)

        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)

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

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

        at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)

        at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )

        at java.lang.Thread.run(Thread.java:662)

Caused by: com.day.cq.wcm.api.WCMException: Unable to create version.

        at com.day.cq.wcm.core.impl.PageManagerImpl.createRevision(PageManagerImpl.java:1145)

        at com.day.cq.wcm.core.impl.PageManagerImpl.createRevision(PageManagerImpl.java:1027)

        at com.day.cq.wcm.core.impl.VersionManagerImpl.preprocess(VersionManagerImpl.java:290)

        ... 64 more

Caused by: javax.jcr.version.VersionException: Node 0868d5ce-7c75-4db8-824d-40e392405820 has no version history

        at org.apache.jackrabbit.core.version.InternalVersionManagerBase.calculateCheckinVersionName (InternalVersionManagerBase.java:701)

        at org.apache.jackrabbit.core.version.InternalVersionManagerBase.internalCheckin(InternalVer sionManagerBase.java:637)

        at org.apache.jackrabbit.core.version.InternalVersionManagerBase.checkin(InternalVersionMana gerBase.java:610)

        at org.apache.jackrabbit.core.version.InternalVersionManagerImpl$4.run(InternalVersionManage rImpl.java:411)

        at org.apache.jackrabbit.core.version.InternalVersionManagerImpl$DynamicESCFactory.doSourced (InternalVersionManagerImpl.java:713)

        at org.apache.jackrabbit.core.version.InternalVersionManagerImpl.checkin(InternalVersionMana gerImpl.java:407)

        at org.apache.jackrabbit.core.version.InternalXAVersionManager.checkin(InternalXAVersionMana ger.java:236)

        at org.apache.jackrabbit.core.version.VersionManagerImplBase.checkoutCheckin(VersionManagerI mplBase.java:188)

        at org.apache.jackrabbit.core.VersionManagerImpl.access$100(VersionManagerImpl.java:73)

        at org.apache.jackrabbit.core.VersionManagerImpl$1.perform(VersionManagerImpl.java:122)

        at org.apache.jackrabbit.core.VersionManagerImpl$1.perform(VersionManagerImpl.java:115)

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

        at org.apache.jackrabbit.core.VersionManagerImpl.perform(VersionManagerImpl.java:96)

        at org.apache.jackrabbit.core.VersionManagerImpl.checkin(VersionManagerImpl.java:115)

        at org.apache.jackrabbit.core.VersionManagerImpl.checkin(VersionManagerImpl.java:101)

        at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2856)

        at com.day.cq.wcm.core.impl.PageManagerImpl.createRevision(PageManagerImpl.java:1093)

 

Message was edited by: Yogesh

Image is not showing up on Dialog.

$
0
0

Hi Guys

 

I am getting problem with Dialog. In my Dialog I have created the image field which accepts image from dam by Drag and drop. Whil Iam dropping the image it is showing up inside the Dialog properly and is showing up on the screen also But when I try to edit the image the current image got vanished inside the dialog. I don't understand why it is happening?

 

while uploading

 

 

The above image is not showing up while editing. Could you please help me where I am doing wrong?

 

here is my dialog.xml

 

 

                <normalmode
                    jcr:primaryType="cq:Widget"
                    collapsed="{Boolean}false"
                    collapsible="{Boolean}false"
                    hidden="{Boolean}false"
                    title="Picture Properties"
                    xtype="dialogfieldset">
                    <items jcr:primaryType="cq:WidgetCollection">
                        <pictureurl
                            jcr:primaryType="cq:Widget"
                            allowUpload="{Boolean}true"
                            autoUploadDelay="1"
                            ddGroups="[media]"
                            fieldLabel="Picture Link"
                            fileNameParameter="./fileName"
                            fileReferenceParameter="./fileReference"
                            height="{Long}200"
                            name="./file"
                            requestSuffix="/image.img.png"
                            rootpath="/etc/designs/aib/business/images"
                            sizeLimit="100"
                            uploadUrl="/tmp/upload_test/*"
                            xtype="html5smartimage"/>
                        <picturealttext
                            jcr:primaryType="cq:Widget"
                            fieldLabel="Picture Alt Text"
                            name="./picturealttext"
                            xtype="textfield"/>
                        <picturetitletext
                            jcr:primaryType="cq:Widget"
                            fieldLabel="Picture Title Text"
                            name="./picturetitletext"
                            xtype="textfield"/>
                    </items>
                </normalmode>

 

Cheers

Kirthi

How to replicate bundle from Author to Publish

$
0
0

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.

 

The code currently works in 'Author'.

 

How do I replicate the bundle from Author to Publish? Does 'Build Bundle' only deploy the bundle to 'Author'? If yes, step by step how do I replicate the bundle to Publish?

 

Thanks.

CRXDE vs Eclipse

$
0
0

Hey everyone,

     Just wondering how most of you do development for CQ5. I did have the developer training and we used CRXDE. Recently however we have consultants that do not recommend it. They recommend Eclipse. It is my understanding that CRXDE is Eclipse but cq-ified. Is CRXDE still distributed with CQ?

 

     We are just about to begin a huge project and I am trying to decide if I want to use Eclipse or CRXDE. My impression was that there were spcific features with CRXDE that relate to CQ that Eclipse would not have. And the consultants argue that CRXDE is obsolete? I'd rather use CRXDE since it is what CQ came with and all the documentation I have from training is in CRXDE.

    

     Can anyone help?

OSGI bundle creation using third party jar files

$
0
0

Hi,

 

I have a requirement to integrate our CQ5.5 based application with a third party. As part of this, I have to use some jar files. After lot of digging, I realised that the way to use external jar files is to create an OSGI bundle wrapping these jar files.

So, I tried to do the same, but when I see the service details in system/console, I see errors. Can someone please suggest what could have gone wrong?

 

I have to use 3 jar files. So, I placed them in lib folder as shown in the screenshot below.

1.png

 

Ibuilt the bundle using .bnd file. It generated a jar file in install folder and I am able to to see its details in system/console/bundles. When I try to view details of the OSGI bundle that is installed, I see errors as follows:

2.png

Akamai integration

$
0
0

We have our public website that runs on CQ5.5. We want to do Akamai integration for the published content.

 

1. How is Akamai integration done in CQ5.5?

 

2. We want to akamai both the content and dam assets. Is the akamai integration different with content versus assets?

 

3. With content, the content on site is frequently updated and activated. That would invalidate the dispatcher cache everytime the change happen. How does Akamai rebuild its cache everytime the dispatcher cache is invalidated?


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

"Unable to store record" error on newly cloned cluster member

$
0
0

Hi.  We're running CQ5 5.5 SP1 and I'm trying to setup an author instance on a machine at a disaster recovery site. I want the DR author instance to be clustered with our existing non-clustered author node on our staging server.  If I get this to work, I'll redo it with the production author server, which will leave us with a hot backup server in the case that the primary data center goes dark.

 

I cloned the "master" author instance on our staging server using the CQ backup facility.

 

I restored that backup onto the DR server and proceeded to follow the directions found in the "Manual Slave Cloning" section of http://dev.day.com/docs/en/crx/current/administering/cluster.html

 

I then restarted the newly cloned slave isntance and saw that that it had automatically been added to the repository/cluster.properties file found on the staging master server.  This implied that the two servers were now linked.  You can also see this in the new slave's error.log file:

 

30.11.2012 08:06:56.801 *INFO* [FelixStartLevel] com.day.crx.core.cluster.ClusterController Trying to connect to a master, as the file clustered.txt exists.

30.11.2012 08:06:56.987 *INFO* [FelixStartLevel] com.day.crx.core.cluster.ClusterController Node author-dr started as: slave, connected to address: /XXX.XXX.XXX.237:8088

 

The problem is, the cloned slave author instance will not come up properly.  I see the following error in the logs/error.log file:

 

30.11.2012 07:54:24.876 *ERROR* [FelixStartLevel] com.day.crx.core.data.ClusterDataStore Unable to download data with identifier: Unable to store record.

30.11.2012 07:56:08.669 *ERROR* [FelixStartLevel] com.day.crx.core.data.ClusterDataStore Unable to download data with identifier: Unable to store record.

 

They seem to continue as long as the instance is not shut down.  While this is happening, attempting to connect to the CQ admin at http://dr-hostname:4502/ results in a simple "Not Found" error in the browser, which is what you see when you attempt to connect to the admin when the instance is first starting up.

 

This implies that perhaps the instance is never starting due to this problem.

 

Can anybody suggest what the issue might be?  I had no success with creating a new quickstart instance and using the GUI to join the existing author in a cluster.  The "Loading..." message showed for a long time before disappearing with nothing appearing to have worked and no error message.

creating custom tag library- AEM, CQ 5.6

$
0
0

Hi ,

 

I am creating a custom tag library and want to use it in one of the components I have created. I have made a bundle inside src/com.mycompany.test.TestBundle/com.mycompany.test.TestBundle.bnd and created my java tag class inside com.mycompany.test.TestBundle/src/main/java/com/mycompany/test/DateTagClass.java and the tld in com.mycompany.test.TestBundle/src/main/resources/META_INF/dateTaglib.tld. Here is the code for both the java tag class and the tld

 

----------------

tag class

 

 

package com.mycompany.test;

 

import java.io.IOException;

import java.text.DateFormat;

import java.text.SimpleDateFormat;

import java.util.Date;

import javax.servlet.jsp.JspException;

import javax.servlet.jsp.JspWriter;

import javax.servlet.jsp.tagext.SimpleTagSupport;

/**

*

* @author ankit-chandrawat

*/

public class DateTagClass extends SimpleTagSupport {

   

    public void doTag() throws JspException, IOException {

    JspWriter out = getJspContext().getOut();

    out.println(getTodayDate());

    }

   

   private String getTodayDate() {

        DateFormat df = new SimpleDateFormat("dd MMMM yyyy");

        String formattedDate = df.format(new Date());

        return formattedDate;

    }

}

 

--------------

tld file

 

<?xml version="1.0" encoding="UTF-8"?>

<taglib version="2.1" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd">

 

  <tlib-version>1.0</tlib-version>

  <jsp-version>2.0</jsp-version>

  <short-name>date</short-name>

    <uri>src/main/resources/META_INF/dateTaglib.tld</uri>

  <tag>

    <name>todaysDate</name>

    <tag-class>com.mycompany.test.DateTagClass</tag-class>

    <body-content>empty</body-content>

  </tag>

</taglib>

--------------------------------------------------

I am trying to use it inside a component jsp that I have created as :

 

<%@taglib prefix="date" uri="src/main/resources/META_INF/dateTaglib.tld"%>

 

But with the above taglib include in place, all I see is a blank page. I am trying this on author and have not pushed it to publisher yet. I believe it is not able to recognize the tld. Could you please help me on this.

 

Thanks

Ankit

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

/libs/cq 404 error

$
0
0

I am getting a 404 for my pages when trying to download the userinfo.json and dict.en.json from /libs/cq folder.  What causes those two files to be included?

How to Create ComboBox component using custom xtypes?

$
0
0

Hi to All,

 

How to Create ComboBox component using custom xtypes?

 

Thanks

karthik.

facing issue with concurrent use of session

$
0
0

Hi All,

   We are facing concurrent use of session.save call in our LDAP sycn up process. Issue we got while performing performance test for multiple user and issue is at com.day.crx.security.ldap.LDAPUserSync.performUpdate api. Please guide me what could be wrong missing in code due to this Out of box service is showing error.

Below are logs:

 

 

02.01.2013 14:32:07 WARN SessionState: Attempt to perform session.save() while another thread is concurrently writing to session-system-1. Blocking until the other thread is finished using this session. Please review your code to avoid concurrent use of a session. (SessionState.java, line 149)

java.lang.Exception: Stack trace of concurrent access to session-system-1

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

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

at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:758)

at com.day.crx.security.ldap.LDAPUserSync.performUpdate(LDAPUserSync.java:230)

at com.day.crx.security.ldap.LDAPUserSync.syncUser(LDAPUserSync.java:178)

at com.day.crx.security.ldap.LDAPLoginModule.commit(LDAPLoginModule.java:266)

at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)

at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)

 

 

 

Regards,

Yogesh


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

XSS filtering

$
0
0

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 the CQ installation. Can anyone give some more information on how I should use this package?

 

Also, is standard XSS filtering not automatically applied in CQ? I read the following paragraph about it on Day's website and I find it a bit dubious:

 

"CQ applies the principle of filtering all user-supplied content upon output. Preventing XSS is given the highest priority during both development and testing."

 

If this isn't applied by default can we expect this to come out in a later release of CQ?

 

Many thanks!

This time for CQ6

$
0
0

I can't wait for Adobe CQ6! CQ5 is historical!

CQ 5.5 running out of space in an instance

$
0
0

In cq5.5 Author and publish instances are day by day growing larger , because of this am running out of space?Can you please suggest me a solution??

Need learning material or links for CQ5

$
0
0

Hi All,

 

I am planning to learn Adobe CQ5. Can anyone give me more information on Adobe CQ5?

 

Also share me the links to download the tool, learning material etc if any one has?

 

Thank you

Viewing all 12476 articles
Browse latest View live


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