Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 78356 invoked from network); 9 Jan 2011 22:54:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2011 22:54:16 -0000 Received: (qmail 47282 invoked by uid 500); 9 Jan 2011 22:54:13 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 47199 invoked by uid 500); 9 Jan 2011 22:54:13 -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 47190 invoked by uid 99); 9 Jan 2011 22:54:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 22:54:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.46.182.51] (HELO relay.ihostexchange.net) (66.46.182.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 22:54:06 +0000 Received: from VMBX116.ihostexchange.net ([192.168.30.16]) by HUB101.ihostexchange.net ([66.46.182.51]) with mapi; Sun, 9 Jan 2011 17:53:45 -0500 From: Tim Clotworthy To: Tomcat Users List Date: Sun, 9 Jan 2011 17:53:37 -0500 Subject: RE: can't start tomcat5.5.31 Thread-Topic: can't start tomcat5.5.31 Thread-Index: AcuwTuBpFv+KDNU8Q5KJcF+1jl/qbAAAB5/A Message-ID: 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> <4D2A3A52.3010704@apache.org> In-Reply-To: <4D2A3A52.3010704@apache.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Got it. Thanks. And the bin/tcnative-1.dll is indeed missing. Obviously I h= ave 64 bit tomcat. If it is useful, the C:\Java\jre6\bin\client\jvm.dll is= 2,359,296 bytes.=20 How do I confirm whether this is the 32 bit or 64 jre? -----Original Message----- From: Mark Thomas [mailto:markt@apache.org]=20 Sent: Sunday, January 09, 2011 5:45 PM To: Tomcat Users List Subject: Re: can't start tomcat5.5.31 On 09/01/2011 22:38, Tim Clotworthy wrote: > My tomcat5 is 76.5 kbytes, so a little less than what you say the 64 bit = tomcat5 should be.=20 78336/1024 =3D 76.5 Mark >=20 > -----Original Message----- > From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]=20 > Sent: Sunday, January 09, 2011 5:25 PM > To: Tomcat Users List > Subject: Re: can't start tomcat5.5.31 >=20 > 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 w= hen 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 javajni.c] [error] %1 is not a valid Win32 a= pplication. >> [2011-01-09 16:35:44] [985 prunsrv.c] [error] Failed creating java C:\J= ava\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. >> >=20 > It is good to see that you have logs. It is some progress. >=20 > 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. >=20 > 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. >=20 > If you have "tcnative-1.dll" and you are in doubt, just delete/rename the= file. >=20 >=20 > 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. >=20 >=20 > 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. >=20 > 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. >=20 > 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 >=20 > prunmgr.exe is the same regardless of CPU. > prunsrv.exe is different. >=20 >=20 >=20 >> -----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) >> check what JRE is selected there >> and set logging level to Debug there. >> You may need to use "Run as administrator" when launching this applicat= ion. >> 3) Try to start the service. Look for logs. >> 4) If there are no logs at all, then 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), = however. 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 n= ot 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#Inst= alling_services >>> >>> Also >>> http://wiki.apache.org/tomcat/FAQ/Windows#Q8 >>> >>> http://social.technet.microsoft.com/Forums/en/itprovistaact/thread/5a23= a2d4-0fbf-42bf-b96f-4dc5401a5267 >>> >>> Best regards, >>> Konstantin Kolinko >>> >>> >> >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org