Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problems with running tomcat4.1

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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=)
 
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic