• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

configuring tomcat in win98

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all
Thanks for your (mike/nasser) help
I am able to run jsps and servlets in tomcat4.0.1
Steps involved are
1.download tomcat4.0.1 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/
2.download and install jdk (version 1.2 or later) from http://java.sun.com/j2se/
3.set CATALINA_HOME=<tomcat install path>
example set CATALINA_HOME=C:\JAKARTA-TOMCAT-4.0.1
Note this should be set in autoexec.bat.
4.set JAVA_HOME=<yoyr jdk install path>
example set JAVA_HOME=C:\JDK1.3
Note this should be set in autoexec.bat.
5.Check you have set path and classpath variables for jdk instalation
ie path variable should contain c:\jdk<ver>\bin;
and classpath should contain .;c:\jdk<ver>\lib;
6.start tomcat by double clicking startup.bat located in bin directory of tomcat install directory
7.To check succesful start up open yr favourite browser and type in addressbar http://localhost:8080 you should get tomcat index page loaded and try out jsp and servlet examples.
8.Shutdown tomcat by double clicking shutdown.bat in bin dir.
9.NOTE if you get out of environment space
plesae do the following
right click on startup.bat
choose properties
click on memory tab
set initialenvironment to 4096.
you will see a "shortcut startup" created in the bin directory
use this shortcut for starting tomcat
10 for shutdown also follow the above step
Thanks all
mohan

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mohan,
I installed Tomcat 4.0.1 following your path, but when I double click startup.bat in the bin subdirectory, to start Tomcat, I got DOS message: "bad command or file name".These are the lines from AUTOEXEC.BAT file:
PATH=C:\WINDOWS;C:\JDK1.3\BIN;C:\JDK1.3\LIB
SET CATALINA_HOME=C:\JAKARTA-TOMCAT-4.0.1
SET JAVA_HOME=C:\JDK1.3
Can you help me? Thanks.
Berko
 
mohan kannan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Berko Dimitrijevic
sorry for delay in reply
check your autoexec.bat contains following lines apart from your own other entries for running other applications such as javamail etc
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;
set classpath=.;c:\jdk1.3\lib;c:\jakarta-tomcat-4.0.1\lib;
SET JAVA_HOME=C:\JDK1.3
SET CATALINA_HOME=C:\JAKARTA-TOMCAT-4.0.1
please ensure that you set JAVA_HOME and CATALINA_HOME in autoexec.bat corresponds to your installation of these in your machine
i have installed jdk1.3 and tomcat as
C:\JDK1.3 and
C:\JAKARTA-TOMCAT-4.0.1
and either restart the system or run autoexec on command line
I you get out of environment space on start up
do the following
right click on startup.bat in bin dir and choose properties
click on memory tab and set initial environment to 4096
you will notice windows create shortcut msdos program startup in the bin directory itself
start tomcat bu double clicking this icon instead of startup.bat.
pl do the same for shutdown.bat also
hope this helps
mohan
 
dodo dimitrius
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mohan,
I fixed that problem.
Now, I have a new one.
See my post Tomcat & Status Error 404
Berko
 
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic