Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA77EE88C for ; Wed, 27 Feb 2013 12:38:39 +0000 (UTC) Received: (qmail 10011 invoked by uid 500); 27 Feb 2013 12:38:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 9861 invoked by uid 500); 27 Feb 2013 12:38:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 9848 invoked by uid 99); 27 Feb 2013 12:38:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 12:38:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 12:38:30 +0000 Received: from [192.168.245.228] (p549E8EC4.dip0.t-ipconnect.de [84.158.142.196]) (Authenticated sender: andre.warnier@ice-sa.com) by tor.combios.es (Postfix) with ESMTPA id 45F693C1E11 for ; Wed, 27 Feb 2013 13:38:34 +0100 (CET) Message-ID: <512DFE2F.6040300@ice-sa.com> Date: Wed, 27 Feb 2013 13:38:07 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat 7 doesn't start on Windows References: <36444DC1-4785-481F-92BB-53B127CA2D1F@rdfined.dk> <512DF365.1090908@ice-sa.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Giles wrote: > On 27 February 2013 11:52, Andr� Warnier wrote: >> computer repair centre wrote: >>> On Wed, Feb 27, 2013 at 10:18 AM, Rune Stilling wrote: >>>> Hi again >>>> >>>> Thanks for your answers. I have given up. I have tried some of the >>>> suggestions: >>>> >>>> * Uninstall all JVM's and Tomcats (and reinstall) >>>> * Checked dependcies, yes there were two, that are also present on >>>> another machine running Tomcat7 (TCP/IP, ADF) >>>> * Tried to use client/jvm.dll instead of server/jvm.dll >>>> >>>> Nothing helps - I can still only run the service from the command prompt. >>>> I find it strange though, that Tomcat isn't able to log anything at all >>>> about this, but maybe it's all Windows fault? >>>> >>>> Hopefully things will work on a new VPS, and I'll quit the old one. >>>> >>>> /Rune >>>> >>>> Den 26/02/2013 kl. 13.04 skrev Rune Stilling : >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>> >>> >>> Hi Rune, >>> >>> Please can you provide the value of the JAVA_HOME environment variable? >>> >> That has nothing to do with the matter. The wrapper (tomcat7.exe) takes the >> path of the JVM to run from the Registry, not from environment variables. >> Run tomcat7w.exe and check the Java tab. > > But it is used by service.bat when installing the service. This issue > could be caused by using the 64-bit installation with the 32-bit JVM. > This would explain why calling the wrapper directly from the command > line does execute successfully. > I believe that the above statement is false. Whether you run the command "tomcat7 //TS/Tomcat7" from a command-line window, or you let the Windows Service Manager run the same command, does not change the fact that "tomcat7(.exe)" takes its parameters from the same place in the Registry. So if it works one way, and not the other, it is not because of that Registry setting nor bacause the JAVA_HOME environment variable. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org