4 Replies Latest reply on Aug 20, 2012 9:23 PM by sridharib

    Adobe CQ integration with Liferay

    sridharib

      Hi

       

      I am trying to integrate adobe CQ 5.5 with Liferay using CMIS. I followed this link http://dev.day.com/docs/en/crx/current/deploying/cmis.html to enable CMIS in Adobe CQ but i got this error:


      No resource found


      Cannot serve request to /cmis/repository in /libs/sling/servlet/errorhandler/404.jsp


      Request Progress:


      0 (2012-08-09 11:03:33) TIMER_START{Request Processing}

      0 (2012-08-09 11:03:33) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>

      0 (2012-08-09 11:03:33) LOG Method=GET, PathInfo=/cmis/repository

      0 (2012-08-09 11:03:33) TIMER_START{ResourceResolution}

      1 (2012-08-09 11:03:33) TIMER_END{1,ResourceResolution} URI=/cmis/repository resolves to Resource=NonExistingResource, path=/cmis/repository

      1 (2012-08-09 11:03:33) LOG Resource Path Info: SlingRequestPathInfo: path='/cmis/repository', selectorString='null', extension='null', suffix='null'

      1 (2012-08-09 11:03:33) TIMER_START{ServletResolution}

      1 (2012-08-09 11:03:33) TIMER_START{resolveServlet(NonExistingResource, path=/cmis/repository)}

      3 (2012-08-09 11:03:33) LOG {0}: no servlet found

      3 (2012-08-09 11:03:33) TIMER_END{2,resolveServlet(NonExistingResource, path=/cmis/repository)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet

      3 (2012-08-09 11:03:33) TIMER_END{2,ServletResolution} URI=/cmis/repository handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet

      3 (2012-08-09 11:03:33) LOG Applying Requestfilters

      3 (2012-08-09 11:03:33) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter

      3 (2012-08-09 11:03:33) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter

      3 (2012-08-09 11:03:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter

      3 (2012-08-09 11:03:33) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter

      3 (2012-08-09 11:03:33) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter

      3 (2012-08-09 11:03:33) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet

      3 (2012-08-09 11:03:33) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter

      3 (2012-08-09 11:03:33) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter

      3 (2012-08-09 11:03:33) LOG RedirectFilter did not redirect (request extension does not match)

      3 (2012-08-09 11:03:33) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter

      3 (2012-08-09 11:03:33) LOG Applying Componentfilters

      3 (2012-08-09 11:03:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter

      3 (2012-08-09 11:03:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter

      3 (2012-08-09 11:03:33) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}

      3 (2012-08-09 11:03:33) TIMER_END{0,org.apache.sling.servlets.get.DefaultGetServlet#0}

      3 (2012-08-09 11:03:33) LOG Applying Error filters

      3 (2012-08-09 11:03:33) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter

      3 (2012-08-09 11:03:33) TIMER_START{handleError:status=404}

      3 (2012-08-09 11:03:33) TIMER_END{0,handleError:status=404} Using handler /libs/sling/servlet/errorhandler/404.jsp

      4 (2012-08-09 11:03:33) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@1170538), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@57d154), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@16ff991), serializer=Config(type=htmlwriter, config={}))}

      4 (2012-08-09 11:03:33) TIMER_END{4,Request Processing} Dumping SlingRequestProgressTracker Entries

       

       

      After that i downloaded CRX v 2.2 and try the same thing. I was able to connect to repository successfully but not able to display any folders. When i try to create a folder i got this error:

       

      Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Property cmis:objectTypeId must be set!

                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.checkCreatePr operties(ObjectServiceImpl.java:648)

                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createFolder( ObjectServiceImpl.java:135)

                at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createFolder(SessionImpl.java:76 9)

                at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createFolder(FolderImpl.java:129)

                at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createFolder(FolderImpl.java:453)

                at CMISAtomTest.main(CMISAtomTest.java:42)

       

      Please Help