cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graaf, Edgar de (fin)" <Edgar.de.Gr...@ordina.nl>
Subject RE: Tomcat error, BeginnerQuestion
Date Mon, 27 May 2002 08:51:19 GMT
Okay, great. But what I tried to tell you is that we need more information
to help you:
* What are you trying to do? Installing a new Xalan? Why as far as I know
Cocoon 2.0.2 already uses the newest Xalan.
* Why do you change web.xml? (Since that is not needed when you place a new
jar in a lib directory. Well not with the tomcat I use.)
* Why are you deleting xerces? Because xerces is a XML parser and xalan is a
XSLT Processor. It is totally different stuff and Cocoon 2 can't work
without a XML parser.
* What do you mean with the common lib. 'Tomcat/lib'? or do you mean
'.../cocoon/WEB-INF/lib'?
* What do you want to test? Performance?

-----Oorspronkelijk bericht-----
Van: Rajeev Singh [mailto:rsingh@zapapp.com]
Verzonden: maandag 27 mei 2002 7:30
Aan: cocoon-users@xml.apache.org
Onderwerp: RE: Tomcat error, BeginnerQuestion


Hey, it worked,
I just placed xercex-XXX along with batik, xalan, xml-apis into common
lib .
The error I was making was in web.xml. I had to put all this param-value
in single line and not multiple lines.

Now I want to make a test app of my own . how do I start.

-----Original Message-----
From: Graaf, Edgar de (fin) [mailto:Edgar.de.Graaf@ordina.nl] 
Sent: Friday, May 24, 2002 4:45 PM
To: 'cocoon-users@xml.apache.org'
Subject: RE: Tomcat error, BeginnerQuestion

Just curious. What did you change in the web.xml? And why did you remove
xerces? What version of Xerces did you use?

-----Oorspronkelijk bericht-----
Van: Rajeev Singh [mailto:rsingh@zapapp.com]
Verzonden: vrijdag 24 mei 2002 12:20
Aan: cocoon-users@xml.apache.org
Onderwerp: Tomcat error, BeginnerQuestion




I am using Tomcat4.0.3.
I have removed xerces and placed xalanXXX, xercesXXX and xml-apis.jar
and change entries in web.xml and restarted the tomcat. I got following
exception. I am using Cocoon2.0.2.

====Error starts here=====

type fatal

message SAX2 driver class org.apache.xerces.parsers.SAXParser does not
implement XMLReader

description java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
	at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
	at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
	at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.gene
rateCode(AbstractMarkupLanguage.java:377)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateResource(ProgramGeneratorImpl.java:365)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateResource(ProgramGeneratorImpl.java:328)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:291)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
	at java.lang.Thread.run(Thread.java:484)


request-uri

/cocoon/

path-info
==================error ends==============


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message