Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

how to upload CMS xml file content?

Avatar

Level 2

I reinstalled everything from scratch on ports 4506&4507.  Everything looks perfectly fine.  CRXDE, package manager, granite web site.  Felix is routed.  The http clients are installed.  All 4 jar zip files are installed.  Tools manager comes up.  Bundles console is fine.   HOw do you tell if Apache Sling resolver is set to HTML?  I couldn't locate that setting.

 

The only error is a slingrequestpathinfo for ‘content/mysite/XX/XX/en/login.htm

But, I think it is just missing the CMS content, buttons images etc.

There is a cq5 integration file that does have the CMS content in it.

I don’t know what to do with it  It isn’t a jar file.  It is just the xml content files.  Its got a jcr_root directory and a meta-inf.

This is a wild guess but since cq5 is a content manager maybe the content goes somewhere :-)  now thatt past the installation.

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Level 9

Then installation went fine. You can resolve this in one of the following way

1. Compare the geometrixx site with yours side by side on different windows using crxde. Make sure template, component paths etc are valid and have sling:resourceType set properly.

2. Set Apache logging level to debug and look for any abnormalities in error.log file. You can increase log level by following the link http://docs.adobe.com/docs/en/cq/current/deploying/configure_logging.html

3. Follow the steps or download the package to test a simple featured website from http://dev.day.com/docs/en/cq/current/howto/website.html. This is very simple site, you can compare with yours to see what type of configurations they have

http://dev.day.com/docs/en/cq/current/howto/website.html

View solution in original post

5 Replies

Avatar

Level 9

Good to hear that you reinstalled everything. By default sling resolver is set to html, you can check this in felix consiles as

Console-> OSGI -> Configuration -> Apache Sling Servlet/Script Resolver and Error Handler

When you click on this you will see Default Extensions settings, there should already be entry with html, if not you add it

Try with html not htm content/mysite/XX/XX/en/login.html

Avatar

Level 2

Thanks, just to double check that is correct also but there is still the issue here is the log.  I am guessing that these XML content  files have button images or something that is a required resource and why there is a 404?  There is a folder that looks like it needs to be uploaded.  I couldn't find the content loader.  How do I upload this folder?  It is components for all the pages,  Containers, templates, headers and footers and such.  It looks like the directory of our mobile and web site.  It has a meta-Inf folder with a cofig, and a maven and a vault folders.  The config file has includes.  Is there a way to upload it?  Inside the maven folder is something about fresco and a pom.xml file with includes.  Its a zip file. Is there a way to upload this?.  Thanks so much,

Cannot serve request to /content/xxxcom/xxx/xx/en/login.html in /libs/sling/servlet/errorhandler/404.jsp

Request Progress:

0 (2014-11-02 09:13:43) TIMER_START{Request Processing} 0 (2014-11-02 09:13:43) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 (2014-11-02 09:13:43) LOG Method=GET, PathInfo=/content/XXcom/XX/XX/en/login.html 0 (2014-11-02 09:13:43) TIMER_START{ResourceResolution} 388 (2014-11-02 09:13:43) TIMER_END{388,ResourceResolution} URI=/content/XXcom/XX/xx/en/login.html resolves to Resource=, type=sling:nonexisting, path=/content/XXcom/XX/xx/en/login.html, resource=[NonExistingResource, path=/content/xxcom/XX/XX/en/login.html] 388 (2014-11-02 09:13:43) LOG Resource Path Info: SlingRequestPathInfo: path='/content/xxcom/xxx/xxx/en/login.html', selectorString='null', extension='html', suffix='null'

Mshajiahmed wrote...

Good to hear that you reinstalled everything. By default sling resolver is set to html, you can check this in felix consiles as

Console-> OSGI -> Configuration -> Apache Sling Servlet/Script Resolver and Error Handler

When you click on this you will see Default Extensions settings, there should already be entry with html, if not you add it

Try with html not htm content/mysite/XX/XX/en/login.html

 

Avatar

Level 9

Does goemetrixx and other ootb box sites work ?

Avatar

Correct answer by
Level 9

Then installation went fine. You can resolve this in one of the following way

1. Compare the geometrixx site with yours side by side on different windows using crxde. Make sure template, component paths etc are valid and have sling:resourceType set properly.

2. Set Apache logging level to debug and look for any abnormalities in error.log file. You can increase log level by following the link http://docs.adobe.com/docs/en/cq/current/deploying/configure_logging.html

3. Follow the steps or download the package to test a simple featured website from http://dev.day.com/docs/en/cq/current/howto/website.html. This is very simple site, you can compare with yours to see what type of configurations they have

http://dev.day.com/docs/en/cq/current/howto/website.html