aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Problem" Watch "Tomcat Problem" New topic
Author

Tomcat Problem

Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
Hi,

I have learned Java just only with help of superb book "Head First Java". I am planning to buy the book "Head First JSP & Servlets" for JSP and servlets.
For running JSP & Servlet, I want to install and configure the server. For that I downloaded the Tomcat Version 4.1.34. I installed it, but it shows up some error while starting the server.

Please tell me all the steps for installing & configuring the tomcat.

Thanks in advancs,
Ahmed
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Please tell me all the steps for installing & configuring the tomcat.

The documentation that ships with Tomcat does just that.
Repeating it here would not only be a waste of time and bandwith, it would keep you from looking it up.
Learning how to look up information is an important part of software development.

By the way: If you are just starting out with servlets and JSP, why did you get an outdated version of Tomcat? I would recommend starting out the the latest stable release. Tomcat 4.1 only supports Servlet Spec 2.3 and JSP Spec 1.2. A lot of the things being disucussed here pertain to JSP Spec 2.0.
[ June 21, 2005: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Gopi Donthireddy
Greenhorn

Joined: Jun 21, 2005
Posts: 18
Set the following env vars

JAVA_HOME = <Your jdk installation dir...eg: C:\j2sdk1.4.2_08>
TOMCAT_HOME = <Tomcat installation dir...eg c:\Tomcat 5.0>

Not sure abt tomcat env var...
Install the latest tomcat...


Don<br />SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCDJWS
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Gopi Don:
Set the following env vars

JAVA_HOME = <Your jdk installation dir...eg: C:\j2sdk1.4.2_08>
TOMCAT_HOME = <Tomcat installation dir...eg c:\Tomcat 5.0>

Not sure abt tomcat env var...
Install the latest tomcat...


There is no TOMCAT_HOME evironment variable.
Again, the Tomcat's documentation explains all of this.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Moved to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
We need to know your operating system and the version of Java you have installed.
The exact text of the error would be helpful also.
If you are running on Windows 98 - special configuration problems are involved as discussed in several recent threads.
You might as well be using the latest Tomcat and latest Java versions unless there are special reasons not to.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Problem