Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 89842 invoked from network); 9 Mar 2005 14:37:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Mar 2005 14:37:57 -0000 Received: (qmail 8453 invoked by uid 500); 9 Mar 2005 14:37:50 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 8433 invoked by uid 500); 9 Mar 2005 14:37:50 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 8420 invoked by uid 99); 9 Mar 2005 14:37:50 -0000 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_YAHOO_RCVD,SPF_HELO_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mta1.srv.hcvlny.cv.net (HELO mta1.srv.hcvlny.cv.net) (167.206.4.196) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Mar 2005 06:37:49 -0800 Received: from [192.168.15.101] (ool-44c16695.dyn.optonline.net [68.193.102.149]) by mta1.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0ID300HWV9XJEN@mta1.srv.hcvlny.cv.net> for users@cocoon.apache.org; Wed, 09 Mar 2005 09:36:55 -0500 (EST) Date: Wed, 09 Mar 2005 09:36:51 -0500 From: Alex Romayev Subject: ParanoidCocoonServlet vs. init-classloader parameter To: users@cocoon.apache.org Message-id: <5cf1c6269ba788ec8fd7d983ca07fd6f@yahoo.com> MIME-version: 1.0 X-Mailer: Apple Mail (2.619.2) Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-transfer-encoding: 7BIT X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm trying to deploy my app on Tomcat 4.0.4 and getting the following error: javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:946) ... root cause java.lang.NoSuchFieldError: fRecognizedFeatures at org.apache.xerces.parsers.XML11Configuration.(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... I suspect this is due to the xerces version mismatch issue. I don't have any control over the environment, so I understand that my only option is to use ParanoidCocoonServlet. I found this comment in web.xml: This parameter tells cocoon to set the thread's context classloader to its own classloader. If you experience strange classloader issues, try setting this parameter to "true" or using ParanoidCocoonServlet. Could anyone explain to me the difference between using ParanoidCocoonServlet and setting init-classloader parameter to true? Regards, -Alex --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org