Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 39649 invoked from network); 1 Mar 2005 19:41:00 -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:41:00 -0000 Received: (qmail 59538 invoked by uid 500); 1 Mar 2005 19:40:46 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 59520 invoked by uid 500); 1 Mar 2005 19:40:46 -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 59507 invoked by uid 99); 1 Mar 2005 19:40:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jbainbridge@gmail.com designates 64.233.184.194 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.194) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 11:40:45 -0800 Received: by wproxy.gmail.com with SMTP id 70so2383559wra for ; Tue, 01 Mar 2005 11:40:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mroe2WN+0yxZdOurXWdXYj02Z13khj7LjyjGbZLdkToJaPQgd9oPsv+BQk0NWQXxn/9rfj0xMifmu5Rnc1O3GGJnxZ7mbKPXDIdujWPjnwrYluV/5t+cbRLZVJtnWbvElFXw/CbvgKNOewVo5RB6KvcAjKT4X/j2J3xQMlIBTJY= Received: by 10.54.50.15 with SMTP id x15mr27615wrx; Tue, 01 Mar 2005 11:40:41 -0800 (PST) Received: by 10.54.23.76 with HTTP; Tue, 1 Mar 2005 11:40:40 -0800 (PST) Message-ID: Date: Tue, 1 Mar 2005 13:40:40 -0600 From: Jason Bainbridge Reply-To: Jason Bainbridge To: Tomcat Users List Subject: Re: Installation problems on Windows In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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