• 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

tomcat is'nt working

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I've read through the book of Head First Servlets & JSP, but somehow I'm confused about the way author told setting up the tomcat on the computer. But the way the author used is not working on my computer enviroment. please help.

When I click on the startup.bat it appears ok , but when I get on http://localhost:8080/index.html ,then the error shows, this web page cannot show or even when I get on http://127.0.0.1:8080/ .Is it wrong with my path setting?(coz my window system is Window 98, so I have to go to the Autoexec.bat to set up the path)

I set up the path by in Autoexec.bat)

SET PATH=C:\j2sdk1.4.2;C:\j2sdk1.4.2\bin
SET JAVA_HOME=C:\j2sdk1.4.2
SET CATALINE_HOME=C:\Tomcat

please give me a correct way ! Thank you!

[ June 05, 2005: Message edited by: Chiung-Yi Chang ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Welcome to JavaRanch!

You posted this in our JDBC forum; JDBC is Java's database API, and it's unrelated to your problem. We have another forum for discussing tomcat configuration issues here. I will move this thread to that forum for you.
 
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
Don't run startup.bat by clicking on it - you will lose the error messages if any. Instead open a command prompt window and navigate to the directory the startup.bat lives in - execute it from the command prompt.
Using Windows 98 there are special precautions - you will have to increase your environment space as used by the command prompt because Tomcat uses a huge amount of environment variables and the default is too small.
Here is a recent discussion of what to do.
Bill
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would also add, that when I installed Tomcat on W98 awile back, my autoexec.bat looked something like the following:



I set the JAVA_HOME, CATALINA_HOME environment variable first and then appended them to the PATH environment variable.

Also, I would like to point out, that it is CATALINA_HOME instead of CATALINE_HOME.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic