Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems with running tomcat4.1

 
Clarice Lin
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i check whether I have any other programs running on port number 8080?
 
Neha Ashok
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah!done at last....am able to run tomcat,now gotta try to connect apache n tomcat together...
thankz everyone for ur help=)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic