Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 70682 invoked from network); 3 Nov 2009 09:51:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 09:51:51 -0000 Received: (qmail 16420 invoked by uid 500); 3 Nov 2009 09:51:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16364 invoked by uid 500); 3 Nov 2009 09:51:46 -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 16175 invoked by uid 99); 3 Nov 2009 09:51:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 09:51:45 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 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; Tue, 03 Nov 2009 09:51:42 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 0510F226087 for ; Tue, 3 Nov 2009 10:51:21 +0100 (CET) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQkylm7oPnZa for ; Tue, 3 Nov 2009 10:51:20 +0100 (CET) Received: from [192.168.245.129] (p549EB07A.dip0.t-ipconnect.de [84.158.176.122]) by tor.combios.es (Postfix) with ESMTPA id 85B5A22607B for ; Tue, 3 Nov 2009 10:51:20 +0100 (CET) Message-ID: <4AEFFD09.603@ice-sa.com> Date: Tue, 03 Nov 2009 10:51:05 +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 Service wont`t start any longer References: <4A15AA56191566459AD29F836C71BAC7540F0D1A09@vserver03x64.answer.local> In-Reply-To: <4A15AA56191566459AD29F836C71BAC7540F0D1A09@vserver03x64.answer.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Marc Bartrina wrote: > > Jakarta_service: > > [2009-10-28 14:04:07] [info] Starting service... > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[0] -Dcatalina.home=C:\Programme\Apache > Software Foundation\Tomcat 6.0 > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[1] -Dcatalina.base=C:\Programme\Apache > Software Foundation\Tomcat 6.0 > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[2] -Djava.endorsed.dirs=C:\Programme\Apache > Software Foundation\Tomcat 6.0\endorsed > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[3] -Djava.io.tmpdir=C:\Programme\Apache > Software Foundation\Tomcat 6.0\temp > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[4] -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[5] -Djava.util.logging.config.file=C:\Programme\Apache > Software Foundation\Tomcat 6.0\conf\logging.properties All that looks ok, although I don't like the paths with spaces in them, but that's a personal thing. What does the file ..\conf\logging.properties say ? > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[6] -XX:MaxPermSize=128m why do you do this ? > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[7] -Djava.class.path=C:\Programme\Apache > Software Foundation\Tomcat 6.0\bin\bootstrap.jar > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[8] vfprintf what is this option ? (I'm just curious, I do not know it.) > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[9] -Xms128m > [2009-10-28 14:04:08] [385 javajni.c] [debug] Jvm Option[10] -Xmx440m why these two parameters ? (and if you really need a 440MB heap, then set "-Xms440M -Xmx440M", it's more efficient). > [2009-10-28 14:04:08] [471 javajni.c] [debug] argv[0] = start > [2009-10-28 14:04:09] [1015 prunsrv.c] [debug] Java started org/apache/catalina/startup/Bootstrap > [2009-10-28 14:04:09] [info] Service started in 1843 ms. > [2009-10-28 14:04:09] [1259 prunsrv.c] [debug] Waiting worker to finish... That last one, I do not see in my logs. But I am running Tomcat 5.5, so it may be different. > > stderr (empty) and stdout (empty) > > No further log will be created, catalina won't start and no one of our webapps starts. Windows > writes no error and everything seems to be ok but isn't it. > Is there nothing at all in the Windows Event logs ? > When I stop the service and start tomcat6.exe, everything works, > catalina starts and every webapp starts. When you start tomcat6.exe from the command line or the Explorer, it starts up under your current login-id. When you start it up as a Service, the id it runs under depends of the Service setup. That is a difference. Maybe it is trying to do something that is allowed under your user-id, and not allowed under the user-id under which it runs as a service. Maybe the id under which it runs as a service, does not allow it to overwrite the logfiles it created when you run it under your own user-id ? Maybe you want to make sure that you erase (or rename) *all* the Tomcat logfiles, and then immediately try again to run the service. I am just guessing here, and I understand it was running before. But obviously, something has changed, so the question is to find what. What is this new software that you installed ? Could it have changed the system PATH, so that now some module is run that was not run before ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org