tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Problem : Apache Tomcat 7.0 starts up fine using startup scripts; error when starting as Windows Service
Date Wed, 13 May 2015 20:34:27 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Troy,

On 5/13/15 1:55 PM, Troy Robinson wrote:
> Sorry about that.
> 
> 'here' was just the Windows Services gui ... by highlighting the
> new Service called "Apache Tomcat 7.0 Tomcat7" and clicking on
> "Start the service".
> 
> The error is a popup window titles Services with the following
> content.
> 
> "Windows could not start the Apache Tomcat 7.0 Tomcat7 on Local
> Computer. For more information, review the System Event Log.  If
> this is a non-Microsoft service, contact the service vendor, and
> refer to service-specific error code 1."
> 
> 
> The Event Log had the following information :
> 
> Event 7024, Service Control Manager
> 
> "The Apache Tomcat 7.0 Tomcat7 service terminated with the
> following service-specific error: Incorrect function."

I'm no expert, but...

This sounds like what might happen if you have a 64-bit OS+service
runner, but you have a 32-bit JVM (or vice-versa).

Can you double-check that your architectures match-up for all
components? The commons-daemon service runner needs to match the
architecture of your JVM.

Did commons-daemon print anything to its own log files? You can check
the configuration for where those log files will be by running
Tomcat7w.exe

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVU7VTAAoJEBzwKT+lPKRYSzcQAK6w1LX9UCgQACPNOcZJA27E
yZXXsKFD254LCM5Yxc/3cY8khzTps4YBLGkmKEvgN4wU3Saif36TiXaRWUvoF/YM
ghlVFNuzbSWIUOV9rIBVWv0MToRWRSo//yCMEfVKQBxV+wXaWMeP8Cv/GKfY2V/X
COO++cTkHN0RyzabaKKeua5LiFS1DnGRTv96X6HgTShuGFVj7CoerZSs5w3Afua7
9YXBSOcp510O/VXNAHeyw/aCtRwg18pf5iNHK90W6FqxbLN6L5EGyaZoSrtuEY+p
+IPn9H3/ghpdi3FIqH2ymrUeTSn+lB2QpzipVUlDRxw0OoMBbRcj/C/qLmPkIL19
xM9elUGa4BvKVVIUWf8DUBhGDleF/xNFhqg9HwIWd30QrLKwSmP8dKhwIISLVuj8
4oPm4d7cV9f9lK2Y6AQ5YYmLwaD9vm4VODhd6uHyzSm4SHJ+YV5rAwXbZycOYIy0
tVjCJ8ep33F6M62s4Ai0jnd5xZ/yEdQl7K5jJWrBF6ysswB2N/Muwd2NOLWJK7hj
4OVJemrSEofCLlNdxYgTyJcKwd7+XsPFo2N9vxk4ds4ay+RZLoGGtcPcPcvRSdbf
W2MPD5jeZAIIM2/WYh9mQMIYJmMygMMqVk+yLSMZnWF3hHhRjlJpmaZ/FYOKhfwv
BCFhu1Rtz21EeuUFu0kE
=DTex
-----END PGP SIGNATURE-----

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


Mime
View raw message