RE: Internal server error

2002-08-20 Thread Naquin, Beth
Title: RE: Internal server error





This could be way off the mark, but since no one else answered: Do you try to redirect after you've already written part of the content (like html or ?xml ...)? I used to get a similar error when programming with Active Server Pages, and it had to do with putting a redirect after some content (like the HTML head was already written to the browser).

-Original Message-
From: Hassan Abolhassani [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 7:44 PM
To: [EMAIL PROTECTED]
Subject: Internal server error



On JDK1.3/Tomcat 4/Cocoon 2.0.3 I receive following error for some pages:


Can anybody tell me what might be wrong and how I can resolve it.


Hassan Abolhassani


--
Error: 500
Location: ...
Internal Servlet Error:


java.lang.IllegalStateException: can't reset buffer after writing to client
 at org.apache.tomcat.core.Response.reset(Response.java:264)
 at org.apache.tomcat.facade.HttpServletResponseFacade.reset(HttpServletResponseFacade.java:295)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1074)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
 at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
 at org.apache.tomcat.core.Handler.service(Handler.java:235)
 at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
 at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
 at java.lang.Thread.run(Thread.java:479)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [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]





Re: Internal Server Error - Language Exception -- Help Me Please

2002-03-22 Thread Carlos

Wait a minute, are you trying to compile FROM the .war file. The .war file
is what you drop into your servlet engine for Cocoon to Run.

On 03/22/02 6:57, Jeremy Beeler [EMAIL PROTECTED] wrote:

 hi. i am trying to have cocoon compile from the .war file and i get a
 language exception. i am using j2sdk1.4.0, tomcat4.0, apache1.3, and
 cocoon2.0.1. can anyone help?
 
 
 
 
 
 Cocoon 2 - Internal server error
 
 --
 --
 
 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:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java: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(java/io/IOException.class). The
 major.minor version '48.0' is too recent for this tool to understand.
 C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java:13:
 Class java.io.IOException not found in import. import java.io.IOException; ^
 Line 0, column 0: could not parse error message: error: Invalid class file
 format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/List.class). The
 major.minor version '48.0' is too recent for this tool to understand.
 C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java:15:
 Class java.util.List not found in import. import java.util.List; ^ Line 0,
 column 0: could not parse error message: error: Invalid class file format in
 c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/ArrayList.class). The major.minor
 version '48.0' is too recent for this tool to understand.
 C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java:16:
 Class java.util.ArrayList not found in import. import java.util.ArrayList; ^
 Line 0, column 0: could not parse error message: error: Invalid class file
 format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Map.class). The major.minor
 version '48.0' is too recent for this tool to understand.
 C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java:17:
 Class java.util.Map not found in import. import java.util.Map; ^ Line 0,
 column 0: could not parse error message: error: Invalid class file format in
 c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/HashMap.class). The major.minor
 version '48.0' is too recent for this tool to understand.
 C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java:18:
 Class java.util.HashMap not found in import. import java.util.HashMap; ^
 Line 0, column 0: could not parse error message: error: Invalid class file
 format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Stack.class). The
 major.minor version '48.0' is too recent for this tool to understand.
 C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java:19:
 Class java.util.Stack not found in import. import java.util.Stack; ^ Line 0,
 column 0: could not parse error message: error: Invalid class file format in
 c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/StringTokenizer.class). The
 major.minor version '48.0' is too recent for this tool to understand.
 C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
 temap_xmap.java:20:
 Class java.util.StringTokenizer not found in import. import
 java.util.StringTokenizer; ^ Line 0, column 0: error: Invalid class file
 format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/lang/Object.class). The
 major.minor version '48.0' is too recent for this tool to understand. error:
 Class java.lang.Object not found in class
 org.apache.avalon.framework.logger.AbstractLoggable. 18 errors
 
 sender org.apache.cocoon.servlet.CocoonServlet
 
 source Cocoon servlet
 
 request-uri
 
 /cocoon/
 
 path-info
 
 
 _
 Send and receive Hotmail on your mobile device: http://mobile.msn.com
 
 
 -
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)

