Please only reply to the list. I read the list regularly (and respond 
sporadically). I also get about 200 mail messages per day, and will probably 
miss mail messages from addresses I don't recognize. I will certainly not 
respond to addresses I don't recognize very quickly. Thanks.

I'll make comments inline.



> Well, I've installed the webserver (1st file), however, no services are
> running, and, no page is running on http://127.0.0.1:8080 (IIS runs on port
> 80).

Which "1st file"? If you've installed the 
httpd-2.2.16-win32-x86-openssl-0.9.8o.msi file, that is not Tomcat. That is the 
Apache web server which much like IIS (I think it's much better than IIS, but 
that's my opinion). If you're going to install that, you'll need to switch your 
IIS server service to manual and shut it down.

If you installed apache-tomcat-6.0.29.exe, then you should see the Tomcat 
Monitor application in your system tray. This can be used to start and stop 
Tomcat.

Make sure you have administrator privileges, and that you've allowed Tomcat / 
Java in your firewall. When you first run Tomcat, Windows will prompt you for 
this.

> When I try to start up "catalina", it says that it cannot find JAVA_HOME,
> but I am not sure why...

*Microsoft Windows XP [Version 5.1.2600]*
*(C) Copyright 1985-2001 Microsoft Corp.*
*
*
*C:\Documents and Settings\Jon>cd %CATALINA_HOME%*
*
*
*C:\Program Files\apache-tomcat-6.0.29>dir*
* Volume in drive C has no label.*
* Volume Serial Number is D80F-8634*
*
*
* Directory of C:\Program Files\apache-tomcat-6.0.29*
*
*
*18/08/2010  19:18    <DIR>          .*
*18/08/2010  19:18    <DIR>          ..*
*18/08/2010  19:33    <DIR>          bin*
*18/08/2010  18:47    <DIR>          conf*
*18/08/2010  18:47    <DIR>          lib*
*19/07/2010  14:59            38,656 LICENSE*
*18/08/2010  18:47    <DIR>          logs*
*19/07/2010  14:59               573 NOTICE*
*19/07/2010  14:59             8,669 RELEASE-NOTES*
*19/07/2010  14:59             6,836 RUNNING.txt*
*18/08/2010  18:47    <DIR>          temp*
*18/08/2010  18:46    <DIR>          webapps*
*18/08/2010  18:46    <DIR>          work*
*               4 File(s)         54,734 bytes*
*               9 Dir(s)  33,834,348,544 bytes free*
*
*
*C:\Program Files\apache-tomcat-6.0.29>cd bin*
*
*
*C:\Program Files\apache-tomcat-6.0.29\bin>startup.bat*
*The JAVA_HOME environment variable is not defined correctly*
*This environment variable is needed to run this program*
*NB: JAVA_HOME should point to a JDK not a JRE*
*C:\Program Files\apache-tomcat-6.0.29\bin>echo %JAVA_HOME%*
*C:\Program Files\Java\jdk1.6.0_17\bin*
*
*
*C:\Program Files\apache-tomcat-6.0.29\bin>*

The JAVA_HOME environment variable is indeed not defined correctly.

You've pointed it to the bin subdirectory of the JDK installation. If you're 
using the JDK, then you need to point it to the root of the install (C:\Program 
Files\Java\jdk1.6.0_17).

Also, see below on using the JRE and JDK.

>From the RUNNING.TXT file:

(1.3) Set an environment variable named JRE_HOME to the pathname of the 
directory into which you installed the JRE, e.g. c:\jre5.0 or 
/usr/local/java/jre5.0.

So, in most Windows/XP cases point JRE_HOME to C:\Program Files\Java\jre6 (for 
Java 1.6).

>From the CATALINA.BAT file:

rem   JAVA_HOME       Must point at your Java Development 
rem                   Kit installation.
rem                   Required to run the with the "debug" 
rem                   argument.
rem
rem   JRE_HOME        Must point at your Java Runtime 
rem                   installation.
rem                   Defaults to JAVA_HOME if empty.

In other words, unless you're doing development work or running Tomcat with the 
"debug" argument, you do not need to install the JDK. If you're going to do 
development, then I recommend using the latest JDK (1.6.0_21). And see the note 
on fixing the JAVA_HOME environment variable above . .

. . . . just my two cents

/mde/



      


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to