Got it. Thanks. And the bin/tcnative-1.dll is indeed missing. Obviously I have 
64 bit tomcat. If it is useful, the C:\Java\jre6\bin\client\jvm.dll  is 
2,359,296 bytes. 

How do I confirm whether this is the 32 bit or 64 jre?

-----Original Message-----
From: Mark Thomas [mailto:ma...@apache.org] 
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. 
78336/1024 = 76.5

Mark

> 
> -----Original Message-----
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
> Sent: Sunday, January 09, 2011 5:25 PM
> To: Tomcat Users List
> Subject: Re: can't start tomcat5.5.31
> 
> 2011/1/10 Tim Clotworthy <tclotwor...@integratedsecure.com>:
>> Thanks for your patient support.
>>
>> I did all as you instructed. With log set to debug, here is the output when 
>> 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 
>> application.
>> [2011-01-09 16:35:44] [985  prunsrv.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 
> file.
> 
> 
> 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.koli...@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 application.
>> 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 <tclotwor...@integratedsecure.com>:
>>> 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.koli...@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 <tclotwor...@integratedsecure.com>:
>>>> Thanks for assistance. I installed the 64bit 6u22. Tomcat still will not 
>>>> 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#Installing_services
>>>
>>> Also
>>> http://wiki.apache.org/tomcat/FAQ/Windows#Q8
>>>
>>> http://social.technet.microsoft.com/Forums/en/itprovistaact/thread/5a23a2d4-0fbf-42bf-b96f-4dc5401a5267
>>>
>>> Best regards,
>>> Konstantin Kolinko
>>>
>>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to