RE: Internal Server Error - Language Exception -- Help Me Please

2002-03-22 Thread Vadim Gritsenko

RTFM:

http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/in
stalling/index.xml?rev=1.16content-type=text/vnd.viewcvs-markup

Get also 
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/build.bat?rev=1.18content
-type=text/vnd.viewcvs-markup

Vadim

 From: Jeremy Beeler [mailto:[EMAIL PROTECTED]]
 
 hi. i am trying to have cocoon compile from the .war file and i get a
 language exception. i am using j2sdk1.4.0, tomcat4.0, apache1.3, and
 cocoon2.0.1. can anyone help?
 
 
 
 
 
 Cocoon 2 - Internal server error
 


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


-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Internal server error

2002-03-04 Thread Vadim Gritsenko

You have to take a look into the Cocoon's log files. Information you
provided is not enough.

Regards,
Vadim

 -Original Message-
 From: S.M. Siebinga [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 04, 2002 5:38 AM
 To: [EMAIL PROTECTED]
 Subject: Internal server error
 
 hi all,
 
 I am using the latest cvs-source of cocoon2. When I compile it on my
 machine (SuSE 7.3, tomcat 4.0.1 and j2sdk1.4.0-rc) everything works
 fine. But when I restart tomcat I get the following internal server
error
 ==
 
 type fatal
 
 message markup-languages: ComponentSelector could not access the
 Component for hint: sitemap
 
 description org.apache.avalon.framework.component.ComponentException:
 markup-languages: ComponentSelector could not access the Component for
 hint: sitemap
 
 sender org.apache.cocoon.servlet.CocoonServlet
 
 source Cocoon servlet
 
 request-uri
 
 /cocoon/
 
 path-info
 
 stack-trace
 
 org.apache.avalon.framework.component.ComponentException:
 markup-languages: ComponentSelector could not access the Component for
 hint: sitemap
   at

org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(
Excali
 burComponentSelector.java:293)
   at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Prog
 ramGeneratorImpl.java:292)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:536)
 Caused by: java.lang.Exception: Could not create enough Components to
 service your request.
   at
 org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:133)
   at

org.apache.avalon.excalibur.component.PoolableComponentHandler.get(Poola
bleCom
 ponentHandler.java:126)
   at

org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(
Excali
 burComponentSelector.java:283)
   ... 3 more
 
 
 
 I hav tried rebuilding it with sdk1.3.1, but got the same error. I
also
 copied the xerces, xalan and xml-apis jars to
 $JAVA_HOME/jre/lib/endorsed. But the error message remained the same.
 
 The previous version of Cocoon2 worked fine.
 
 Has anyone any idea how to solve this.
 
 Thanks in advance,
 
 Sjoerd
 


-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: internal server error on tomcat4.0.1 and win 2k with c2.0.1

2002-02-14 Thread Vadim Gritsenko

Delete working directory.

http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101294401424342w=2
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101183982808469w=2

Vadim

-Original Message-
From: sirisha santhi [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 14, 2002 11:48 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: internal server error on tomcat4.0.1 and win 2k with c2.0.1

Hi everybody
    I am trying to install cocoon2.0.1 ,but i am getting internal server
error.This is the log file i found in the logs directory.I am using
tomcat4.0.1 and os in win2k.
The error log is 
ERROR (2002-02-15) 09:42.42:788 [sitemap] (/cocoon/)
HttpProcessor[8080][4]/Handler: Error compiling sitemap
java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap:
field manager not found
at
org.apache.cocoon.www.file_.E_.tomcat4.webapps.cocoon.sitemap_xmap.confi
gure(sitemap_xmap.java:343)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(DefaultComponentFactory.java, Compiled Code)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(ThreadSafeComponentHandler.java, Compiled Code)
at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGen
erator(GeneratorSelector.java:135)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.add
CompiledComponent(ProgramGeneratorImpl.java:356)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:187)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:228)
at java.lang.Thread.run(Thread.java:479)
ERROR (2002-02-15) 09:42.42:838 [access] (/cocoon/)
HttpProcessor[8080][4]/CocoonServlet: Problem with servlet
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not available. Please check logs for the exact error.
at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:246)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:122)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144
)
at org.apache.cocoon.Cocoon.process(Cocoon.java:582)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va, Compiled Code)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va, Compiled Code)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java,
Compiled Code)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:164)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va, Compiled Code)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va, Compiled Code)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va, Compiled Code)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java,
Compiled Code)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va, Compiled Code)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va, Compiled Code)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava, Compiled Code)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)
bye
santhi
 


Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail


-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Internal Server Error

2001-12-19 Thread Achim Weßling

hallo,

I haven't installed jdk1.3 so it couldn't be used somewhere. Never the less 
I copied tools.jar to WEB-INF/lib, but it doesn't work and I get the same 
error message.

Some further hints are welcome ;-)


Achim Weßling
[EMAIL PROTECTED]


-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Internal Server Error

2001-12-18 Thread Todd Densmore

It would seem that your jdk (beta) might be too new... Try 1.3.1_1

-Original Message-
From: Achim Weßling [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 3:37 PM
To: [EMAIL PROTECTED]
Subject: Internal Server Error


Hallo,

I try to install Cocoon 2 on a win2000 system with tomcat 4.0.1 and jdk1.4 
running, but get the following exception. Can someone give me a hint what's 
wrong?

Cocoon 2 - Internal server error



type internal-server-error

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:\java\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor 
version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java: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:\java\jdk1.4\jre\lib\rt.jar(java/io/IOException.class). The major.minor 
version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java:13: 
Class java.io.IOException not found in import. import java.io.IOException; 
^ Line 0, column 0: could not parse error message: error: Invalid class 
file format in c:\java\jdk1.4\jre\lib\rt.jar(java/util/List.class). The 
major.minor version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java:15: 
Class java.util.List not found in import. import java.util.List; ^ Line 0, 
column 0: could not parse error message: error: Invalid class file format 
in c:\java\jdk1.4\jre\lib\rt.jar(java/util/ ArrayList.class). The 
major.minor version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon- 
files\org\apache\cocoon\www\sitemap_xmap.java:16: Class java.util.ArrayList 
not found in import. import java.util.ArrayList; ^ Line 0, column 0: could 
not parse error message: error: Invalid class file format in 
c:\java\jdk1.4\jre\lib\rt.jar(java/util/Map.class). The major.minor version 
'48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java:17: 
Class java.util.Map not found in import. import java.util.Map; ^ Line 0, 
column 0: could not parse error message: error: Invalid class file format 
in c:\java\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class). The major.minor 
version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java:18: 
Class java.util.HashMap not found in import. import java.util.HashMap; ^ 
Line 0, column 0: could not parse error message: error: Invalid class file 
format in c:\java\jdk1.4\jre\lib\rt.jar(java/util/Stack.class). The 
major.minor version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java:19: 
Class java.util.Stack not found in import. import java.util.Stack; ^ Line 
0, column 0: could not parse error message: error: Invalid class file 
format in c:\java\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class). 
The major.minor version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java:20: 
Class java.util.StringTokenizer not found in import. import 
java.util.StringTokenizer; ^ Line 0, column 0: could not parse error 
message: error: Invalid class file format in 
c:\java\jdk1.4\jre\lib\rt.jar(java/lang/Object.class). The major.minor 
version '48.0' is too recent for this tool to understand. 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon- 
files\org\apache\cocoon\www\sitemap_xmap.java:0: Class java.lang.Object not 
found in class org.apache.avalon.framework.logger.AbstractLoggable. ^ Line 
0, column 0: 18 errors

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

exception

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:\java\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class).  The 
major.minor version '48.0' is too recent for this tool to understand.
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si
temap_xmap.java: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 

Re: Internal Server Error

