MbK
asked on
Tomcat 4.1 Not Starting up
Hi,
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.NoClassDefFoundE rror : org/xml/sax/InputSource
at java.lang.Class.newInstanc e0(Native Method)
at java.lang.Class.newInstanc e(Class.ja va:237)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:179)
--------->
If anyone is gonna answer this please use simple terms and questions because i am no Expert :).... thankss
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.NoClassDefFoundE
at java.lang.Class.newInstanc
at java.lang.Class.newInstanc
at org.apache.catalina.startu
--------->
If anyone is gonna answer this please use simple terms and questions because i am no Expert :).... thankss
ASKER
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.
djochim,
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.
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.
djochim,
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.
ASKER
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
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperEx ception: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
???? emmm .. what do i do now ???
this is what i got
HTTP Status 500 -
--------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperEx
An error occurred at line: -1 in the jsp file: null
???? emmm .. what do i do now ???
Well,
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
fargo
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
fargo
ASKER
Fargo,
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 :)
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 :)
Well, it's good that things works for you...have a nice time
regards
fargo
regards
fargo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.