permaculture playing cards*
The moose likes Servlets and the fly likes tomcat installation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat installation problem" Watch "tomcat installation problem" New topic
Author

tomcat installation problem

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
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


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat installation problem