This discussion is archived
2 Replies Latest reply: Dec 11, 2012 11:59 AM by endecaChip RSS

Getting Error while Creating Sitemap using SitemapGenerator 2.1.1

979265 Newbie
Currently Being Moderated
Hi,
I have configured the sitemap generation for CRS Data by referring Endeca Sitemap Generator Developer's Guide Version 2.1.1.So, I am facing following issue mentioned below,

[INFO: No navigation links (defined in the NAVIGATION_PAGE_SPEC_LIST parameter in the conf.xml file) were created.   Please make sure in in Developer Studio that each of the dimensions specified in this parameter have been set to be displayed within the record list.*Dec 11, 2012 7:40:21 PM com.endeca.soleng.sitemap.SitemapMain execute
INFO: Writing search term links...
Dec 11, 2012 7:40:21 PM com.endeca.soleng.sitemap.SitemapMain writeLinks
SEVERE: Error in Writing search term Links: null
Dec 11, 2012 7:40:21 PM com.endeca.soleng.sitemap.SitemapMain execute
INFO: Writing static page links...
Dec 11, 2012 7:40:21 PM com.endeca.soleng.sitemap.SitemapMain writeLinks
SEVERE: Error in Writing static page Links: null
Dec 11, 2012 7:40:21 PM com.endeca.soleng.sitemap.SitemapMain execute
INFO: Writing index file...
Dec 11, 2012 7:40:21 PM com.endeca.soleng.sitemap.SitemapMain writeIndexFile
SEVERE: Error in Writing Index File: null
Script completed successfully.



Even i referred No Navigation Pages Created in Common errors(page no 32) in the Endeca Sitemap Generator Developer's Guide Version 2.1.1 but still didn't get the proper solution

Plz let me know ur inputs/sugesstions.

Thanks in advance,
Chetan Kumar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
  • 1. Re: Getting Error while Creating Sitemap using SitemapGenerator 2.1.1
    endecaChip Newbie
    Currently Being Moderated
    The first warning ("INFO: No navigation links ... were created") could be caused by a few things:

    1) The names of the dimensions specified in your NAVIGATION_PACE_SPEC_LIST do not exist in your application.
    - Make sure each DIMENSION_NAME element matches a dimension in your application.

    2) The dimensions in your NAVIGATION_SPEC_LIST are not being returned by the MDEX engine.
    - The easiest way to ensure these dimensions is to put them in the QUERY_FIELD_LIST (also in your Sitemap Generator conf.xml).
    - You can also flag these dimensions to be returned with the record list.

    3) As a general note, make sure the <MDEX_ENGINES> host, port, and root queries are properly configured (also in the conf.xml).
    - You can check the host, port, and query against the "orange" reference application.

    Offhand, I don't know any potential causes for the "SEVERE: Error in Writing search term Links: null" message... same for the static page links. There's definitely something misconfigured. I'll take a look to see what it could be and post back.
  • 2. Re: Getting Error while Creating Sitemap using SitemapGenerator 2.1.1
    endecaChip Newbie
    Currently Being Moderated
    The other errors ("SEVERE: Error in Writing ... links: null") imply a misconfigured Sitemap Generator. I'm sorry that there's not a better error message and diagnosis, but it seems that the Sitemap Generator swallows the real error and only attempts to print out the exception message (which in your case is 'null' -- not very helpful). Looking at the application, you could get an error here under the following circumstances:

    1) The Sitemap Generator cannot write to the intended output files
    - Make sure that the directory implied by the <INDEX_FILE> configuration setting exists and is writable by the user executing the Sitemap Generator.
    - If no directory is written in that setting (e.g. <INDEX_FILE> only contains a file name), then the Sitemap Generator will attempt to create the sitemap in the current directory.
    - If that file already exists, then make sure that file is readable and writable by the current user.

    2) The Sitemap Generator cannot create proper links for those files.
    - Check to make sure you have valid entries in the corresponding files (<SEARCH_TERMS_FILE>, <STATIC_PAGES_FILE>, etc.).
    - Check to make sure you have valid template files (<TEMPLATE_FILE>, <URL_FORMAT_FILE>, etc.).

    As a general though, you may want to just take the initial Sitemap Generator configuration (unmodified, as is) and run the Sitemap Generator against this configuration. You can then start to tailor the configuration files for your application. (NOTE: you'll need all of the files in the conf directory.)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points