You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by André Warnier <aw...@ice-sa.com> on 2009/02/10 14:37:49 UTC

Problem starting Tomcat Windows service

Hi.

A colleague recently downloaded the Tomcat 5.5.27 "service installer" 
from the official Tomcat site and tried to install it on a Windows XP 
workstation. But considering that this is a 64-bit XP system, the Tomcat 
service refused to start.
(The installed Java is a Sun java 1.6.0 64-bit JDK or JRE).

Being an assiduous reader of this forum, I of course knew why, and 
following the usually excellent advice given here, I told him to 
de-install the service version, and instead download and install the zip 
version, and consequently install it as a service using the service.bat 
script.
That part worked nicely.
However, when trying to start the service later on, something goes awry, 
and the service does not start.  The Windows Event logger is pretty 
useless, mentioning an error of type 0/0 or similar.
In the Tomcat logs directory however, I find the file 
jakarta_service.20090210, with the contents below.

Anyone have any idea what's wrong ?
(I have this suspicion that even with the zip version, I need to get the 
64-bit version of procrun somewhere else, yes ?)


[2009-02-10 12:29:00] [info] Procrun (2.0.4.0) started
[2009-02-10 12:29:00] [info] Running Service...
[2009-02-10 12:29:00] [info] Starting service...
[2009-02-10 12:29:01] [174  javajni.c] [error] %1 is not a valid Win32 
application.
[2009-02-10 12:29:01] [994  prunsrv.c] [error] Failed creating java 
C:\Program Files\Java\jdk1.6.0_12\jre\bin\server\jvm.dll
[2009-02-10 12:29:01] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-02-10 12:29:01] [info] Run service finished.
[2009-02-10 12:29:01] [info] Procrun finished.




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


Re: Problem starting Tomcat Windows service

Posted by Serge Fonville <se...@gmail.com>.
Hi,
Perhaps
http://www.nabble.com/Tomcat-5.5-and-x64-Windows-to8430335.html#a20310083 might
help.

Yo can download the x64 version of the service exe and use that instead.

Hope this helps

Regards,

Serge Fonville

On Tue, Feb 10, 2009 at 2:37 PM, André Warnier <aw...@ice-sa.com> wrote:

> Hi.
>
> A colleague recently downloaded the Tomcat 5.5.27 "service installer" from
> the official Tomcat site and tried to install it on a Windows XP
> workstation. But considering that this is a 64-bit XP system, the Tomcat
> service refused to start.
> (The installed Java is a Sun java 1.6.0 64-bit JDK or JRE).
>
> Being an assiduous reader of this forum, I of course knew why, and
> following the usually excellent advice given here, I told him to de-install
> the service version, and instead download and install the zip version, and
> consequently install it as a service using the service.bat script.
> That part worked nicely.
> However, when trying to start the service later on, something goes awry,
> and the service does not start.  The Windows Event logger is pretty useless,
> mentioning an error of type 0/0 or similar.
> In the Tomcat logs directory however, I find the file
> jakarta_service.20090210, with the contents below.
>
> Anyone have any idea what's wrong ?
> (I have this suspicion that even with the zip version, I need to get the
> 64-bit version of procrun somewhere else, yes ?)
>
>
> [2009-02-10 12:29:00] [info] Procrun (2.0.4.0) started
> [2009-02-10 12:29:00] [info] Running Service...
> [2009-02-10 12:29:00] [info] Starting service...
> [2009-02-10 12:29:01] [174  javajni.c] [error] %1 is not a valid Win32
> application.
> [2009-02-10 12:29:01] [994  prunsrv.c] [error] Failed creating java
> C:\Program Files\Java\jdk1.6.0_12\jre\bin\server\jvm.dll
> [2009-02-10 12:29:01] [1269 prunsrv.c] [error] ServiceStart returned 1
> [2009-02-10 12:29:01] [info] Run service finished.
> [2009-02-10 12:29:01] [info] Procrun finished.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Problem starting Tomcat Windows service

Posted by André Warnier <aw...@ice-sa.com>.
Caldarale, Charles R wrote:
>> From: André Warnier [mailto:aw@ice-sa.com]
>> Subject: Problem starting Tomcat Windows service
>>
>> (I have this suspicion that even with the zip version,
>> I need to get the 64-bit version of procrun somewhere
>> else, yes ?)
> 
> Correct:
> http://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/amd64/
> 
Thanks, both.
Got them.

"If you know how to ask the question, you probably already have 90% of 
the answer".
Someone posted that here earlier.

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


RE: Problem starting Tomcat Windows service

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com]
> Subject: Problem starting Tomcat Windows service
>
> (I have this suspicion that even with the zip version,
> I need to get the 64-bit version of procrun somewhere
> else, yes ?)

Correct:
http://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/amd64/

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org