Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization 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
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

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



------------------
 
please buy this thing and then I get a fat cut of the action:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!