Re: Installation problem [newbie]
On 18/08/2010 21:51, Ron Wheeler wrote: *C:\Program Files\apache-tomcat-6.0.29\binecho %JAVA_HOME%* *C:\Program Files\Java\jdk1.6.0_17\bin* and C:\Documents and Settings\Jonjava -version java version 1.6.0_21 Spot the difference between these two things. Then, uninstall Tomcat and /then/, join the HTTPD users mailing list to ask about configuring Apache HTTPD with PHP. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: Installation problem [newbie]
On Wed, Aug 18, 2010 at 6:31 AM, Jonathan Camilleri camilleri@gmail.com wrote: I'm trying to install Apache Tomcat (* httpd-2.2.16-win32-x86-openssl-0.9.8o.msihttp://httpd.apache.org/download.cgi#apache22 *) No, you're not. That's an Apache httpd installer. What is it you *want* to install? -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Installation problem [newbie]
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? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Installation problem [newbie]
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\Joncd %CATALINA_HOME%* * * *C:\Program Files\apache-tomcat-6.0.29dir* * 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:18DIR .* *18/08/2010 19:18DIR ..* *18/08/2010 19:33DIR bin* *18/08/2010 18:47DIR conf* *18/08/2010 18:47DIR lib* *19/07/2010 14:5938,656 LICENSE* *18/08/2010 18:47DIR 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:47DIR temp* *18/08/2010 18:46DIR webapps* *18/08/2010 18:46DIR work* * 4 File(s) 54,734 bytes* * 9 Dir(s) 33,834,348,544 bytes free* * * *C:\Program Files\apache-tomcat-6.0.29cd bin* * * *C:\Program Files\apache-tomcat-6.0.29\binstartup.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\binecho %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
RE: Installation problem [newbie]
From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Re: Installation problem [newbie] Well, I've installed the webserver (1st file) Let's get back to the basic question Pid asked originally: What are you trying to accomplish? Nothing that you've said so far gives anyone any idea what your goals are here. Do you want to run servlets and JSPs? Do you want to run PHP? Do you want something else? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Installation problem [newbie]
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\Joncd %CATALINA_HOME%* * * *C:\Program Files\apache-tomcat-6.0.29dir* * 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:18DIR .* *18/08/2010 19:18DIR ..* *18/08/2010 19:33DIR bin* *18/08/2010 18:47DIR conf* *18/08/2010 18:47DIR lib* *19/07/2010 14:5938,656 LICENSE* *18/08/2010 18:47DIR 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:47DIR temp* *18/08/2010 18:46DIR webapps* *18/08/2010 18:46DIR work* * 4 File(s) 54,734 bytes* * 9 Dir(s) 33,834,348,544 bytes free* * * *C:\Program Files\apache-tomcat-6.0.29cd bin* * * *C:\Program Files\apache-tomcat-6.0.29\binstartup.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\binecho %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_HOMEMust 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
Re: Installation problem [newbie]
It is saying that you do not have a JAVA_HOME environment variable defined. Is a JAVA JDK installed? Do you have JAVA_HOME defined pointing to the installation? Ron On 18/08/2010 3:43 PM, Jonathan Camilleri wrote: 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\Joncd %CATALINA_HOME%* * * *C:\Program Files\apache-tomcat-6.0.29dir* * 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:18DIR .* *18/08/2010 19:18DIR ..* *18/08/2010 19:33DIR bin* *18/08/2010 18:47DIR conf* *18/08/2010 18:47DIR lib* *19/07/2010 14:5938,656 LICENSE* *18/08/2010 18:47DIR 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:47DIR temp* *18/08/2010 18:46DIR webapps* *18/08/2010 18:46DIR work* * 4 File(s) 54,734 bytes* * 9 Dir(s) 33,834,348,544 bytes free* * * *C:\Program Files\apache-tomcat-6.0.29cd bin* * * *C:\Program Files\apache-tomcat-6.0.29\binstartup.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\binecho %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 Eggersits_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 Camillericamilleri@gmail.com To: Tomcatusers@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.
Re: Installation problem [newbie]
On 18 August 2010 22:34, Ron Wheeler rwhee...@artifact-software.com wrote: It is saying that you do not have a JAVA_HOME environment variable defined. Yes Is a JAVA JDK installed? Do you have JAVA_HOME defined pointing to the installation? Yes, see command line... Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Jonjava -version java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b07) Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing) C:\Documents and Settings\Jon Ron On 18/08/2010 3:43 PM, Jonathan Camilleri wrote: 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\Joncd %CATALINA_HOME%* * * *C:\Program Files\apache-tomcat-6.0.29dir* * 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:18DIR .* *18/08/2010 19:18DIR ..* *18/08/2010 19:33DIR bin* *18/08/2010 18:47DIR conf* *18/08/2010 18:47DIR lib* *19/07/2010 14:5938,656 LICENSE* *18/08/2010 18:47DIR 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:47DIR temp* *18/08/2010 18:46DIR webapps* *18/08/2010 18:46DIR work* * 4 File(s) 54,734 bytes* * 9 Dir(s) 33,834,348,544 bytes free* * * *C:\Program Files\apache-tomcat-6.0.29cd bin* * * *C:\Program Files\apache-tomcat-6.0.29\binstartup.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\binecho %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 Eggersits_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 Camillericamilleri@gmail.com To: Tomcatusers@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
Re: Installation problem [newbie]
If you want to run PHP, then either use IIS (which is already installed and running), or shut down IIS and run Apache HTTPD (which is not Tomcat). Tomcat can (sort of) run PHP, but it's problematic. If you are writing and running PHP, use Apache HTTPD. Tomcat is not a prerequisite for running PHP. . . . . just my two cents. /mde/ - Original Message From: Jonathan Camilleri camilleri@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Wed, August 18, 2010 1:36:04 PM Subject: Re: Installation problem [newbie] I want to run PHP basically, and, Apache Tomcat is a pre-requisite. On 18 August 2010 22:07, Caldarale, Charles R chuck.caldar...@unisys.comwrote: From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Re: Installation problem [newbie] Well, I've installed the webserver (1st file) Let's get back to the basic question Pid asked originally: What are you trying to accomplish? Nothing that you've said so far gives anyone any idea what your goals are here. Do you want to run servlets and JSPs? Do you want to run PHP? Do you want something else? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -- 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. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Installation problem [newbie]
Jonathan Camilleri wrote: I want to run PHP basically, and, Apache Tomcat is a pre-requisite. I think you have got some things right, and other things wrong then. In my opinion, Apache Tomcat might not be the best choice as a webserver to host PHP scripts. And you do not need Java for that either. On the other hand, your first choice of file to install (httpd-2.2.16-win32-x86-openssl-0.9.8o.msi), which is Apache httpd (a different program than Tomcat, but also a very good webserver), was probably right. But then, you are also on the wrong help list, because this one is for Apache Tomcat, not for Apache httpd. Go to : http://httpd.apache.org and look for the mailing list instructions there. In the meantime, a quick fix (to run Apache httpd, supposing you have installed it) : - turn off IIS - start the Apache2.x service (NOT Apache Tomcat) - access http://localhost:80 And if in the future you get tired of PHP scripts, and want to try Java servlets and JSP pages, then come back here and we will help you with that. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Installation problem [newbie]
From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Re: Installation problem [newbie] I want to run PHP basically, and, Apache Tomcat is a pre-requisite. Tomcat is certainly not a prerequisite for running PHP (it's rather ugly under Tomcat). So again, what are you trying to do? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Installation problem [newbie]
On 18/08/2010 4:38 PM, Jonathan Camilleri wrote: On 18 August 2010 22:34, Ron Wheelerrwhee...@artifact-software.com wrote: It is saying that you do not have a JAVA_HOME environment variable defined. Yes Good Is a JAVA JDK installed? Do you have JAVA_HOME defined pointing to the installation? Yes, see command line... Command only show that you have Java installed not that you have set up a JAVA_HOME environment variable. Where is the JAVA_HOME variable? Type set to see your environment variables Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Jonjava -version java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b07) Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing) C:\Documents and Settings\Jon Ron On 18/08/2010 3:43 PM, Jonathan Camilleri wrote: 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\Joncd %CATALINA_HOME%* * * *C:\Program Files\apache-tomcat-6.0.29dir* * 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:18DIR.* *18/08/2010 19:18DIR..* *18/08/2010 19:33DIRbin* *18/08/2010 18:47DIRconf* *18/08/2010 18:47DIRlib* *19/07/2010 14:5938,656 LICENSE* *18/08/2010 18:47DIRlogs* *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:47DIRtemp* *18/08/2010 18:46DIRwebapps* *18/08/2010 18:46DIRwork* * 4 File(s) 54,734 bytes* * 9 Dir(s) 33,834,348,544 bytes free* * * *C:\Program Files\apache-tomcat-6.0.29cd bin* * * *C:\Program Files\apache-tomcat-6.0.29\binstartup.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\binecho %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 Eggersits_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 Camillericamilleri@gmail.com To: Tomcatusers@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:
Re: Installation problem [newbie]
Hi, I am under the impression that Tomcat is a bad choice to run PHP. Michel - Original Message - From: Jonathan Camilleri camilleri@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 18, 2010 4:36 PM Subject: Re: Installation problem [newbie] I want to run PHP basically, and, Apache Tomcat is a pre-requisite. On 18 August 2010 22:07, Caldarale, Charles R chuck.caldar...@unisys.comwrote: From: Jonathan Camilleri [mailto:camilleri@gmail.com] Subject: Re: Installation problem [newbie] Well, I've installed the webserver (1st file) Let's get back to the basic question Pid asked originally: What are you trying to accomplish? Nothing that you've said so far gives anyone any idea what your goals are here. Do you want to run servlets and JSPs? Do you want to run PHP? Do you want something else? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. -- 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. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Installation problem [newbie]
From: michel [mailto:compu...@videotron.ca] Subject: Re: Installation problem [newbie] I am under the impression that Tomcat is a bad choice to run PHP. Let's just say there are far better ones. Apache httpd would be the first choice, but you already appear to have IIS running, so you might as well use that. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.