Cocoon 2.0.3 under JDK 1.4.1

2002-12-08 Thread Tiago Dias
Hi Josef,

  I think your problem is the same (at least similar) to the one I got when
tried to use Xalan 2.4.1 instead of the default 2.3.1 brought in the Cocoon
2.0.3 distribution. If you can try using Xalan version 2.3.1 instead and I
expect you won't have problems. Otherwise you'd need a Cocoon distribution
that supports Xalan 2.4.1 (has been recently included in the Cocoon
2.1-dev).

  Best regards,
  Tiago Dias

Quoting: Franz-Josef Herpers
---
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) and the dom.jar und sax.jar files (JAXP 1.2).

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]




Re: Cocoon 2.0.3 under JDK 1.4.1

2002-12-08 Thread Joerg Heinicke
Cocoon shell work without any problems with Xalan 2.4.1, if you 
(re)place the files xalan-xxx.jar, xerces-xxx.jar (or 
xercesImpl-xxx.jar) and xml-apis.jar in(to) the endorsed directory 
either of Tomcat or JDK. The versions used with Cocoon must be identical 
with the version in the endorsed directory. If you use the endored 
directory of the JDK, you must not have other versions of Xalan and 
Xerces in the Tomcat endorsed (it has more priority).

Hope this helps,

Joerg

Tiago Dias wrote:
Hi Josef,

  I think your problem is the same (at least similar) to the one I got when
tried to use Xalan 2.4.1 instead of the default 2.3.1 brought in the Cocoon
2.0.3 distribution. If you can try using Xalan version 2.3.1 instead and I
expect you won't have problems. Otherwise you'd need a Cocoon distribution
that supports Xalan 2.4.1 (has been recently included in the Cocoon
2.1-dev).

  Best regards,
  Tiago Dias

Quoting: Franz-Josef Herpers
---
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) and the dom.jar und sax.jar files (JAXP 1.2).

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]




Re: Cocoon 2.0.3 under JDK 1.4.1

2002-11-15 Thread Piotr Legiecki
Franz-Josef Herpers wrote:

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.




AFAIR on my Debian system all I had to do was:
1. unzip (manually) cocoon.war to tomcat webapps directory
2. don't make endorsed dir. not necessary.
3. I didn't make any JAVA_HOME etc variables (but it was Debian)

That's all I think.

Regards
Piotr L.




-
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]




Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Franz-Josef Herpers
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) and the dom.jar und sax.jar files (JAXP 1.2).

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]




Re: Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Joerg Heinicke
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]




Re: Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Franz-Josef Herpers
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]




AW: Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Franz-Josef Herpers
Hi again,

I solved the problem.

The xalan.jar in the endorsed directory of the JDK where too new. If I remove it 
everything works fine. Now there are no files in my endorsed directory and Cocoon 
works...

Franz

 -Ursprüngliche Nachricht-
 Von: Franz-Josef Herpers
 [mailto:franz-josef.herpers;spmtechnologies.com]
 Gesendet: Donnerstag, 14. November 2002 19:41
 An: [EMAIL PROTECTED]
 Betreff: Re: Cocoon 2.0.3 under JDK 1.4.1
 
 
 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.ProgramGenerat
 orImpl.createResource(ProgramGeneratorImpl.java:340)
   at 
 org.apache.cocoon.components.language.generator.ProgramGenerat
 orImpl.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.JavaLan
 guage.compile(JavaLanguage.java:243)
   at 
 org.apache.cocoon.components.language.programming.CompiledProg
 rammingLanguage.load(CompiledProgrammingLanguage.java:207)
   at 
 org.apache.cocoon.components.language.generator.ProgramGenerat
 orImpl.generateResource(ProgramGeneratorImpl.java:388)
   at 
 org.apache.cocoon.components.language.generator.ProgramGenerat
 orImpl.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.JavaLan
 guage.compile(JavaLanguage.java:243)
   at 
 org.apache.cocoon.components.language.programming.CompiledProg
 rammingLanguage.load(CompiledProgrammingLanguage.java:207)
   at 
 org.apache.cocoon.components.language.generator.ProgramGenerat
 orImpl.generateResource(ProgramGeneratorImpl.java:388)
   at 
 org.apache.cocoon.components.language.generator.ProgramGenerat
 orImpl.createResource(ProgramGeneratorImpl.java:333)
   at 
 org.apache.cocoon.components.language.generator.ProgramGenerat
 orImpl.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