This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Problem

 
Niyas Ahmed Sheikh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Gopi Donthireddy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic