i also used jetty for this, with the same effect. so, i don't think that's a 
tomcat problem. the question is, why do i have problems only when loading my 
block with a hosting webapp. i need a way to make a war that includes my block 
and as far as i understood the only way to do this is to create a new cocoon 
webapp project (with the block as dependency) and deploy this as war.
is this right?

regards, matthias



----- Ursprüngliche Mail ----
Von: Reinhard Pötz <[EMAIL PROTECTED]>
An: [email protected]
Gesendet: Mittwoch, den 15. Oktober 2008, 11:23:00 Uhr
Betreff: Re: AW: [C2.2] Problem after Hosting Block

Matthias Müller wrote:
> i use the latest xercesImpl 2.8.1
> 
> what i found out so far: 
> 
> the error i receive:
> ------
> 
> Could not parse form definition.
>     at [FormManager] - 
> file:///<pathToMyWebapp>/target/work/blocks/<myBlock>/forms/myForm_definition.xml
>     at Form - 
> servlet:org.apache.cocoon.forms.impl.servlet+:/resource/internal/flow/javascript/Form.js:35
> ---
> points to the "cocoon.releaseComponent(formMgr);" statement in the Form.js
> 
> regards, matthias
> 
> 
> i receive the error in the form.js on line 

Are you sure that this is the only Xerces on the classpath? Usually
Tomcat comes with its own XML libraries and usually they have precedence
over libraries in WEB-INF/lib.

-- 
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                  [EMAIL PROTECTED]
________________________________________________________________________

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




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

Reply via email to