2001-12-18 Thread Avi Kivity

You're using bin/java from JDK 1.4 and tools.jar from 1.3. Use 1.4's 
jre/lib/tools.jar (copy it to WEB-INF/lib).

Achim Weßling wrote:

 Hallo,
 
 I try to install Cocoon 2 on a win2000 system with tomcat 4.0.1 and 
 jdk1.4 running, but get the following exception. Can someone give me a 
 hint what's wrong?
 
 Cocoon 2 - Internal server error
 
 
 
 type internal-server-error
 
 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:\java\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class). The 
 major.minor version '48.0' is too recent for this tool to understand. 
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java: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:\java\jdk1.4\jre\lib\rt.jar(java/io/IOException.class). The 
 major.minor version '48.0' is too recent for this tool to understand. 
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:13:
 
 Class java.io.IOException not found in import. import 
 java.io.IOException; ^ Line 0, column 0: could not parse error message: 
 error: Invalid class file format in 
 c:\java\jdk1.4\jre\lib\rt.jar(java/util/List.class). The major.minor 
 version '48.0' is too recent for this tool to understand. 
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:15:
 
 Class java.util.List not found in import. import java.util.List; ^ Line 
 0, column 0: could not parse error message: error: Invalid class file 
 format in c:\java\jdk1.4\jre\lib\rt.jar(java/util/ ArrayList.class). The 
 major.minor version '48.0' is too recent for this tool to understand. 
 C:\Java\Tomcat40\work\localhost\cocoon\cocoon- 
 files\org\apache\cocoon\www\sitemap_xmap.java:16: Class 
 java.util.ArrayList not found in import. import java.util.ArrayList; ^ 
 Line 0, column 0: could not parse error message: error: Invalid class 
 file format in c:\java\jdk1.4\jre\lib\rt.jar(java/util/Map.class). The 
 major.minor version '48.0' is too recent for this tool to understand. 
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:17:
 
 Class java.util.Map not found in import. import java.util.Map; ^ Line 0, 
 column 0: could not parse error message: error: Invalid class file 
 format in c:\java\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class). The 
 major.minor version '48.0' is too recent for this tool to understand. 
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:18:
 
 Class java.util.HashMap not found in import. import java.util.HashMap; ^ 
 Line 0, column 0: could not parse error message: error: Invalid class 
 file format in c:\java\jdk1.4\jre\lib\rt.jar(java/util/Stack.class). The 
 major.minor version '48.0' is too recent for this tool to understand. 
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:19:
 
 Class java.util.Stack not found in import. import java.util.Stack; ^ 
 Line 0, column 0: could not parse error message: error: Invalid class 
 file format in 
 c:\java\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class). The 
 major.minor version '48.0' is too recent for this tool to understand. 
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:20:
 
 Class java.util.StringTokenizer not found in import. import 
 java.util.StringTokenizer; ^ Line 0, column 0: could not parse error 
 message: error: Invalid class file format in 
 c:\java\jdk1.4\jre\lib\rt.jar(java/lang/Object.class). The major.minor 
 version '48.0' is too recent for this tool to understand. 
 C:\Java\Tomcat40\work\localhost\cocoon\cocoon- 
 files\org\apache\cocoon\www\sitemap_xmap.java:0: Class java.lang.Object 
 not found in class org.apache.avalon.framework.logger.AbstractLoggable. 
 ^ Line 0, column 0: 18 errors
 
 sender org.apache.cocoon.servlet.CocoonServlet
 
 source Cocoon servlet
 
 exception
 
 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:\java\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class).  The 
 major.minor version '48.0' is too recent for this tool to understand.
 
C:\Java\Tomcat40\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java: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 
 

Re: Internal server error

2001-06-06 Thread eirikdentz

What is your OS?  Are you running a headless server?  You should take a
look in your cocoon.log which should be  in
$TOMCAT_HOME/webapps/cocoon/WEB-INF/log/  and see if there are any error
messages just before this one.  This should tell you what is causing the
sitemap compilation to fail.

