Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

AEM SiteImporter 6.1sp2 has geometrixx dependencies

Avatar

Level 4

Hi,

While trying to import a site with AEM 6.1 sp2 with Java 8 and configured with nosamplecontent I get errors because Geometrixx is not installed!  Please suggest or advise....

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Created folder structure in apps

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Creating template

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Template Node created

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Content Node created

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext No preview image available

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Creating design

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Couldn't copy geometrixx design: /etc/designs/geometrixx

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext An error occured during the import.

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext

POST /libs/wcm/bin/siteimporter HTTP/1.1] com.day.cq.wcm.siteimporter.ImporterContext Please check the log for details.

Shouldn't it be referencing Default design???

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi bob,

For temporary fix you can do one thing create a dummy page inside etc/design of name geometrixx and then run importer it will work.

For Permanent fix you have to get the bundle number of  com.cq.wcm.importer bundle and copy particular bundle from launchpad and then use java decompiler to decompile the whole bundle their you will find one class createDesignStep inside that you will find this line

designRootNode.getSession().getWorkspace().copy("/etc/designs/geometrixx", "/etc/designs/" + ctx.getProjectName());

Here you can change and build the whole bundle again and redeploy it.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

Hi bob,

For temporary fix you can do one thing create a dummy page inside etc/design of name geometrixx and then run importer it will work.

For Permanent fix you have to get the bundle number of  com.cq.wcm.importer bundle and copy particular bundle from launchpad and then use java decompiler to decompile the whole bundle their you will find one class createDesignStep inside that you will find this line

designRootNode.getSession().getWorkspace().copy("/etc/designs/geometrixx", "/etc/designs/" + ctx.getProjectName());

Here you can change and build the whole bundle again and redeploy it.

Avatar

Level 4

Thank you!

For posterity sake I checked it in a local install of AEM 6.3.  It looks like they took it out but did not fix the menu in CRXDE/Tools/Site Import:

0 TIMER_START{Request Processing}

  4 COMMENT timer_end format is {<elapsed microseconds>,<timer name>} <optional message>

  13 LOG Method=GET, PathInfo=null

  23 TIMER_START{handleSecurity}

  1453 TIMER_END{1427,handleSecurity} authenticator org.apache.sling.auth.core.impl.SlingAuthenticator@29939c2c returns true

  1732 TIMER_START{ResourceResolution}

  1935 TIMER_END{201,ResourceResolution} URI=/etc/importers/site.html resolves to Resource=NonExistingResource, path=/etc/importers/site.html

  1945 LOG Resource Path Info: SlingRequestPathInfo: path='/etc/importers/site.html', selectorString='null', extension='html', suffix='null'

  1945 TIMER_START{ServletResolution}

  1949 TIMER_START{resolveServlet(/etc/importers/site.html)}

  2907 LOG {0}: no servlet found

  2933 TIMER_END{980,resolveServlet(/etc/importers/site.html)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet

  2950 TIMER_END{1003,ServletResolution} URI=/etc/importers/site.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet

Avatar

Level 5

Right Bob.

in AEM6.3 they remove site importer.