• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat installation problem

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic