Dear friends, pl help me to set up tomcat **1) i have a pc - win 98, 64 mb ram **2) path settings are as follows set JAVA_HOME=c:\JDK1.3; path c:\Oracle\Ora81\bin;"C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN";C:\JDK1.3\BIN; set CLASSPATH=.;c:\jswdk-1.0.1\lib\servlet.jar;C:\JDK1.3\lib\tools.jar; **3) directory Structre is as folllows c:jdk1.3 c:jakarta_home c:jakarta_home\jakarta-ant c:jakarta_home\jakarta-tomcat **4)when i start build from c:jakarta_home\jakarta-tomcat\bin i get following BuildFile:build.xml BuildFailed no jaxp complaint xml parser found see the java.sun.com/xml for reference implementation java.lang.ClassNotFoundException :javax.xml.parsers.SAXParserFactory thanks a lot samar_chauhan
From the error you are recieving, you need to download the SAXParser from java.sun.com and install it on your system, Then update your classpath for the jar files jaxp.jar and parser.jar. That will get you around this error, and hopefull allow you to do a build, good luck
set JAVA_HOME=c:\JDK1.3; path c:\Oracle\Ora81\bin;"C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN";C:\JDK1.3\BIN; set CLASSPATH=.;c:\jswdk-1.0.1\lib\servlet.jar;C:\JDK1.3\lib\tools.jar; Why on earth do you have the jswdk-1.0.1\lib\servlet.jar file on the classpath? - Tomcat totally replaces that file I wasted days trying to track down a bizarre error that turned out to be due to an old jswdk jar file. I would also wonder about the OracleJRE coming before the JDK1.3 in your PATH - that looks like trouble.
Joined: Nov 22, 2008
Dear carl & william, ** i have download jaxp ** i have also removed jswdk-1.0.1\lib\servlet.jar from classpath , & yes it builds now ! my Autoexec.bat looks as , path C:\JDK1.3\BIN; set JAVA_HOME=c:\JDK1.3\bin; set CLASSPATH=.;C:\JDK1.3\lib\tools.jar;C:\xml\jaxp-1_0_1\jaxp1.0.1\jaxp.jar;c:\xml\jaxp-1_0_1\jaxp1.0.1\parser.jar; 1) any changes to be made in tomacat.bat file ? 2) something like tomcat_home is to be set? directory Structre is as folllows c:jdk1.3 c:jakarta_home c:jakarta_home\jakarta-ant c:jakarta_home\jakarta-tomcat c:jakarta_home\build\tomcat\bin please guide , thanks a lot pals samar_chauhan
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com