• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Tomcat Instructions explained

 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi:
I am attempting to post the tomcat installation and
application instructions. Pl. feel free to fill-in
or correct.
The foll. instructions apply for jdk1.2.2 in the C:\
dir.
- Download tomcat from this site.
- Unzip into a directory (if you use the default, it will be
unzipped into C:\jakarta-tomcat
- Add the foll. line to your autoexec.bat file:
SET JAVA_HOME=C:\jdk1.2.2
SET TOMCAT_HOME=C:\
SET PATH=%PATH%;C:\jakarta-tomcat\bin
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar
(re-start your machine, if needed).
If eveything went well, you can start start the tomcat server
by typing startup in a dos prompt. Starting it by
double-clicking should also work, but I don't prefer it.
If the server has started, you can checkout the examples at
the foll. URI: http://localhost:8080/
You can find JSP and servlet examples here.
To develop your own appli. please go through the instructions
at the foll. URI (whether the server is running or not)
file:/C:/jakarta-tomcat/doc/appdev/index.html
This URI explains in detail how you can develop your own
appli.s using tomcat and its ant build tool.
Hope this helps.
Regds.
- satya
 
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good Satya.
regds
maha anna
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Satya,
I did what yu have written,but I get bad command error.I have tried other combinations also,and the windows open and close.I just dont know what to do!!
Help!! thanks
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Madhav
I am a newbie to this Servlet business. I have may be one of the most stupid Q in the forum. The download link that you have mentioned leads to a site which ultimately leaves a lot to be decided by the downloader. Can you be a bit more specific please. This is the list of files it shows in the final page. WHICH ARE THE ONES THAT I HAVE TO DOWNLOAD TO SET UP MY TOMCAT SERVER AND START TESTING SERVLETS.
Index of /builds/tomcat/release/v3.1/bin
Name Last modified Size Description

Parent Directory 18-Apr-2000 16:04 -
jakarta-ant.tar.Z 18-Apr-2000 11:43 1.2M tar archive
jakarta-ant.tar.gz 18-Apr-2000 11:20 388k GZIP compressed file
jakarta-ant.zip 18-Apr-2000 11:47 588k
jakarta-tomcat.tar.Z 18-Apr-2000 13:26 3.1M tar archive
jakarta-tomcat.tar.gz 18-Apr-2000 12:31 1.8M GZIP compressed file
jakarta-tomcat.zip 18-Apr-2000 13:54 2.3M
jakarta-tools.tar.Z 18-Apr-2000 14:22 1.2M tar archive
jakarta-tools.tar.gz 18-Apr-2000 14:08 888k GZIP compressed file
jakarta-tools.zip 18-Apr-2000 14:29 888k
jakarta-watchdog.tar 18-Apr-2000 15:10 3.5M tar archive
jakarta-watchdog.tar.gz 18-Apr-2000 15:37 2.6M GZIP compressed file
jakarta-watchdog.zip 18-Apr-2000 16:03 2.7M
linux/ 18-Apr-2000 16:03 -
win32/ 18-Apr-2000 16:04 -

Apache/1.3.15-dev Server at jakarta.apache.org Port 80
Please help
Sanjeev Verma
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai,
Which all files need to be downloaded from /builds/tomcat/release/v3.1/bin
to install Tomcat?
Thankxxx in advance
Chithra
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Download jakarta-tomcat.zip for tomcat installation.
Unzip this file & read the readme file located at jakarta-tomcat\doc\readme.
Let me know if u r having any other issues.
Regards,
Pragya

Originally posted by Chithra Sankar:
Hai,
Which all files need to be downloaded from /builds/tomcat/release/v3.1/bin
to install Tomcat?
Thankxxx in advance
Chithra


 
Pragya Prakash
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vishal,
Try Tomcat run at the dos prompt.
See the error message listed there.
And post them here.
In all probability, there r issues with classpath & path settings
Regards,
Pragya
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

I tried to install tomcat server as per instructions given but when I type startup at the DOS prompt I get the error
"The name specified is not recognized as an internal or external command,operable program or batch file."
I have a WinNT 4.0 Option pack and I have set the environment variables
JAVA_HOME=d:\jdk1.3
TOMCAT_HOME=d:\tomcat
CLASSPATH=.;%JAVA_HOME%\lib\tools.jar
PATH=%SystemRoot%\system32;%SystemRoot%;%JAVA_HOME%\bin;%TOMCAT_HOME%\bin
Please help

Originally posted by Madhav Lakkapragada:

Hi:
I am attempting to post the tomcat installation and
application instructions. Pl. feel free to fill-in
or correct.
The foll. instructions apply for jdk1.2.2 in the C:\
dir.
- Download tomcat from this site.
- Unzip into a directory (if you use the default, it will be
unzipped into [b]C:\jakarta-tomcat

- Add the foll. line to your autoexec.bat file:
SET JAVA_HOME=C:\jdk1.2.2
SET TOMCAT_HOME=C:\
SET PATH=%PATH%;C:\jakarta-tomcat\bin
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar
(re-start your machine, if needed).
If eveything went well, you can start start the tomcat server
by typing startup in a dos prompt. Starting it by
double-clicking should also work, but I don't prefer it.
If the server has started, you can checkout the examples at
the foll. URI: http://localhost:8080/
You can find JSP and servlet examples here.
To develop your own appli. please go through the instructions
at the foll. URI (whether the server is running or not)
file:/C:/jakarta-tomcat/doc/appdev/index.html
This URI explains in detail how you can develop your own
appli.s using tomcat and its ant build tool.
Hope this helps.
Regds.
- satya[/B]


 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My thanks to madhav, without his message, i would still be in the
dark.
His method works for Windows 98 after I made one minor change:

original SET TOMCAT_HOME=C:\
changed to SET TOMCAT_HOME=C:\jakarta-tomcat
Also note jdk1.2.2 is actually the name of folder conatining jdk1.*\bin, in my case, it is jdk1.2.
Another thing you have to do is change the memory allocation
for MS-DOS:
open up a fresh DOS window, click and hold the MS-DOS icon on the upper-left corner of the DOS window, you'll see a drop-down list,select properties, click on the "memory" tab, then change "auto" to 3072.
After all these, restart your computer, open a MS-DOS window,
change to the directory where you installed tomcat, in this case,
C:\jakarta-tomcat
at the prompt type: bin\startup
Hopefully, you are all set.
Xinbo
the following is copied from madhav's message
-----------------------------------------------------
The foll. instructions apply for jdk1.2.2 in the C:\
dir.
- Download tomcat from this site.
- Unzip into a directory (if you use the default, it will be
unzipped into C:\jakarta-tomcat
- Add the foll. line to your autoexec.bat file:
SET JAVA_HOME=C:\jdk1.2.2
SET TOMCAT_HOME=C:\
SET PATH=%PATH%;C:\jakarta-tomcat\bin
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar
(re-start your machine, if needed).
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Xinbo Cheng:
[B]My thanks to madhav, without his message, i would still be in the
dark.
Man...setting up Tomcat under NT sure seems a heck of a lot easier than Tomcat under Unix...which I've been losing massive amounts of sleep over for two months now. Especially with integrating the new mod_jk (Tomcat 3.2) into Apache and getting mod_rewrite to work so that session tracking works w/ disabled cookies. I finally got it working earlier this week, but it certainly was NOT intuitive...at least to this non-Java programmer

 
Ranch Hand
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I seem many tomcat people have replied in this topic.
I have another problem of configuring IIS for tomcat. Please take the labour to visit my topic placed in this forum only. Subject is : Tomcat with IIS
thanx
nitin
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi Nitin:
I visited your forum and asked a link for IIS, but I never
got any responses, I wanted to take a shot at it but not
sure where to find it. The only link in your thread is the
one explaining the Tomcat and IIS installations details.
Hope you get my point.
Regds.
- satya
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

xinbo:
I agree to what you said. I recently upgraded my tomcat to
3.2 and was surprised abt the TOMCAT_HOME settings. Well,
there should be something new with every release, you see.
Thxs for the update.
Regds.
- satya
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Diskmuncher",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.
 
I am going to test your electrical conductivity with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic