Tomcat 4.1 Not Starting up

Posted on 2003-03-11
Medium Priority
Last Modified: 2010-03-17

   I'm trying to start tomcat 4.1 on win98. What happens when i start(startup) tomcat from command is another window pops up and closes. I'm using JDK1.3 for JAVA_HOME (maybe thats a problem?). Well the main thing is that i get this message When runing catalina (catalina run) << in command:

i hope this helps ??.....
Exception in thread "main" java.lang.NoClassDefFoundError : org/xml/sax/InputSource

                 at java.lang.Class.newInstance0(Native Method)
                 at java.lang.Class.newInstance(Class.java:237)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)
If anyone is gonna answer this please use simple terms and questions because i am no Expert :).... thankss
Question by:MbK
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8111987
To me it looks like Tomcat cannot find your JDK.  Did you set JAVA_HOME?
To set JAVA_HOME on win98 I think you do something like go to control panel, then system properties, and then find the 'environment variables'.  Create a variable JAVA_HOME and set it to the path of your JDK (ex. C:\jdk1.3)
Hope this helps.

Author Comment

ID: 8117084
OK ... this is an update of what i have done.

I deleted Jbuilder5, Apache, Tomcat, jdk1.3,jdk1.2

I tryed installing tomcat on my collegues 98 pc and it worked fine without even setting any variables. ?? . so i think i have to install jdk1.4 and delete all those apps that i dont need, then install tomcat.


   I did set the variable but only in the CATALINA file and Autoexec.bat, Tomcat wouldnt let you install unless you have a jdk installed. I used 1.3. i've been told that jdk1.4 is most suitable for the tomcat version i have which is 4.1. thanks for ur help,

i will try this method then give you an update.

Author Comment

ID: 8117256
I Installed Tomcat again .... :( ... everything was ok The server was started normally. but when i tryed running http://localhost:8080
this is what i got
HTTP Status 500 -


type Exception report


description The server encountered an internal error () that prevented it from fulfilling this request.


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

???? emmm .. what do i do now ???
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

LVL 11

Expert Comment

ID: 8121785

this should not be a problem if you set your java_home and catalina_home properly. Why don't u use ur ip address..and see whether it works or not?? (it is rather silly on my part...but sometimes u can't say!!!)....try giving the full path like http://localhost:8080/index.html

revert back
happy working

Author Comment

ID: 8125398
   when i tryed http://localhost:8080 i was automatically redirected to http://localhost:8080/index.html. and got the message above. thanks for the help but i guess it was not very smart using tomcat with 98. Now i'm using my partners 2000 pro pc and offcourse i only had to set the environment variable java_home, and all worked just fine :)

thanks for the help :)
LVL 11

Expert Comment

ID: 8126326
Well, it's good that things works for you...have a nice time


Accepted Solution

Computer101 earned 0 total points
ID: 11112573
PAQed, with points refunded (50)

E-E Admin

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question