aspose file tools*
The moose likes Servlets and the fly likes Problems starting Tomcat on my Windows 98 machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problems starting Tomcat on my Windows 98 machine" Watch "Problems starting Tomcat on my Windows 98 machine" New topic
Author

Problems starting Tomcat on my Windows 98 machine

clyde jones
Ranch Hand

Joined: Dec 02, 2000
Posts: 46
Hi,
I am fairly new to JAVA and am having a heck of a time installing Tomcat 3.1 on my windows 98 machine. I'm not sure where to start with my question so I'll just show you my console messages. If anyone can help me with this issue, I would appreciate it. I need to use Tomcat for a JAVA class I will be taking in a couple of weeks.
Here is the message I get when I go to the C:\jakarta-tomcat\bin directory and type "startup":
C:\jakarta-tomcat\bin>startup
Starting tomcat in new window
Using classpath: ..\classes;..\lib\webserver.jar;..\lib\jasper.jar;..\lib\xml.ja
r;..\lib\servlet.jar;C:\jdk1.3\lib\tools.jar;C:\Java_Packages;.;C:\jakarta-tomca
t\lib\servlet.jar;C:\jakarta-tomcat\lib\jasper.jar
C:\jakarta-tomcat\bin>
The new window flashes then go away.

This is what I get when I type "tomcat run":
C:\jakarta-tomcat\bin>tomcat run
Using classpath: ..\classes;..\lib\webserver.jar;..\lib\jasper.jar;..\lib\xml.ja
r;..\lib\servlet.jar;C:\jdk1.3\lib\tools.jar;C:\Java_Packages;.;C:\jakarta-tomca
t\lib\servlet.jar;C:\jakarta-tomcat\lib\jasper.jar
Context log: path="/examples" Adding context path="/examples" docBase="webapps/
examples"
Context log: path="" Adding context path="" docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test" docBase="webapps/test"
Starting tomcat. Check logs/tomcat.log for error messages
Starting tomcat install=".." home="C:\jakarta-tomcat" classPath="..\classes;..\l
ib\webserver.jar;..\lib\jasper.jar;..\lib\xml.jar;..\lib\servlet.jar;C:\jdk1.3\l
ib\tools.jar;C:\Java_Packages;.;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tom
cat\lib\jasper.jar"
Context log: path="/admin" Automatic context load docBase="C:\jakarta-tomcat\web
apps\admin"
Context log: path="/admin" Adding context path="/admin" docBase="C:\jakarta-tom
cat\webapps\admin"

Here is the message from the tomcat log file:
Starting endpoint port="8080" handler="org.apache.tomcat.service.http.HttpConnectionHandler"
Starting endpoint port="8007" handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
I am excited about JAVA and this new class. So, any suggestions would be appreciated.
Calvin
Michael Zhao
Ranch Hand

Joined: Sep 19, 2000
Posts: 77
I think it is the problem of classpath if u download correct file
I am use tomcat3.2 and set classpath:
SET JAVA_HOME=C:\jdk1.2.2
SET TOMCAT_HOME=c:\tomcat
SET CLASSPATH=C:\JXML\JAXP.JAR;c:\jxml\src.zip;C:\JXML\PARSER.JAR;.;C:\TOMCAT\CLASSES;C:\TOMCAT\LIB\WEBSERVER.JAR;C:\TOMCAT\LIB\JASPER.JAR;C:\TOMCAT\LIB\XML.JAR;C:\TOMCAT\LIB\SERVLET.J AR;C:\JDK1.2.2\LIB\TOOLS.JAR
u can also refer to : http://www.javaranch.com/ubb/Forum7/HTML/001334.html
best regards and happy new year
Zhao
I rename the jakarta-tomcat to directory tomcat for simple
[This message has been edited by Weishe Zhao (edited December 31, 2000).]


SCJP,SCWCD,SCMAD,OCP9I, SCEA
clyde jones
Ranch Hand

Joined: Dec 02, 2000
Posts: 46
Zhao,
Thanks for your help. Haven't tried it yet but I will. I am running Tomcat 3.1 and JDK 1.3. I set the Java_Home and Tomcat_Home settings in the Startup.bat file in the BIN directory not in the autoexec.bat file on my C drive. I think I have a CLASSPATH problem but right now, I don't know where the problem is. Thanks for your help and Best Wishes for 2001.
Clyde
Harpal Singh
Ranch Hand

Joined: Oct 10, 2000
Posts: 229
Dear......
try
tomcat start
..that is what works with me and when stopping say
tomcat stop
.....it should work...
Harpal
clyde jones
Ranch Hand

Joined: Dec 02, 2000
Posts: 46
Thanks Harpal,
Same result after typing "Tomcat Start"
Clyde
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Try tomcat run
If you still have problems, read this:
How to Make Your First JSP Page Work on Tomcat?

Many people emailed me say it worked for them.
Roseanne
 
 
subject: Problems starting Tomcat on my Windows 98 machine