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:[EMAIL PROTECTED]] Verzonden: maandag 27 mei 2002 7:30 Aan: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 4:45 PM To: '[EMAIL PROTECTED]' 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:[EMAIL PROTECTED]] Verzonden: vrijdag 24 mei 2002 12:20 Aan: [EMAIL PROTECTED] 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: <[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]> --------------------------------------------------------------------- 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]>