File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat is'nt working

 
Chiung-Yi Chang
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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 ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Craig Jackson
Ranch Hand
Posts: 405
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic