1 Reply Latest reply on Aug 23, 2012 10:35 AM by tomato1

    SiteManager doesn't update the list of websites after creating a LiveCopy

    pisupatis

      Hi,

      I am facing a strange issue with the SiteAdmin LiveCopy feature.

       

      I have created a LiveCopy website from a BluePrint site. The new livecopy site is created successfully with all the necessary rollout config changes. But for some reason the SiteAdmin refresh doesn't show the website list. The page is blank. I can only see the list of websites on the left side frame. The right side frame is empty. Please see the attached image and the firebug error log.

       

      Any suggestions to resolve this issue are most welcome. Appreciate for your time.

       

      Best,

      Suku.

       

      CQ5_SiteAdmin_LiveCopy_Error.png

       

      Header 1

      {"pages":[{"index":0,"path":"/content/geometrixx","label":"geometrixx","title":"Geometrixx Demo Site","title_xss":"Geometrixx Demo Site","title":"Geometrixx Demo Site","monthlyHits":0,"type":"cq:Page","dialogPath":"/libs/foundation/components/page/dia log","lastModifiedBy":null,"lastModifiedBy_xss":null,"lastModified":0,"timeUntilValid":0," onTime":0,"offTime":0,"replication":{"numQueued":0},"inWorkflow":false,"workflows":[],"sch eduledTasks":[],"msm:isLiveCopy":false,"msm:isInBlueprint":true,"msm:isSource":false},{"in dex":1,"path":"/content/geometrixx_mobile","label":"geometrixx_mobile","title":"Geometrixx Mobile Demo Site","title_xss":"Geometrixx Mobile Demo Site","title":"Geometrixx Mobile Demo Site","monthlyHits":0,"type":"cq:Page","dialogPath":"/libs/wcm/mobile/components/page/dia log","templateTitle":"Geometrixx Mobile Content Page","templateTitle_xss":"Geometrixx Mobile Content Page","templatePath":"/apps/geometrixx/templates/mobilecontentpage","templateShortTitle": "Mobile Content","templateShortTitle_xss":"Mobile Content","lastModifiedBy":"Administrator","lastModifiedBy_xss":"Administrator","lastModif ied":1268041912426,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":0} ,"inWorkflow":false,"workflows":[],"scheduledTasks":[],"msm:isLiveCopy":false,"msm:isInBlu eprint":false,"msm:isSource":false},{"index":2,"path":"/content/campaigns","label":"campai gns","title":"Campaigns","title_xss":"Campaigns","title":"Campaigns","monthlyHits":0,"type ":"sling:Folder","lastModifiedBy":null,"lastModifiedBy_xss":null,"lastModified":-1,"timeUn tilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":0},"inWorkflow":false,"workf lows":[],"scheduledTasks":[]},{"index":3,"path":"/content/dam","label":"dam","title":"Digi tal Assets","title_xss":"Digital Assets","title":"Digital Assets","monthlyHits":0,"type":"sling:OrderedFolder","lastModifiedBy":null,"lastModifiedB y_xss":null,"lastModified":-1,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"nu mQueued":0},"inWorkflow":false,"workflows":[],"scheduledTasks":[]},{"index":4,"path":"/con tent/wiki","label":"wiki","title":"Wiki Content","title_xss":"Wiki Content","title":"Wiki Content","monthlyHits":0,"type":"wiki:Topic","lastModifiedBy":null,"lastModifiedBy_xss":n ull,"lastModified":-1,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued" :0},"inWorkflow":false,"workflows":[],"scheduledTasks":[]},{"index":5,"path":"/content/blu eprintdemo","label":"blueprintdemo","title":"BluePrint demo","title_xss":"BluePrint demo","title":"BluePrint demo","monthlyHits":23,"type":"cq:Page","dialogPath":"/libs/foundation/components/page/di alog","lastModifiedBy":"Administrator","lastModifiedBy_xss":"Administrator","lastModified" :1333643319629,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":30,"pu blished":1333575432993,"publishedBy":"Administrator","publishedBy_xss":"Administrator","ac tion":"ACTIVATE"},"inWorkflow":false,"workflows":[],"scheduledTasks":[],"msm:isLiveCopy":f alse,"msm:isInBlueprint":true,"msm:isSource":true},{"index":6,"path":"/content/livecopydem o","label":"livecopydemo","title":"LiveCopy Demo","title_xss":"LiveCopy Demo","title":"LiveCopy Demo","monthlyHits":7,"type":"cq:Page","dialogPath":"/libs/foundation/components/page/dia log","lastModifiedBy":"Administrator","lastModifiedBy_xss":"Administrator","lastModified": 1333646845631,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":0},"inW orkflow":false,"workflows":[],"scheduledTasks":[]<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

      <html>

      <head>

      <title>500 String index out of range: -1</title>

      </head>

      <body>

      <h1>String index out of range: -1 (500)</h1>

      <p>The requested URL /content.pages.json resulted in an error in com.day.cq.wcm.core.impl.servlets.PageListServlet.</p>

      <h3>Exception:</h3>

      <pre>

      java.lang.StringIndexOutOfBoundsException: String index out of range: -1

          at java.lang.String.substring(String.java:1937)

          at java.lang.String.substring(String.java:1904)

          at com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl.computeRolloutConfigs(LiveRelationshi pManagerImpl.java:1149)

          at com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl.buildRelationship(LiveRelationshipMan agerImpl.java:1085)

          at com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl.getLiveRelationship(LiveRelationshipM anagerImpl.java:936)

          at com.day.cq.wcm.core.impl.servlets.PageListServlet$PageListItem.writeLiveRelationshipState (PageListServlet.java:346)

          at com.day.cq.wcm.core.impl.servlets.PageListServlet$PageListItem.write(PageListServlet.java :270)

          at com.day.cq.commons.servlets.AbstractListServlet.write(AbstractListServlet.java:234)

          at com.day.cq.commons.servlets.AbstractListServlet.doGet(AbstractListServlet.java:108)

          at com.day.cq.commons.servlets.AbstractPredicateServlet.doGet(AbstractPredicateServlet.java: 75)

          at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet. java:268)

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

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

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

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

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

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

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

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

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

          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)

      </pre>

      <h3>Request Progress:</h3>

      <pre>

            0 (2012-04-05 12:49:08) TIMER_START{Request Processing}

            0 (2012-04-05 12:49:08) COMMENT timer_end format is {&lt;elapsed msec&gt;,&lt;timer name&gt;} &lt;optional message&gt;

            0 (2012-04-05 12:49:08) LOG Method=GET, PathInfo=/content.pages.json

            0 (2012-04-05 12:49:08) TIMER_START{ResourceResolution}

            1 (2012-04-05 12:49:08) TIMER_END{1,ResourceResolution} URI=/content.pages.json resolves to Resource=JcrNodeResource, type=sling:redirect, superType=null, path=/content

            1 (2012-04-05 12:49:08) LOG Resource Path Info: SlingRequestPathInfo: path='/content', selectorString='pages', extension='json', suffix='null'

            1 (2012-04-05 12:49:08) TIMER_START{ServletResolution}

            1 (2012-04-05 12:49:08) TIMER_START{resolveServlet(JcrNodeResource, type=sling:redirect, superType=null, path=/content)}

            1 (2012-04-05 12:49:08) TIMER_END{0,resolveServlet(JcrNodeResource, type=sling:redirect, superType=null, path=/content)} Using servlet com.day.cq.wcm.core.impl.servlets.PageListServlet

            1 (2012-04-05 12:49:08) TIMER_END{0,ServletResolution} URI=/content.pages.json handled by Servlet=com.day.cq.wcm.core.impl.servlets.PageListServlet

            1 (2012-04-05 12:49:08) LOG Applying Requestfilters

            1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter

            1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.portal.container.internal.request.PortalFilter

            1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter

            1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter

            1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter

            1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter

            1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet

            1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter

            1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter

            1 (2012-04-05 12:49:08) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)

            1 (2012-04-05 12:49:08) LOG Applying Componentfilters

            1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter

            2 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter

            2 (2012-04-05 12:49:08) TIMER_START{com.day.cq.wcm.core.impl.servlets.PageListServlet#0}

           55 (2012-04-05 12:49:08) TIMER_END{53,com.day.cq.wcm.core.impl.servlets.PageListServlet#0}

          100 (2012-04-05 12:49:08) TIMER_START{handleError:throwable=javax.servlet.ServletException}

          114 (2012-04-05 12:49:08) TIMER_END{14,handleError:throwable=javax.servlet.ServletException} Using handler org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet

          119 (2012-04-05 12:49:08) TIMER_END{119,Request Processing} Dumping SlingRequestProgressTracker Entries

      </pre>

      <hr>

      <address>ApacheSling/2.2 (Java HotSpot(TM) 64-Bit Server VM 1.6.0_30; Windows 7 6.1 amd64)</address>

      </body>

      </html>