tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Vidal Ferrer <antonio.vi...@globalia-sistemas.com>
Subject Re: Tomcat setting as a service after installing the binaries
Date Mon, 11 Nov 2013 09:46:24 GMT
It seems that you are using 32bits binaries in a 64 bits platform. 
Download 64 bits versions of tomcat6.exe and tomcat6w.exe, and replace them.

For doing so, go here:

http://commons.apache.org/proper/commons-daemon/download_daemon.cgi

Select browse download area, then go to binaries, then select windows, 
and download file commons-daemon-1.0.15-bin-windows.zip

Inside that zip file, you'll find prunmgr.exe and amd64/prunsrv.exe, 
replace your tomcat6w.exe and tomcat6.exe respectively, and restart 
service, it should start without further problem.

Hope it works.

Best,

Toni.
On 11/11/13 10:18, Jojy George wrote:


> HI All,
>
> I am trying to set and run tomcat as a service after installing it as
> binary instead using the windows installer. But i am not able to start it
> after setting it as service, it is giving the below exception when i am
> trying to start the tomcat service.
>
> Do anybody has got any idea why this error is coming and anybody has got
> any resolution for the same.
>
>
>
>
> [2013-11-11 14:42:44] [info] Service Tomcat6 name Apache Tomcat 6.0 Tomcat6
> [2013-11-11 14:42:44] [info] Service Tomcat6 installed
> [2013-11-11 14:42:44] [info] Commons Daemon procrun finished.
> [2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started
> [2013-11-11 14:42:52] [info] Debugging Service...
> [2013-11-11 14:42:52] [info] Starting service...
> [2013-11-11 14:42:52] [206  javajni.c] [error] %1 is not a valid Win32
> application.
> [2013-11-11 14:42:52] [985  prunsrv.c] [error] Failed creating java
> C:\jdk1.7.0_15\jre\bin\server\jvm.dll
> [2013-11-11 14:42:52] [1280 prunsrv.c] [error] ServiceStart returned 1
> [2013-11-11 14:42:52] [info] Debug service finished.
> [2013-11-11 14:42:52] [info] Commons Daemon procrun finished.
> [2013-11-11 14:43:05] [info] Commons Daemon procrun (1.0.2.0) started
> [2013-11-11 14:43:05] [info] Updating service...
> [2013-11-11 14:43:05] [info] Service Tomcat6 updated
> [2013-11-11 14:43:05] [info] Update service finished.
> [2013-11-11 14:43:05] [info] Commons Daemon procrun finished.
> [2013-11-11 14:43:12] [info] Commons Daemon procrun (1.0.2.0) started
> [2013-11-11 14:43:12] [info] Updating service...
> [2013-11-11 14:43:12] [info] Service Tomcat6 updated
> [2013-11-11 14:43:12] [info] Update service finished.
> [2013-11-11 14:43:12] [info] Commons Daemon procrun finished.
> [2013-11-11 14:43:20] [info] Commons Daemon procrun (1.0.2.0) started
> [2013-11-11 14:43:20] [info] Updating service...
> [2013-11-11 14:43:20] [info] Service Tomcat6 updated
> [2013-11-11 14:43:20] [info] Update service finished.
> [2013-11-11 14:43:20] [info] Commons Daemon procrun finished.
> [2013-11-11 14:43:29] [info] Commons Daemon procrun (1.0.2.0) started
> [2013-11-11 14:43:29] [info] Running Service...
> [2013-11-11 14:43:29] [info] Starting service...
> [2013-11-11 14:43:29] [206  javajni.c] [error] %1 is not a valid Win32
> application.
> [2013-11-11 14:43:29] [985  prunsrv.c] [error] Failed creating java
> C:\jdk1.7.0_15\jre\bin\server\jvm.dll
> [2013-11-11 14:43:29] [1280 prunsrv.c] [error] ServiceStart returned 1
> [2013-11-11 14:43:29] [info] Run service finished.
> [2013-11-11 14:43:29] [info] Commons Daemon procrun finished.
>
>
> Thanks
> Jojy
>
>


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


Mime
View raw message