RE: can't start tomcat5.5.31
Let me try that again with a simple image file: Thanks. No I do NOT get a UAC. I do get the following (see attached), however. Isn't this essentially the same warning? -Original Message- From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Sent: Saturday, January 08, 2011 11:34 PM To: Tomcat Users List Subject: RE: can't start tomcat5.5.31 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! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, January 07, 2011 5:43 PM To: Tomcat Users List Subject: RE: can't start tomcat5.5.31 From: Pid [mailto:p...@pidster.com] Subject: Re: can't start tomcat5.5.31 It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from Sun/Oracle. Note: jps, JConsole, VisualVM and other tools which rely on the Attach API won't display or connect using the local JMX connector in 23 probably due to a bug with where Java expects the temp dir to be. https://issues.apache.org/bugzilla/show_bug.cgi?id=50518 Good point - forgot about that. Best to use 6u22 until Oracle gets it sorted. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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
RE: can't start tomcat5.5.31
My apologies for the repetitive replies. I was trying to send a simple JPEG as a screenshot of the message, but it appears to be not allowed as an attachment? Essentially, the message I get at the beginning of install is an Open File - Security Warning as a Microsoft Security Alert indicating the publisher of the apache-tomcat-5.3.1.exe could not be verified, but I obviously allow it to run anyway.. My point is, is the warning I do receive substantively different from the UAC message you speak of? If not, than I guess that is not my problem? Thanks for your patience.. -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
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
RE: can't start tomcat5.5.31
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. -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
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
RE: can't start tomcat5.5.31
My tomcat5 is 76.5 kbytes, so a little less than what you say the 64 bit tomcat5 should be. -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
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
RE: can't start tomcat5.5.31
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
RE: can't start tomcat5.5.31
Thanks. I was indeed pointing to the wrong jre. I got it working now. Thanks for all your patient help. I learned some basic things about troubleshooting tomcat. Thanks again for your kind help and service. -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
RE: can't start tomcat5.5.31
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! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, January 07, 2011 5:43 PM To: Tomcat Users List Subject: RE: can't start tomcat5.5.31 From: Pid [mailto:p...@pidster.com] Subject: Re: can't start tomcat5.5.31 It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from Sun/Oracle. Note: jps, JConsole, VisualVM and other tools which rely on the Attach API won't display or connect using the local JMX connector in 23 probably due to a bug with where Java expects the temp dir to be. https://issues.apache.org/bugzilla/show_bug.cgi?id=50518 Good point - forgot about that. Best to use 6u22 until Oracle gets it sorted. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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
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
Re: can't start tomcat5.5.31
On 1/7/11 8:44 PM, Tim Clotworthy wrote: Hi, I am not able to get tomcat5.5.31 to start. I installed using the Windows Service Installer. The system event viewer provides the following error with each attempt at starting Apache Tomcat service manually from the services tool: The Apache Tomcat service terminated with service-specific error 0 (0x0). My machine is a 64 bit Vista machine with Service Pack 1. The java runtime is 1.6.0. Actually 1.6.0 or 1.6.0_22 or similar? I have tried installing with the native apache dll option, thinking the installer doesn't know what to do with this being a 64 bit machine. I have tried making the listener 8081 rather than 8080, just in case there was some sort of conflict. I have tried (from an old post I read) copying the msvcr71.dll from JAVA-HOME/bin to the tomcat bin. Any ideas are greatly appreciated. Thank you! Is there anything in the log files? p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
RE: can't start tomcat5.5.31
From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Subject: can't start tomcat5.5.31 My machine is a 64 bit Vista machine with Service Pack 1. The java runtime is 1.6.0. 32- or 64-bit JVM? I have tried installing with the native apache dll option Get it working with pure Java first, then add the native connector. thinking the installer doesn't know what to do with this being a 64 bit machine. As I recall, the installer in 5.5.31 assumes a 64-bit JVM is available on a 64-bit OS. If you actually have a 32-bit JVM installed (why?), you'll need to use the 32-bit version of 5.5.31. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: can't start tomcat5.5.31
Ok, I just reinstalled without the native dlls (no improvement). In order to answer your other question (32- or 64-bit JVM?), Java -version gives me: C:\Users\adminjava -version java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) I cannot tell from this whether it is 64 or 32. Any ideas? Thanks so far! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, January 07, 2011 4:00 PM To: Tomcat Users List Subject: RE: can't start tomcat5.5.31 From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Subject: can't start tomcat5.5.31 My machine is a 64 bit Vista machine with Service Pack 1. The java runtime is 1.6.0. 32- or 64-bit JVM? I have tried installing with the native apache dll option Get it working with pure Java first, then add the native connector. thinking the installer doesn't know what to do with this being a 64 bit machine. As I recall, the installer in 5.5.31 assumes a 64-bit JVM is available on a 64-bit OS. If you actually have a 32-bit JVM installed (why?), you'll need to use the 32-bit version of 5.5.31. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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
RE: can't start tomcat5.5.31
From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Subject: RE: can't start tomcat5.5.31 java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) I cannot tell from this whether it is 64 or 32. Any ideas? It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from Sun/Oracle. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can't start tomcat5.5.31
On 1/7/11 9:16 PM, Caldarale, Charles R wrote: From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Subject: RE: can't start tomcat5.5.31 java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) I cannot tell from this whether it is 64 or 32. Any ideas? It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from Sun/Oracle. Note: jps, JConsole, VisualVM and other tools which rely on the Attach API won't display or connect using the local JMX connector in 23 probably due to a bug with where Java expects the temp dir to be. https://issues.apache.org/bugzilla/show_bug.cgi?id=50518 p - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
RE: can't start tomcat5.5.31
From: Pid [mailto:p...@pidster.com] Subject: Re: can't start tomcat5.5.31 It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from Sun/Oracle. Note: jps, JConsole, VisualVM and other tools which rely on the Attach API won't display or connect using the local JMX connector in 23 probably due to a bug with where Java expects the temp dir to be. https://issues.apache.org/bugzilla/show_bug.cgi?id=50518 Good point - forgot about that. Best to use 6u22 until Oracle gets it sorted. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: can't start tomcat5.5.31
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/7/2011 5:43 PM, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: can't start tomcat5.5.31 It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from Sun/Oracle. Note: jps, JConsole, VisualVM and other tools which rely on the Attach API won't display or connect using the local JMX connector in 23 probably due to a bug with where Java expects the temp dir to be. https://issues.apache.org/bugzilla/show_bug.cgi?id=50518 Good point - forgot about that. Best to use 6u22 until Oracle gets it sorted. Or set CATALINA_TMPDIR=/tmp or whatever the default temp dir is on win32 (%TEMP%). - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0n46MACgkQ9CaO5/Lv0PDzPACfZLRh0X3WQJnfg8XtTeaDpGVC stQAoIX+pVsyNfJZenJrHzQrv13DQ8Vt =SrZg -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org