Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 74859 invoked from network); 3 Oct 2005 13:35:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 13:35:53 -0000 Received: (qmail 37967 invoked by uid 500); 3 Oct 2005 13:35:46 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 37927 invoked by uid 500); 3 Oct 2005 13:35:45 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Delivered-To: moderator for users@cocoon.apache.org Received: (qmail 24383 invoked by uid 99); 3 Oct 2005 13:30:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Message-ID: <43413242.7090004@kluwer.nl> Date: Mon, 03 Oct 2005 15:29:38 +0200 From: Stefan Warringa User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: nl-NL, nl, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Subsitemap mounted from wrong location Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Oct 2005 13:29:43.0025 (UTC) FILETIME=[83790E10:01C5C81E] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there, We experience a strange problem with Cocoon 2.1.5.1 / Tomcat 4.1.29 on Solaris. A nightly batch routine restarts tomcat after performing backup tasks. After this restart Cocoon fails to serve *some* URL's returning a ResourceNotFound exception. If tomcat is restarted manually OR after touching the main sitemap, everything is working fine. The access log shows messages like: WARN (2005-09-20) 08:10.34:121 [access] (/cmsbrowser/homepage.png) http12080-Processor3/CocoonServlet: The resource was not found 00016: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: file:/prun/app/puma/cmsbrowser/current/cmsbrowser/security/cmsbrowser/sitemap.xmap doesn't exist. The mentioned sitemap should not be loaded from file uri mentioned but from file:/prun/app/puma/cmsbrowser/current/cmsbrowser/sitemap.xmap (so without the security/cmsbrowser stuff). This only happens for URL's like /cmsbrowser/*. Others (cmsbrowser/**) are served without problems. The structure of my webapplication is like this: cmsbrowser (Cocoon, main sitemap) |__ cmsbrowser (subsitemap) |__ security (subsubsitemap) |__ search |__ ... other submodules The webapp is deployed at location /prun/app/puma/cmsbrowser/current. The main sitemap forwards all requests to the cmsbrowser subsitemap: The cmsbrowser sitemap in turn provides a diferent handling for * and ** URL's, so I gues this is the origin of the problem. ** URL's are simply passed to lower subsitemaps. The * URL's are protected using the auth-protect action (org.apache.cocoon.webapps.authentication.acting.AuthAction) ...screen rendering stuff ... with the authentication manager configured as So, a user hitting cmsbrowser/* should be passed to the cmsbrowser/security/loginform pipeline. What it looks like though is a problem with the environment stack: cocoon attempts to mount cmsbrowser/sitemap.xmap from the cmsbrowser/security context! When touching the main sitemap (forcing a reload by cocoon) the problem is gone. We're currently trying to reproduce this problem by performing the automatic restart every 30 minutes but without success so far. There's also nothing to be found in the mail archive. Is there someone out there who has experienced similar kinds of problems? Any help is appreciated. thx, Stefan Warringa. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org