> From: sheshadri [mailto:[EMAIL PROTECTED]] > > Hi Vadim, > Thanx for ur reply. > Well this is what happened when i reinstalled every thing. > > WHEN I COPY BACK THE OLD XERCES.JAR FILE BACK TO > TOCMAT\COMMON\LIB FOLDER COCOON WORKS FINE WITH NO EXCEPTION. > BUT IF I REMOVE THE XERCES.JAR AND REPLACE IT WITH THE NEW JAR FILE, > THE DYNAMIC XSP SAMPLES DOES NOT WORK. !!!! > But In the first step it is given that we should remove > tomcat\common\lib\xerces.jar file. > As I am using the old xerces.jar file which comes with tomcat, would it give > me any problem somewhere else > please let me know.
Have you done this step: " Remove xalan-XXX.jar, xercesImpl-XXX.jar, batik-libs-XXX.jar, and xml-apis.jar from the cocoon.war archive." ? Vadim > > Thanx Again, > Sheshadri > ======================================================================== ==== > ======== > FOLLOWING ARE THE STEPS GIVEN IN THE INSTALLATION MANUAL > If you have to use Tomcat 4.0.3, you have to replace its XML parser > > with the one shipped with Cocoon. > > ---------------------------------------------------------------- > ----------------- > > 1.. Remove tomcat/common/lib/xerces.jar file. > 2.. --------------------------------------------------------------- > 3.. Copy following libraries from the cocoon/lib/core directory to the > tomcat/common/lib directory: > a.. xalan-XXX.jar > b.. xercesImpl-XXX.jar > c.. xml-apis.jar > 4.. Copy cocoon/lib/core/batik-libs-XXX.jar to the tomcat/common/lib > directory. > 5.. Edit extra-classpath parameter in the > cocoon/src/webapp/WEB-INF/web.xml file: > <init-param> > <param-name>extra-classpath</param-name> > > <param-value>C:\jakarta-tomcat-4.0.3\common\lib\xalan-2.3.1.jar;C:\jakar ta-t > omcat-4.0.3\common\lib\xercesImpl- > 2.0.0.jar;C:\jakarta-tomcat-4.0.3\common\lib\xml-apis.jar;C:\jakarta-tom cat- > 4.0.3\common\lib\batik-all-1.5b1.jar</param-value> > </init-param> > > ======================================================================== ==== > ======== > > From: "Vadim Gritsenko" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, April 25, 2002 8:51 PM > Subject: RE: [HELP]SAX2 driver class org.apache.xerces.parsers.SAXParser > does not implement XMLReader > > > You must have missed several steps. Try again. > > http://xml.apache.org/cocoon/installing/index.html > > > Vadim > > -----Original Message----- > From: sheshadri [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 10:04 AM > To: [EMAIL PROTECTED] > Subject: [HELP]SAX2 driver class org.apache.xerces.parsers.SAXParser > does not implement XMLReader > Importance: High > > Hi, > I have recently migrated to cocoon 2.1 and tomcat 4.03 > I have followed exactly all the steps specified in the installation > guidlines. > Yet i am facing this problem, > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > --- > URI EXECUTED > http://localhost:8080/cocoon/search/welcome > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > --- > EXCEPTION > > Description:org.apache.cocoon.ProcessingException: > SAX2 driver class org.apache.xerces.parsers. > SAXParser does not implement XMLReader: > java.lang.ClassCastException: > org.apache.xerces.parsers.StandardParserConfiguration > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > --- > > Config: > Window > 2000; > JDK 1.3 > Tomcat > 4.0.3 > Cocoon > version 2.1-dev > > Thanx in Advance, > Sheshadri --------------------------------------------------------------------- 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]>