Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 91401 invoked from network); 27 Jul 2006 08:08:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2006 08:08:53 -0000 Received: (qmail 38050 invoked by uid 500); 27 Jul 2006 08:08:45 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 37861 invoked by uid 500); 27 Jul 2006 08:08:44 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Delivered-To: moderator for dev@cocoon.apache.org Received: (qmail 55085 invoked by uid 99); 27 Jul 2006 03:30:02 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of riceyeh@gmail.com designates 64.233.166.183 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=jMN4jrvYOdvmIB0EPlN/WfPmNOLJ6mQwoelLdOgm/LQ12ZEoUJOaCherkwFfHQK0VEkoro7aPRB99Cpt/OnXLmP3AZAHZB0g4XLVyS2F1i6G4P3jjE4ER4C6vZ2NFIwK8aPGDM0aGeML0iCQlCZWhoCXDyu+69WDMZvJ5Ab9NYA= Message-ID: <47f71d940607262029n743cbc02ob30a55df4c941f05@mail.gmail.com> Date: Thu, 27 Jul 2006 11:29:40 +0800 From: "Rice Yeh" To: dev@cocoon.apache.org Subject: Re: Run myBlock in Tomcat fail MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_140512_14515994.1153970980642" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_140512_14515994.1153970980642 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Rice Yeh wrote: >> Hi, >> I follow the insturction in >> http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html to run the >> 2.2 version. The result is good in jetty. However, when i run the same block >> with tomcat, I always get the following error messages: >> >> Jul 26, 2006 2:53:41 PM org.apache.catalina.core.StandardContext start >> SEVERE: Error listenerStart >> Jul 26, 2006 2:53:41 PM org.apache.catalina.core.StandardContext start >> SEVERE: Context [/cocoon] startup failed due to previous errors >> >> Any clue? >> > Are you using the latest version? I checked in a fix yesterday for the > web.xml; the doctype was missing. So you could check your web.xml. If it > does not contain a doctype, add it and try again :) > If that is not the problem, can you post more information? > > I'm running latest Cocoon 2.2 in Tomcat (5.0 and 5.5) without problems. > > Carsten Hi, I have checked the web.xml and the doctype is ok. I run it in tomcat-5.0.28 and the error messages seems showing the problem is about the context listener. Hence, I comment out the listener setting in web.xml, then the error becomes "Error filterStart". From here, I resaon it is context listener problem. See the following error message: INFO: Processing Context configuration file URL file:C:\apache\tomcat.home\jakar ta-tomcat-5.0.28\conf\Catalina\localhost\cocoon.xml Jul 27, 2006 1:10:46 AM org.apache.catalina.core.StandardContextlistenerStart SEVERE: Skipped installing application listeners due to previous error(s) Jul 27, 2006 1:10:46 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jul 27, 2006 1:10:46 AM org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors Regards, Rice ------=_Part_140512_14515994.1153970980642 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
>> Rice Yeh wrote:
>> Hi,
>> I follow the insturction in
>> http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html
to run the
>> 2.2 version. The result is good in jetty. However, when i run the same block
>> with tomcat, I always get the following error messages:
>>
>> Jul 26, 2006 2:53:41 PM
org.apache.catalina.core.StandardContext start
>> SEVERE: Error listenerStart
>> Jul 26, 2006 2:53:41 PM org.apache.catalina.core.StandardContext start
>> SEVERE: Context [/cocoon] startup failed due to previous errors

>>
>> Any clue?
>>

> Are you using the latest version? I checked in a fix yesterday for the
> web.xml ; the doctype was missing. So you could check your web.xml. If it
> does not contain a doctype, add it and try again :)

> If that is not the problem, can you post more information?
>
> I'm running latest Cocoon 2.2 in Tomcat (5.0 and 5.5) without problems.
>
> Carsten
Hi,
  I have checked the web.xml and the doctype is ok. I run it in tomcat-5.0.28 and the error messages seems showing the problem is about the context listener. Hence, I comment out the listener setting in web.xml, then the error becomes  "Error filterStart". From here, I resaon it is context listener problem.

See the following error message:

INFO: Processing Context configuration file URL file:C:\apache\tomcat.home\jakar
ta-tomcat-5.0.28\conf\Catalina\localhost\cocoon.xml
Jul 27, 2006 1:10:46 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Jul 27, 2006 1:10:46 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 27, 2006 1:10:46 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors

Regards,
Rice
------=_Part_140512_14515994.1153970980642--