Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 48070 invoked from network); 1 Mar 2005 19:58:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Mar 2005 19:58:41 -0000 Received: (qmail 96664 invoked by uid 500); 1 Mar 2005 19:58:28 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 96649 invoked by uid 500); 1 Mar 2005 19:58:28 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 96629 invoked by uid 99); 1 Mar 2005 19:58:28 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 216-64-173-2.gen.twtelecom.net (HELO domino.techflow.com) (216.64.173.2) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 11:58:26 -0800 Subject: Re: Installation problems on Windows MIME-Version: 1.0 From: shenty@techflow.com To: "Tomcat Users List" X-MIMETrack: MIME-CD by Notes Server on grandview/srvr/TechFlow(Release 6.5.2|June 01, 2004) at 03/01/2005 11:58:22 AM, MIME-CD complete at 03/01/2005 11:58:22 AM, Serialize by Router on grandview/srvr/TechFlow(Release 6.5.2|June 01, 2004) at 03/01/2005 11:58:26 AM Date: Tue, 1 Mar 2005 11:58:22 -0800 Message-ID: Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is my own remote-office laptop, so I have the God-bit set (Administrators group), and have installed 50 or 60 programs / services over the last 12 months, including 20 or so after the SP2 upgrade. So it would seem Tomcat is trying to do something during installation that most other programs -- Open Source or not -- don't typically try or need to do. Do we know who put the installer together? Perhaps they would have some additional insight into what step the installer is trying to do when it hangs, and by extension what the tomcat5 executable tries to do in service.bat when it fails. Steve -----Jason Bainbridge wrote: ----- To: Tomcat Users List From: Jason Bainbridge Date: 2005-03-01 02:40PM Subject: Re: Installation problems on Windows On Tue, 1 Mar 2005 11:05:08 -0800, shenty@techflow.com wrote: > > > Regarding running Tomcat from the startup.bat and shutdown.bat... > > This *does* work, but only if JAVA_HOME is pointing to the parent directory > of a JDK, not the parent to a JRE (this seems to contradict both the binary > installer, and the Tomcat 5.x docs which state Tomcat no longer needs a > JDK, just a JRE?) Where does it say that exactly? It certainly isn't recommended to do so even though I'm forced to in my company's supported environment, it's always best to use the server JVM available in the JDK, which isn't available in the JRE unless they changed it in 1.5. However as you found out by default it won't run without some modifications as the .bat files are written expecting a JDK so if the documentation says it will run fine just with a JRE then unfortunately the docs are wrong. > However, even with this correction to JAVA_HOME, the service.bat still > fails in the same way -- "Failed installing 'Tomcat5' service" As another poster asked, do you have permission to install services on your XP machine? It doesn't sound like Tomcat is at fault here but mor something related to your permissions or something else preventing an install, is it the error inserting those quotes around the service name? If not then you shouldn't be using the quotes and that could well be causing the problem but I don't think that's it. Regards, -- Jason Bainbridge http://kde.org- webmaster@kde.org Personal Site - http://jasonbainbridge.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org