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).
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>* On 18 August 2010 21:24, Mark Eggers <its_toas...@yahoo.com> wrote: > A couple of things: > > The list in general strips attachments, so your log did not make it > through. > > The file httpd-2.2.16-win32-x86-openssl-0.9.8o.msi is for installing the > Apache > web server. The Apache web server is useful if you are planning to write > PHP, > Perl, Python, or Lisp/Scheme web sites. > > The file apache-tomcat-6.0.29.exe is the file for installing Apache Tomcat > as a > service on Windows. Tomcat is useful if you are planning to write Java web > sites. > > If you run Tomcat on Windows as a service, the installer will figure > everything > out. The service installation is good enough for many uses. Documentation > for > service installation is here: > > http://tomcat.apache.org/tomcat-6.0-doc/setup.html#Windows > > Documentation for managing the service under Windows is here: > > http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html > > If you are going to actively develop Java web applications, then it's > sometimes > useful to install from the zip archive. Many IDEs use the batch files from > the > zip archive to start and stop Tomcat. > > Just unzip the archive in a directory that you have read/write access to. > Add an > environment variable called JAVA_HOME and point it to your installation of > the > Java JRE. On Windows the JRE is usually located in C:\Program > Files\Java\jre6 > (for the latest versions of Java). > > Now to run the unzipped version of Apache Tomcat, just open a DOS command > window, navigate to the bin directory under where you unpacked the zip > file. For > example, if you unpacked the zip file in C:\, the bin subdirectory would be > in > C:\apache-tomcat-6.0.29\bin. Type startup (which will run startup.bat) to > start > Tomcat, and shutdown (which will run shutdown.bat) to stop Tomcat. > > To get your IDE to work with Tomcat, it's best to ask on the IDE mailing > list > (for example, NetBeans or Eclipse). > > On my XP system, I've installed both. I set the service startup to manual, > and I > point my IDE (NetBeans) to the zip file installation. > > . . . . just my two cents > > /mde/ > ________________________________ > From: Jonathan Camilleri <camilleri....@gmail.com> > To: Tomcat <users@tomcat.apache.org> > Sent: Wed, August 18, 2010 11:17:59 AM > Subject: Installation problem [newbie] > > I ran into an installation problem, and, hope you can help me out with it. > Initially I tried running the > installer (httpd-2.2.16-win32-x86-openssl-0.9.8o.msi), on my laptop which > runs > Windows XP, and, I was prompted for the following: > > > Network Domain - laptop is a standalone pc and field is mandatory; is a > workaround available? > Server Name - is this the name of the computer? > Administrator's Email address - no problem :) > > The instructions available online do not seem to be relevant for this > installation file, and, I was told that I should try downloading from > another > location. > > > So I downloaded Apache Tomcat 6.0.29, which I assumed is the latest stable > version, and, I am following RUNNING.txt for the installation. > > Even though I think I created the Java variables (section 1), when I > run startup.bat, an error is displayed. > See tomcat.installation.command.log which is attached to this email. > > Any ideas, please? > > > > > -- Jonathan Camilleri Mobile (MT): 00356 7982 7113 E-mail: camilleri....@gmail.com Please consider your environmental responsibility before printing this e-mail. I usually reply to e-mails within 2 business days. If it's urgent, give me a call.