You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rajeev Singh <rs...@zapapp.com> on 2002/06/04 07:06:17 UTC

Cocoon vs J2ee performance

Hi all,
I needed the opinion of the house whether Cocoon is a fit for mission
critical operations where speed is of top priority in comparison with
JSP-Servlet-HTML architecture, using a servlet container only as in
J2ee,(with or without ejb's).

Thx,
Rajeev

-----Original Message-----
From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net] 
Sent: Tuesday, June 04, 2002 2:39 AM
To: cocoon-users@xml.apache.org
Subject: RE: Cocoon startup problem

> From: Hutchins, Richard [mailto:Richard.Hutchins@GetingeCastle.com]
> 
> I am using SDK 1.4.0 and Tomcat 4.0.3. I just installed Cocoon 2.0.1
on a
> Windows 2000 machine as the directions indicate, but I get a fatal
error
> (language exception) in the browser (IE 5.5) each time I try to access
> cocoon through localhost:8080. Not really sure how this list works, so
I
> have attached the error.log.000001 file in hopes that it would point
to the
> specific problem. The beginning of the internal server error appears
below:
> 
> type fatal
> message Language Exception
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error
compiling
> sitemap_xmap: Line 0, column 0: could not parse error message: error:
> Invalid class file format in
> C:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The
major.minor
> version '48.0' is too recent for this tool to understand. C:\Program
> Files\Apache Tomcat
>
4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xma
p.ja
> va:12: Class java.io.OutputStream not found in import. import
> java.io.OutputStream; ^ Line 0, column 0: could not parse error
message:
> error: Invalid class file format in C:\j2sdk1.4.0\jre\lib\rt.jar

You are using old tool with the new libraries.

'Old' here is JDK 1.3.1 or earlier, 'tool' is tools.jar (or javac.jar),
'new libraries' is rt.jar from JDK 1.4.

Correct the error (use either older JDK or newer javac) and try again.

PS javac.jar is located in the cocoon.war/WEB-INF/lib in the webapp, or
in xml-cocoon/lib/ in source distribution.

Vadim


> 
> and so on and so on...
> 
> I'm no pro, but judging from the plain English at the beginning of the
> error, it would seem that Cocoon does not work with the 1.4.0
distribution
> of the SDK.
> 
> If anybody else has encountered this, I'd appreciate any suggestions.
I'd
> hate to think that I have to step backwards to SDK 1.3.x to actually
use
> Cocoon.
> 
> Rich Hutchins
>  <<error.log.000001>>


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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>



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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>