On Mon, 19 Jan 2015 18:41:31 -0200, George Christman <gchrist...@cardaddy.com> wrote:

Caused by: java.io.FileNotFoundException: /sitemap.xml (Permission denied)

Here's the cause: you're trying to write a file to the root folder of your filesystem.

Sitemaps are simple, so why don't you write a Tapestry page to generate it pluse a little bit of URL rewriting to make it available at /sitemap.xml, taking into account what you know about your webapp and caching the data so you don't need to perform the whole process every time the /sitemap.xml URL is requested? The library you're using for that is probably crawling the whole website, hence causing the high load you noticed.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to