Hi Joerg,

thanks for the fast reply, but that's not the cause of the problem.

I cleaned the work directory and tried to fill the endorsed directory of JDK and 
Tomcat with nearly every possible combination of files: the original jar files from 
the Cocoon 2.0.3 distribution the newest jar Version of xalan and xerces, but nothing 
helps.

>From the console output I guessed it has something to do with the newest xalan 
>version. But even when i downgrade to the version of Cocoon the error occurs.

The stack trace is

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap:
Line 0, column 0: 
error: java.io.IOException: read error
1 error

        at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:340)
        at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:265)
        at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.cocoon.components.language.LanguageException: Error compiling 
sitemap_xmap:
Line 0, column 0: 
error: java.io.IOException: read error
1 error

        at 
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:243)
        at 
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:207)
        at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:388)
        at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:333)
        ... 3 more
org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap:
Line 0, column 0: 
error: java.io.IOException: read error
1 error

        at 
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:243)
        at 
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:207)
        at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:388)
        at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:333)
        at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:265)
        at java.lang.Thread.run(Thread.java:536)

Franz





> -----Ursprüngliche Nachricht-----
> Von: Joerg Heinicke [mailto:joerg.heinicke@;gmx.de]
> Gesendet: Donnerstag, 14. November 2002 19:24
> An: [EMAIL PROTECTED]
> Betreff: Re: Cocoon 2.0.3 under JDK 1.4.1
> 
> 
> Hi Franz,
> 
> Franz-Josef Herpers wrote:
>  > Hi,
>  >
>  > since today I never had any problems installing Cocoon under Tomcat
>  > even with JDK 1.4.
>  >
>  > But now I have the following configuration:
>  >
>  > Windows 2000 SP 3 Cocoon 2.0.3 for JDK 1.4 JDK 1.4.1 
> Tomcat 4.1.12 in
>  > the endorsed directory of JDK reside xalan.jar (Xalan 
> 2.4.1) and the
>  > Files xercesImpl.jar (Xerces 2.2.0)
> 
> xml-apis.jar is missing.
> 
>  > and the dom.jar und sax.jar files
>  > (JAXP 1.2).
> 
> not needed.
> 
> Did you delete Tomcat work directory?
> 
> Joerg
> 
>  > When I open the cocoon starting page i get the following error
>  > message:
>  >
>  > message: Language Exception
>  >
>  > description: org.apache.cocoon.ProcessingException: Language
>  > Exception: org.apache.cocoon.components.language.LanguageException:
>  > Error compiling sitemap_xmap: Line 0, column 0: error:
>  > java.io.IOException: read error 1 error
>  >
>  > The console shows: java.lang.RuntimeException:
>  > org.apache.xml.utils.WrappedRuntimeException: The ou tput 
> format must
>  > have a '{http://xml.apache.org/xalan}content-handler' property!
>  >
>  > I would appreciate any hint!
>  >
>  > Thanks Franz
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to