Modify your map:mounts to look like this:

  <map:mount uri-prefix="x" src="x/sitemap.xmap" check-reload="yes"
reload-method="synchron"/>

Asynchron reloading method is broken and removed from next (2.0.3)
version of Cocoon.


Vadim


> From: yuryx [mailto:[EMAIL PROTECTED]]
> 
> Hi all!
> Can anyone help me with following problem:
> I just installed cocoon2.0.2 on Tomcat 4.0.4-b1 (JDK1.3.1_02 Mandrake
linux)
> I created subsitemap tree schema for my web, but before first access
to
> next node (subsitemap) cocoon responses with
> the following error:
> 
> (only for cocoon2.0.2 version :( )
> ERROR   (2002-06-11) 09:22.23:887[access](/cocoon/info/crate)
> Thread-14/CocoonServlet: Problem with servlet
> java.lang.NullPointerException
>     at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2709)
>     at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
>     at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>     at
>
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154
)
>     at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
>     at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> ...
> (/info prefix -the mounted subsitemap)
> After a little while pages reload without any error...
> Can anyone give me a hint on how to resolve this problem?
> Thanx.
> Yury.


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to