Hi Steve,
I'm really a bit perplexed that you are still having issues and continuing to ask the same questions that have been answered for you by many a Tomcat user on this list. I'll make one more attempt here, but you are going to need to hire someone to show you the way if this doesn't do it for you. Note that instructions here will be based on the fact that you are running windows 2000. I think you have NT 4.0, if I am not mistaken, but I don't have that installed anywhere to see exactly how the configuration would be performed. You will have to extrapolate my instructions for Windows 2000 to your own Windows NT 4.0 platform. Shouldn't be that different... 1. do *not* use the installer. Use the plain-jane .zip file to install Tomcat. This makes it so we can have more control over the install process. So, download the following file: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.zip 2. Unzip that file to C:\ 3. Right click "My Computer", click the "Advanced" tab and click the "Environment Variables" button. Add a "System" environment variable, not a "User" environment variable named "CATALINA_HOME". Make sure that the value is exactly "C:\jakarta-tomcat-4.1.12". The is *no*, I repeat *no* semicolon in that value. One more time, do *not* add a semicolon!!!!!! Do the same thing to create a "JAVA_HOME" environment variable which points to the base directory of your JDK installation. Mine is "C:\j2sdk1.4.1". BTW, do *not* include the quotes in the names or values of your environment variables. 4. Add "%JAVA_HOME%/bin;" to your system "PATH" variable. And yes, there *is* a semicolon there. It is only there becaus there are multiple entries for one variable and the semicolon delimits these entries on Windows systems. 5. Add another environment variable called "CATALINA_OPTS" with the value of something like "-server -Xms32m -Xmx128m". That tells Tomcat to start with the server VM and provides some optimization for memory usage. See the JDK docs for -Xms and -Xmx switches if you want more info on that. After setting all these Environment variables, make sure to hi "OK" in all appropriate places to save this configuration. 6. Restart Windows. 7. Now, open a command window and copy the following to the command line to install the cataIina service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log use the following to uninstall the service (for when you upgrade to a newer version of Tomcat): %CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina 8. Open up the "Services" system applet and start the "Apache-Catalina" service. to know when Tomcat has fully started up, check the $CATALINA_HOME/logs directory for the stdout.log file. It should say the following when Tomcat is fully started: Bootstrap: Create Catalina server Bootstrap: Starting service Starting service Tomcat-Standalone Apache Tomcat/4.1.12 Bootstrap: Service started 9. Browse to http://localhost:8080/examples/ following the links to run sample servlets and jsp's. Everything should work fine. Jake At 10:33 PM 9/28/2002 -0700, you wrote: > Hello all, I need some pretty urgent help/assistance with installing > tomcat!!! I >am trying, specifically, to install the version 4.1.12 of it. I keep on >getting a >damned error message when I try to start it up in DOS saying that the >CATALINA_HOME environment variable is either not properly set OR is just flat >missing altogether!!! I still don't know whether to leave in or not the >semicolon >(;) at the end of each variable in the System applet!! > > I started out with having it in without any success whatsoever, and then > tried >leaving it out, still without any success. I am going absolutely "crazy" >in trying >to do this thing right, lemme tell u. I beleive that I got Tomcat configured >properly, the correct way a long time ago--several months ago. And, that >time had >to have been due to me just flat "lucking out" and dumbly "stumbling into" the >right way to get tomcat going. I apologize in advance to anyone in our >newsgroup >who thinks that they perceive that I have made this same kind of a posting >in the >past, and probably more than once too. I am really not at all as smart and >intelligent as I perceive many others on our group seem to be, I am afraid to >say.To whoever responds back to me, I would appreciate it if you could >send me all >of the environment variables needed to configure Tomcat. Thank you > >__________________________________________________ >Do you Yahoo!? >New DSL Internet Access from SBC & Yahoo! >http://sbc.yahoo.com > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
