my dog learned polymorphism*
The moose likes Tomcat and the fly likes Tomcat install? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
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.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

"xxxx_HOME" should point to product home directory, not the "bin" directory. You should have something more like:

I don't know any uses for "_TOMCAT_HOME" or "_CLASSPATH". TOMCAT mostly does its own classpath management via designated internal directories (%TOMCAT_HOME%\lib\xxx). See the Tomcat3 docs at jakarta.apache org for details on that, and be sure you're not looking at the Tomcat 4 docs, since they have a different library directory organization.
[ August 28, 2002: Message edited by: Tim Holloway ]

Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat install?