This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes Tomcat install? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat install?" Watch "Tomcat install?" New topic
Author

Tomcat install?

Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
Hello
I installed the Tomcat 3.2.4 on my computer. But it doesn't work when I go to the URL http://localhost:8080/. Do I have to install web server before installing Tomcat?
Thanks
Dave Wingate
Ranch Hand

Joined: Mar 26, 2002
Posts: 262
What do you mean by "it doens't work"?
Can you tell us the contents of the page that is displayed when you try to go to that URL?
Also, have you "started" tomcat? By this I mean did you go to a dos prompt, cd to the bin directory of tomcat, and enter the command startup? Tomcat, as configured after installation, will not automatically run in the background. You have to tell it to do so.
[ August 27, 2002: Message edited by: Dave Winn ]

Fun programming etcetera!
Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
Of course I use CMD ..I got the error message
C:\tomcat\jakarta-tomcat-3.2.4\bin>tomcat start
Unable to locate servlet.jar, check the value of TOMCAT_HOME.
C:\tomcat\jakarta-tomcat-3.2.4\bin>tomcat start
Unable to locate servlet.jar, check the value of TOMCAT_HOME.
C:\tomcat\jakarta-tomcat-3.2.4\bin>
http://www.fawcette.com/Archives/premier/mgznarch/javapro/2000/12dec00/bk0012/bk0012.asp

I also specify path see below please
SET JAVA_HOME=C:\j2sdk1.4.0_01\bin
set _CP=%CP%
set _TOMCAT_HOME=%C:\tomcat\jakarta-tomcat-3.2.4\lib%
set _CLASSPATH=%CLASSPATH%
Thanks
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Moving to the APache/Tomcat forum.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat install?