Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Tomcat Installation  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have downloaded tomcat3.2.1 but couldn't install it properly. I unzipped it in c:\jakarta-tomcat\...
On my system Java is installed in C;\JDK1.3, so in startup.bat and shutdown.bat,after the line
if not "%TOMCAT_HOME%" == "" goto start
I added the two lines:
SET JAVA_HOME=C:\JDK1.3
SET TOMCAT_HOME=C:\jakarta-tomcat
and made the same changes to shutdown.bat.
After this, In autoexec.bat I have set the path:
SET PATH=c:\jdk1.3\jre\lib;c:\jdk1.3\jre\bin;c:\jdk1.3\bin;
I added and updated the CLASSPATH:
C:\jakarta-tomcat\lib\servlet.jar
C:\jakarta-tomcat\lib\jasper.jar
After creating shorcut of startup and shutdown.bat and setting their memory to 4096,when I clicked on the startup icon I got some error message like:
Unable to set CLASSPATH dynamically.
Note: To set the CLASSPATH dynamically on Win9x systems
only DOS 8.3 names may be used in TOMCAT_HOME!
Setting your CLASSPATH statically.
Using CLASSPATH: C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\classes;C:\JAKARTA-TOMCA
T\JAKARTA-TOMCAT-3.2.1\lib\ant.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\ja
sper.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\jaxp.jar;C:\JAKARTA-TOMCAT\J
AKARTA-TOMCAT-3.2.1\lib\parser.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\se
rvlet.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\webserver.jar;;C:\jdk1.2.2\
lib\tools.jar ;C:\jdk1.3\lib\tools.jar;C:\JDK1.3\lib\tools.jar
Starting Tomcat in new window
Bad command or file name
What is the problem? Please help....
thanx
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
You must not modify startup.bat or anything in bin directory.
What you have modify -among other things- workers.properties in conf directory. There you declare the path to your jdk installation and your tomcat installation.
Since installing Tomcat is not so easy, I advise you to read installation.html that is in the doc directory.

Originally posted by Neeta Tripathi:
Hi,
I have downloaded tomcat3.2.1 but couldn't install it properly. I unzipped it in c:\jakarta-tomcat\...
On my system Java is installed in C;\JDK1.3, so in startup.bat and shutdown.bat,after the line
if not "%TOMCAT_HOME%" == "" goto start
I added the two lines:
SET JAVA_HOME=C:\JDK1.3
SET TOMCAT_HOME=C:\jakarta-tomcat
and made the same changes to shutdown.bat.
After this, In autoexec.bat I have set the path:
SET PATH=c:\jdk1.3\jre\lib;c:\jdk1.3\jre\bin;c:\jdk1.3\bin;
I added and updated the CLASSPATH:
C:\jakarta-tomcat\lib\servlet.jar
C:\jakarta-tomcat\lib\jasper.jar
After creating shorcut of startup and shutdown.bat and setting their memory to 4096,when I clicked on the startup icon I got some error message like:
Unable to set CLASSPATH dynamically.
Note: To set the CLASSPATH dynamically on Win9x systems
only DOS 8.3 names may be used in TOMCAT_HOME!
Setting your CLASSPATH statically.
Using CLASSPATH: C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\classes;C:\JAKARTA-TOMCA
T\JAKARTA-TOMCAT-3.2.1\lib\ant.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\ja
sper.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\jaxp.jar;C:\JAKARTA-TOMCAT\J
AKARTA-TOMCAT-3.2.1\lib\parser.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\se
rvlet.jar;C:\JAKARTA-TOMCAT\JAKARTA-TOMCAT-3.2.1\lib\webserver.jar;;C:\jdk1.2.2\
lib\tools.jar ;C:\jdk1.3\lib\tools.jar;C:\JDK1.3\lib\tools.jar
Starting Tomcat in new window
Bad command or file name
What is the problem? Please help....
thanx



------------------
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!