• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Tomcat install?

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the APache/Tomcat forum.
 
Saloon Keeper
Posts: 28319
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic