Re: Cocoon startup problem

2002-06-03 Thread John Austin

On Monday 03 June 2002 04:24 pm, you wrote:
> 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

Without being specific, I will state for you that SDK 1.4.0 appears to 
be problematic with respect to Cocoon and JDBC. You could look for it 
in the mail archives pointed to on http://xml.apache.org/cocoon/

The last time I checked the Cocoon Web site advises against Tomcat 4.0.3
and suggests 4.0.4-b2 or -b3 or somesuch.

Windoze 2000 ... I have no  experience with ...

I was recently unable to connect Apache 2.0.36  to Tomcat 4.0.4-b3
and reported a problem finding the connectors. I just use it on port 80 
(sucks, but hey BSD sockets are S ancient)



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




RE: Cocoon startup problem

2002-06-03 Thread Vadim Gritsenko

> From: Hutchins, Richard [mailto:[EMAIL PROTECTED]]
> 
> 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.01 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
>  <>


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Cocoon startup problem (repost)

2002-06-03 Thread Hutchins, Richard

Had to try to repost; attachment on original message made e-mail > 75k.

---
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.01 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_xmap.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

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


Rich Hutchins
Sr. Technical Writing Administrator
Getinge/Castle, Inc.
1777 E. Henrietta Rd.
Rochester NY 14623
716-272-5072


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Cocoon startup problem

2002-06-03 Thread Hutchins, Richard

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.01 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_xmap.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

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.01
Description: Binary data

-
Please check that your question has not already been answered in the
FAQ before posting. 

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


COCOON startup problem

2002-02-28 Thread Booth, James



Installed Cocoon on ECM (Tomcat) server, according to cocoon install 

getting following error when I try and start ECM server


2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /staging )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /admin )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /books )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /cocoon )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /ecm )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /ecmadmin )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /examples )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx(  )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /test )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /webdav )
2002-02-28 09:32:34 - ContextManager: Adding context Ctx( /worklist )
java.lang.NoSuchMethodError
at 
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.(DefaultConfigurationBuilder.java:38)
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:433)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:132)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread "main" etInputStream.doRead(BufferedServletInputStream.java:106)
at 
org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:128)
at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
at 
org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(HttpRequestAdapter.java:129)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:198)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)

Solution, ideas, comments, smart remarks gratefully accepted

Regards

[EMAIL PROTECTED] 



-
Please check that your question has not already been answered in the
FAQ before posting. 

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