On Mon, 23 Dec 2002, Jacob Kjome wrote:

:
:You should set up your variables under System instead of User because if 

they are

:you run Tomcat as a service, the User variables will not be read.  Also, 
:Tomcat doesn't care about the system classpath.  J2EE_HOME is fine to set 
:if you need that for something else.  Tomcat doesn't need it.  Also, 
:TOMCAT_HOME is for Tomcat-3.x.x and below.  CATALINA_HOME is the only 

this list is designed to be 'fool proof'? not efficient.

:variable that Tomcat-4.x.x cares about other than JAVA_HOME.
:
:Jake
:
:At 12:42 PM 12/23/2002 +0100, you wrote:
:>Hello Jason,
:>
:>My name is Kinsley and I am new to Tomcat.  I have successfully
:>installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems
:>to be OK for now as I have not done so much with it.
:>
:>I noticed that there are some differences between your procedures and
:>the one I followed.  They are as follows:
:>1. I had installed j2sdk1.4.1, and then I also installed the
:>j2sdkee1.3.1 setting class path to j2sdkee1.3.1.jar
:>2. I installed the Tomcat and set the following variables, JAVA_HOME,
:>J2EE_HOME, TOMCAT_HOME, CATALINA_HOME.
:>
:>But I did all of these in the User Variables for Administrator and not
:>in the System Variables section as your suggested below.
:>
:>I eventually hit the Tomcat home page which makes me think all is well.
:>
:>I ran some of the examples, and they went well.
:>
:>I am about to proceed to install the Watchdog.  But I need to know if
:>the installation I have done has any fundamental error in it that may
:>lead to problems later.
:>
:>Please revert.
:>
:>
:>Kingsley Omon-Edo,
:>Developer,
:>MTech Communications Ltd
:>
:>
:>-----Original Message-----
:>From: Jason Pyeron [mailto:[EMAIL PROTECTED]]
:>Sent: Monday, December 23, 2002 11:59 AM
:>To: Tomcat Users List
:>Subject: a sure way to work with tomcat under windows NT/2000/XP
:>
:>this seems to be a recurring theme here:
:>
:>these steps I give out to my clients, if they are followed without
:>variation then tomcat will run happilly.
:>
:>Downloads:
:>
:>1: download jdk 1.4.1_01 from
:>http://java.sun.com/webapps/download/Display?BundleId=7150
:>2: download tomcat 4.1.12 from
:>http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin
:>/jakarta-tomcat-4.1.12.exe
:>3: download ant 1.5.1 from
:>http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.g
:>z
:>
:>PreInstall:
:>
:>4: browse to http://windowsupdate.microsoft.com/
:>4a: install all required patches
:>4b: Reboot the machine if instructed.
:>4c: Repeat step 4 until there are no more reboots required, or software
:>     installed.
:>
:>5: open control pannel, open system, choose environment variables.
:>5a: find SYSTEM VARIABLES
:>5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01
:>5c: set variable CATALINA_HOME to value: C:\Program Files\Apache
:>Group\Tomcat 4.1
:>5d: set variable JASPER_HOME to value: C:\Program Files\Apache
:>Group\Tomcat 4.1
:>5e: set variable tomcat_home to value: C:\Program Files\Apache
:>Group\Tomcat 4.1
:>5f: edit variable Path and prepend to value:
:>C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin;
:>
:>
:>
:>Installs and tests:
:>
:>5: install JDK
:>5a: click [next] button
:>5b: aggree to license
:>5c: verify: Destination folder should read "C:\j2sdk1.4.1_01"
:>5d: click [next] button
:>5e: verify: all boxes should be checked
:>5f: click [next] button
:>5g: verify: Microsoft Internet Explorer box should be checked
:>5h: click [next] button
:>
:>6: Start->Run cmd.exe
:>6a: at the shell propmt type and press enter:java -version
:>6b: verify java executes and reports:
:>
:>  java version "1.4.1_01"
:>  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
:>  Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
:>
:>6c: at the shell prompt type and press enter: echo public class
:>test{public static void main(String[] args){System.out.println("Hello
:>World!");}} > test.java
:>6d: at the shell prompt type and press enter: javac test.java
:>6e: at the shell prompt type and press enter: java test
:>6f: verify java executes and reports:
:>
:>  Hello World!
:>
:>7: install tomcat
:>7a: verify an alert box pops up stating: Using Java Development Kit
:>found in c:\j2sdk1.4.1_01
:>7b: click [OK] button
:>7c: click [I Agree] button
:>7d: select all boxes [Full (w/Source Code)]
:>7e: click [Install] button
:>7f: choose defaults for port/user/password [8080,Admin,""]
:>7g: click [Next] button
:>7h: click [close] nutton
:>
:>8: test tomcat:
:>8a: verify Apache Tomcat 4.1 service is started [control panel ->
:>Administrative tools -> Services]
:>8b: browse to http://127.0.0.1:8080
:>
:>9: install ant
:>9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive
:>utility
:>9b: extract to c:\Program Files
:>
:>10: test ant
:>10a: Start->Run cmd.exe
:>10b: at the shell propmt type and press enter:ant -version
:>10c: verify ant executes and reports:
:>
:>  Apache Ant version 1.5.1 compiled on October 2 2002
:>
:>
:>DONE! :)
:>
:>steps for windows 9x/ME may vary slightly.
:>
:>cmd.exe is command.com
:>variables are set in autoexec.bat and require a reboot
:>tomcat cannot install a service, and will have to be run as an
:>application
:>from the start menu.
:>
:>I highly suggest the you install cygwin, a full install
:>  http://www.cygwin.com/setup.exe
:>
:>--
:>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
:>-                                                               -
:>- Jason Pyeron                   http://www.pyerotechnics.com   -
:>- Owner & Lead                  Pyerotechnics Development, Inc. -
:>- +1 410 808 6646 (c)           500 West University Parkway #1S -
:>- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
:>-                                                               -
:>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
:>
:>This message is for the designated recipient only and may contain
:>privileged, proprietary, or otherwise private information. If you
:>have received it in error, purge the message from your system and
:>notify the sender immediately.  Any other use of the email by you
:>is prohibited.
:>
:>
:>
:>
:>
:>
:>
:>
:>--
:>To unsubscribe, e-mail:
:><mailto:[EMAIL PROTECTED]>
:>For additional commands, e-mail:
:><mailto:[EMAIL PROTECTED]>
:>
:>
:>--
:>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
:>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
:

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to