This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Win98SE & Tomcat 4 setup problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "Win98SE & Tomcat 4 setup problem" Watch "Win98SE & Tomcat 4 setup problem" New topic

Win98SE & Tomcat 4 setup problem

dodo dimitrius

Joined: Dec 04, 2001
Posts: 24
Hi everyone,
I have a problem, setting up Tomcat 4.0.1 in Win98SE. Autoexec.bat setting is:
When I double click on the startup.bat in the Tomcat bin directory, DOS window opens with the message:
Using CLASSPATH: C:\JAKARTA-TOMCAT-4.0.1\bin\bootstrap.jar:C:\WINDOWS;C:\JDK1.3\lib\tools.jar
Bad command or file name
When I try to open Tomcat home page, 'http://localhost/8080/', I get "Page cannot be displayed." message.
Can anyone help!

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2372

Hi berko try to set the followings in ur autoexec.bat and also in DOS-Window, all in lower-case (better) and no extra terminator/space unless needed...
set path=c:\jdk1.3\bin;%path%
set classpath=c:\jdk1.3\lib;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\lib\servlet.jar
set java_home=c:\jdk1.3
set catalina_home=c:\jakarta-tomcat-4.0.1
For a detailed explanation check out this thread.

Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!

Ashik Uzzaman
Lead Member of Technical Staff,, San Francisco, CA, USA.
dodo dimitrius

Joined: Dec 04, 2001
Posts: 24
Hello Fahim,
Thanks for your reply. I did everything as you wrote, and now I can start running Tomcat, and display index.html page. DOS window named "java" open, with the text:
Starting service Tomcat_Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
I copied servlet.jar from common/lib directory to the jdk1.3\lib.
Now, I have another problem. When I click on the links(located in the Web applications box), to display jsp or servlet examples, I get page with the message:
Apache Tomcat/4.0.1 - HTTP Status 404 - /jsp/
type Status
message /jsp/
description The requested resource (/jsp/) is not available.
It won't display default index.html page located in the examlpe/jsp/ subdirectory.
I tried to type full path to the index.html file, without clicking on the link, and it is still the same.
Simply, it does not run jsp nor servlets.
I hope you can help me.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Win98SE & Tomcat 4 setup problem
It's not a secret anymore!