eirik

Rajkumar, Joseph wrote:

 Hi Folks
 I am using latest Cocoon-2.0b1 with Tomcat-3.2.2 and following
 the instructions to the letter and this is what I get
 Regards
 Joseph Rajkumar

 Instructions followed: http://xml.apache.org/cocoon2/install.html
 PS: why is the sitemap hander's sitemap NOT available and how can I
 make it available
 ==
 Cocoon 2 - Internal server error

 type internal-server-error
 message The sitemap handler's sitemap is not available.
 description org.apache.cocoon.ProcessingException: The sitemap
 handler's sitemap is not available.
 sender org.apache.cocoon.servlet.CocoonServlet
 source Cocoon servlet
 request-uri
 /cocoon/
 exception
 org.apache.cocoon.ProcessingException: The sitemap handler's sitemap
 is not available.
 path-info
 stacktrace
 org.apache.cocoon.ProcessingException: The sitemap handler's sitemap
 is not available.
 at
 org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
 at
 org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)

 at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

 at
 org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)

 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)

 at
 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

 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(Thread.java:484)

 Cocoon 2 - Internal server error

 ---

 type internal-server-error

 message The sitemap handler's sitemap is not available.

 description org.apache.cocoon.ProcessingException: The sitemap
 handler's sitemap is not available.

 sender org.apache.cocoon.servlet.CocoonServlet

 source Cocoon servlet

 request-uri

 /cocoon/

 exception

 org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not 
available.

 path-info

 stacktrace

 org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not 
available.
 at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 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(Thread.java:484)

 ---


 -
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



begin:vcard 
n:Dentz;Eirik
tel;work:212-455-9830
x-mozilla-html:TRUE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;3
fn:Eirik Dentz
end:vcard



-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Internal server error

2001-06-06 Thread Bryan Murphy

Comment out every entry in your sitemap.xmap file that contains 'svg' 
minus the quotes.  sitemap.xmap is located in the webapps/cocoon 
directory.  You might have to uncompress the war archive to modify it. 
Restart tomcat, and everything should work EXCEPT for the svg stuff.   
If you want to use the svg stuff, you're out of luck till somebody fixes 
that problem.

Rajkumar, Joseph wrote:

 Hi Folks
 I am using latest Cocoon-2.0b1 with Tomcat-3.2.2 and following
 the instructions to the letter and this is what I get
 Regards
 Joseph Rajkumar

 Instructions followed: http://xml.apache.org/cocoon2/install.html
 PS: why is the sitemap hander's sitemap *NOT* available and how can I
 make it available
 ==
 Cocoon 2 - Internal server error

 type internal-server-error
 message The sitemap handler's sitemap is not available.
 description org.apache.cocoon.ProcessingException: The sitemap 
 handler's sitemap is not available.
 sender org.apache.cocoon.servlet.CocoonServlet
 source Cocoon servlet
 request-uri
 /cocoon/
 exception
 org.apache.cocoon.ProcessingException: The sitemap handler's sitemap 
 is not available.
 path-info
 stacktrace
 org.apache.cocoon.ProcessingException: The sitemap handler's sitemap 
 is not available.
 at 
 org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
 at 
 org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at 
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at 
 org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) 

 at 
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at 
 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 

 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(Thread.java:484)
  
  

 


   Cocoon 2 - Internal server error

 

 *type* internal-server-error

 *message*_The sitemap handler's sitemap is not available._

 *description*_org.apache.cocoon.ProcessingException: The sitemap 
 handler's sitemap is not available._

 *sender* org.apache.cocoon.servlet.CocoonServlet

 *source* Cocoon servlet

 *request-uri*

/cocoon/

 *exception*

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.

 *path-info*

 *stacktrace*

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.
   at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
   at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
   at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
   at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
   at org.apache.tomcat.core.Handler.service(Handler.java:287)
   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
   at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
   at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
   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(Thread.java:484)

 



-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Internal server error

2001-06-06 Thread Rajkumar, Joseph

Hi Folks

Thanks to eirik.dentz and Bryan Murphy who gave me a clue as to
the possible problem.

So I downloaded a fresh jakarat-tomcat-3.2.2 and Cocoon-2.0B1 on
my laptop running mandrake.

Followed the instructions on the cocoon2 web page and build cocoon.war
and had it working in a few minutes.

If you try to install it and run it the very first time over the network on a 
different
machine, you will run into the problem I ran into with the Internal server error.

So try to install and run it on the console and there after you can access Cocoon
from any where on the network

Regards
Joseph Rajkumar

PS: Hopefully this will be fixed in beta-2.
If you are interested in simulating this problem, try installing tomcat3.2.2 and 
cocoon-2.0
while you are logged into the machine on which you are installing from another machine.



-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Internal server error/sitemap handler's sitemap is notavailable

2001-06-06 Thread Eirik Dentz

Glad you got it working.  I have a little more time now and I wanted offer a
bit more that may, or may not be helpful to others on this list. I am rather
new to Java, XML and Cocoon so it would be great if those of you who know
otherwise could correct me where appropriate.

Background:  I ran into the sitemap handler's sitemap is not available
error while trying to install Cocoon 2.0a7 on a headless Debian/Linux
(2.2.18 kernel) box with the Blackdown 1.3.0 j2sdk and Tomcat 3.2.2.

After searching the mailing list archives and seeing that a lot of other
people were running into the same error message and a couple of days of
research, this is my understanding of the problem and one possible solution
(it worked for me, YMMV :)

After digging around a bit and following various threads on the list I
realized that the sitemap compilation failure could be traced back to this
line in my Cocoon.log:
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable.

It seems that it is the batik.jar, that triggers this error.  This is why
commenting out all of the .SVG stuff in the sitemap is one way to get the
sitemap to compile, though without all of the cool SVG stuff, which I guess
many can do without, but it is a wonderful thing...

Donald Ball offered this link which made me realize that this is a well
documented problem in the java.awt and not actually a bug in Cocoon or even
batik.

http://www.geocities.com/marcoschmidt.geo/java-image-coding.html

of the 3 solutions offered, I chose to go with Xvfb after doing a bit of
re-search on Xvfb using google and: http://search.java.sun.com/Search/java
Fortunately it was available as a .deb from the debian ftp servers. There
are .rpms available too. A google or rpmfind search should turn them up.

Once it was installed it was just a matter of starting it up:
shell$ Xvfb :0 -screen 0 640x480x8
and setting the display variable:
shell$ export DISPLAY=:0

The one other thing that you'll probably need to check is that the user that
cocoon(tomcat) is running as has permission to connect to the xserver.

Whew! hope that saves someone some time.

eirik 

 From: [EMAIL PROTECTED] (Rajkumar, Joseph)
 Organization: Orion Scientific Systems, Inc.
 Reply-To: [EMAIL PROTECTED]
 Date: Wed, 06 Jun 2001 17:55:41 -0400
 To: [EMAIL PROTECTED]
 Subject: Re: Internal server error
 
 Hi Folks
 
 Thanks to eirik.dentz and Bryan Murphy who gave me a clue as to
 the possible problem.
 
 So I downloaded a fresh jakarat-tomcat-3.2.2 and Cocoon-2.0B1 on
 my laptop running mandrake.
 
 Followed the instructions on the cocoon2 web page and build cocoon.war
 and had it working in a few minutes.
 
 If you try to install it and run it the very first time over the network on a
 different
 machine, you will run into the problem I ran into with the Internal server
 error.
 
 So try to install and run it on the console and there after you can access
 Cocoon
 from any where on the network
 
 Regards
 Joseph Rajkumar
 
 PS: Hopefully this will be fixed in beta-2.
 If you are interested in simulating this problem, try installing tomcat3.2.2
 and cocoon-2.0
 while you are logged into the machine on which you are installing from another
 machine.
 
 
 
 -
 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: [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/faqs.html

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