File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat install?

 
Mike Shn
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 262
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Mike Shn
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2823
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the APache/Tomcat forum.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic