Kamal Bhatt wrote:
Those anyone have any thoughts? There is nothing overly unusual about my applications, it is just a standard application with single block and no extra code. The only thing unusual about it is I am using map:mount at the sitemap level.

Cheers.

This is partially fixed. On the latest version of Glassfish I got it to work, but with new issues. That problem was that there must be a '/' after the context-path. Eg:

<bean id="au.com.tt.ccm.cocoon-ccm.service" class="org.apache.cocoon.sitemap.SitemapServlet"> <servlet:context mount-path="/cocoon-ccm" context-path="blockcontext:/cocoon-ccm/">
   </servlet:context>        </bean>

Will work.
This:
<bean id="au.com.tt.ccm.cocoon-ccm.service" class="org.apache.cocoon.sitemap.SitemapServlet"> <servlet:context mount-path="/cocoon-ccm" context-path="blockcontext:/cocoon-ccm">
   </servlet:context>        </bean>

Will not.

Is this a bug or a very stupid error.

The context path has to be a directory which means that a trailing slash is correct. Did you get a helpful error message?

Anyway, the latest version of the servlet-service framework in SVN (not released yet!) was enhanced by a check that adds a trailing slash in the case it is missing.

Thanks for sharing your findings!

--
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                         http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair       [EMAIL PROTECTED]
________________________________________________________________________

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

Reply via email to