Forums Register Login

tomcat installation problem

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
This is my favorite tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1098 times.
Similar Threads
tomcat- set JAVA_HOME point to jdk..
tomcat error
Tomcat Installation
Win98SE & Tomcat 4 setup problem
The CATALINA_HOME enviornment variable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:03:22.