Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 73102 invoked from network); 9 Jan 2011 22:25:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2011 22:25:56 -0000 Received: (qmail 24889 invoked by uid 500); 9 Jan 2011 22:25:52 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 24711 invoked by uid 500); 9 Jan 2011 22:25:52 -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 24702 invoked by uid 99); 9 Jan 2011 22:25:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 22:25:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of knst.kolinko@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yw0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 22:25:47 +0000 Received: by ywl5 with SMTP id 5so8983247ywl.18 for ; Sun, 09 Jan 2011 14:25:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=39YHc0K4jb4cPySF8+VUsMa8h8kmleT1Re2wKRT2G2g=; b=iN1mK3x3Bdt5HHv7k35dPNO3aRrNIZHoevOJeUtu4y83rJStW3jGItX/P2Uj+O2Ags 4tlwOV5xcI9RQjhKX4oMDvhG726m4ajsM/5qtci5yVEJ6ufmNJtHnxgkv8bzkBLD5Z1m HanP2qqXP3kOvEtoiXmeWBuLUXKUd9jN9w+Dg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hj622g9PnZcKmUWR+0t5Dvd7A8G/Cov99g52H3XIMYXt8uoF2TuAVf+V4qgq/w1qHG wzixYULnBa9ZCKeln2bPHz5T6R7QAwfxb+TL8Cu5OrTrmokn57Vsp0M1GLramsO8//lK M6/EYx5DXmZKnQXyH42Ko1Kq8Ep4pgghp5hDs= MIME-Version: 1.0 Received: by 10.100.92.15 with SMTP id p15mr8978301anb.150.1294611924565; Sun, 09 Jan 2011 14:25:24 -0800 (PST) Received: by 10.100.178.20 with HTTP; Sun, 9 Jan 2011 14:25:24 -0800 (PST) In-Reply-To: References: <99C8B2929B39C24493377AC7A121E21F9A196FE5DF@USEA-EXCH8.na.uis.unisys.com> <99C8B2929B39C24493377AC7A121E21F9A196FE628@USEA-EXCH8.na.uis.unisys.com> <4D27968D.3070804@pidster.com> <99C8B2929B39C24493377AC7A121E21F9A196FE79F@USEA-EXCH8.na.uis.unisys.com> Date: Mon, 10 Jan 2011 01:25:24 +0300 Message-ID: Subject: Re: can't start tomcat5.5.31 From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2011/1/10 Tim Clotworthy : > Thanks for your patient support. > > I did all as you instructed. With log set to debug, here is the output wh= en attempting to start tomcat: > > [2011-01-09 16:35:44] [info] Commons Daemon procrun (1.0.2.0) started > [2011-01-09 16:35:44] [info] Running Service... > [2011-01-09 16:35:44] [info] Starting service... > [2011-01-09 16:35:44] [206 =A0javajni.c] [error] %1 is not a valid Win32 = application. > [2011-01-09 16:35:44] [985 =A0prunsrv.c] [error] Failed creating java C:\= Java\jre6\bin\client\jvm.dll > [2011-01-09 16:35:44] [1280 prunsrv.c] [error] ServiceStart returned 1 > [2011-01-09 16:35:44] [info] Run service finished. > [2011-01-09 16:35:44] [info] Commons Daemon procrun finished. > It is good to see that you have logs. It is some progress. Just to check: 1) what is the size of your bin/tomcat5.exe ? If it is 32-bit, it will be 61440 bytes, and you will need 32-bit JRE The bin/tcnative-1.dll should in this case either be absent or be of 868352 bytes. If it is 64-bit (aka x64, aka x64-86), it will be 78336 bytes, and you will need 64-bit JRE The bin/tcnative-1.dll should in this case either be absent or be of 1157632 bytes. If you have "tcnative-1.dll" and you are in doubt, just delete/rename the f= ile. 2) I guest that the path "C:\Java\jre6\bin\client\jvm.dll" mentioned in the log is correct? I used to see "Program Files" in that path. I an a bit out of ideas now. Maybe the following: 1. If you use Tomcat for development and will run it from inside of an IDE, it is not necessary to "install" it at all. Just download the zip file. See RUNNING.txt inside of it. 2. You may update commons-daemon to version 1.0.5 of it. I do not expect that it'll fix the issue, but this new version now also prints the OS-provided error message into the logs. That might give an additional guess. To do so, 1. go to http://commons.apache.org/daemon/download_daemon.cgi 2. click Browse native binaries download area... 3. go to "windows" subdirectory and download commons-daemon-1.0.5-bin-windows.zip 4. unpack the archive 5. use the following files (rename them): prunmgr.exe -> tomcat5w.exe prunsrv.exe (32-bit) or amd64/prunsrv.exe (64-bit x64) -> tomcat5.exe prunmgr.exe is the same regardless of CPU. prunsrv.exe is different. > -----Original Message----- > From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] > Sent: Sunday, January 09, 2011 4:05 PM > To: Tomcat Users List > Subject: Re: can't start tomcat5.5.31 > > That is not UASC. > > 1) Try to run the installer with explicit "Run as administrator" (from > menu on that file). > > 2) Launch "Configure Tomcat" application (from Start/Programs menu, or > click the Tomcat icon in the tray. or launch "tomcat5w" directly from > the bin folder) > =A0check what JRE is selected there > =A0and set logging level to Debug there. > =A0You may need to use "Run as administrator" when launching this applica= tion. > 3) Try to start the service. =A0Look for logs. > 4) If there are no logs at all, =A0then check permissions for the "logs" > folder where Tomcat is installed. > > > > 2011/1/9 Tim Clotworthy : >> Thanks. No I do NOT get a UASC. I do get the following (see attached), h= owever. Isn't this essentially the same warning? >> >> >> >> -----Original Message----- >> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] >> Sent: Sunday, January 09, 2011 12:11 AM >> To: Tomcat Users List >> Subject: Re: can't start tomcat5.5.31 >> >> 2011/1/9 Tim Clotworthy : >>> Thanks for assistance. I installed the 64bit 6u22. Tomcat still will no= t start, and I get the same error as I did with the 32 bit jre. I would be = grateful for any other ideas. Thank you! >>> >> >> Was there an UAC prompt displayed while you were installing it? If >> not, try to reinstall it now with "Run as administrator". >> >> Here is how to install it manually: >> http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html#Insta= lling_services >> >> Also >> http://wiki.apache.org/tomcat/FAQ/Windows#Q8 >> >> http://social.technet.microsoft.com/Forums/en/itprovistaact/thread/5a23a= 2d4-0fbf-42bf-b96f-4dc5401a5267 >> >> Best regards, >> Konstantin Kolinko >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org