wood burning stoves 2.0*
The moose likes JSP and the fly likes problems with running tomcat4.1 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 » JSP
Bookmark "problems with running tomcat4.1" Watch "problems with running tomcat4.1" New topic
Author

problems with running tomcat4.1

Clarice Lin
Greenhorn

Joined: Jan 16, 2003
Posts: 10
hi. I juz downloaded tomcat 4.1 version.but somehow i cannot seem to run it at all..have tried changing environment variables and reinstall n but i cant seem to run it at all.Coz i followed the instructions here http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html and http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt
Reason why I know it is still not running.
when i typed http://localhost:8080 , nothin comes on the browser window. I'm currently using winXP
Should I install tomcat in the same directory as apache?
thank you.
Neha Ashok
Greenhorn

Joined: Dec 12, 2002
Posts: 26
1)Check if the Tomcat service is running or not first.(Administrative Tools->Services)
2) Check if u have any other services running on the same port number 8080?Have you installed any other version of Tomcat on ur machines?
[ January 16, 2003: Message edited by: Subha Ganapathy ]
Clarice Lin
Greenhorn

Joined: Jan 16, 2003
Posts: 10
checked :tomcat is not running
I have two versions of tomcat.becoz I couldnt get it running so i downloaded another version.
Clarice Lin
Greenhorn

Joined: Jan 16, 2003
Posts: 10
How do i check whether I have any other programs running on port number 8080?
Neha Ashok
Greenhorn

Joined: Dec 12, 2002
Posts: 26
Hi clarice,
If u have installed tomcat 4.1 then go to administrative tools-->services--> Start Tomcat from there and now try http://localhost:8080/.
And one more thing, the steps for integration of Apache web server and Tomcat Engine are given in the onjava link which u have mentions. So just follow steps from 3 to 6 for Tomcat.
If u could n't fix up the problem , write in detail what steps u followed on installation.
Good luck
[ January 17, 2003: Message edited by: Subha Ganapathy ]
Clarice Lin
Greenhorn

Joined: Jan 16, 2003
Posts: 10
There is a problem though. I went to start up services. However Tomcat is not on the list. So how am I actually able to start up Tom cat?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
What happens when you go to the tomcat_home/bin directory using a console window and type startup? Does anything get written in the tomcat_home/log directory that might give you a clue?
Bill
Clarice Lin
Greenhorn

Joined: Jan 16, 2003
Posts: 10
This java_home directory environment variable is not defined correctly.
>>but isn't it supposed to be define as the same directory as where i store my SDK?
another error is the system cannot find the file -Djava.endorsed.dirs=.
Decided to download another SDK version and try again but how to solve the second error?
Clarice Lin
Greenhorn

Joined: Jan 16, 2003
Posts: 10
yeah!done at last....am able to run tomcat,now gotta try to connect apache n tomcat together...
thankz everyone for ur help=)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problems with running tomcat4.1