You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Tiffany.Dinh@inovis.com" <Ti...@inovis.com> on 2009/11/02 23:05:14 UTC

RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of JRE_HOME to the path of my 64bit JRE 6.0. However the 64 bit Service can't start and logs below.


[2009-11-02 10:31:40] [info] Procrun (2.0.3.0) started
[2009-11-02 10:31:40] [info] Running Service...
[2009-11-02 10:31:40] [info] Starting service...
[2009-11-02 10:31:40] [986  prunsrv.c] [error] Failed creating java
[2009-11-02 10:31:40] [1260 prunsrv.c] [error] ServiceStart returned 1
[2009-11-02 10:31:40] [info] Run service finished.
[2009-11-02 10:31:40] [info] Procrun finished.


Tiffany

Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Posted by Josh Gooding <jo...@gmail.com>.
Really?  I've never got it to work except through a batch starting.  It
really could be a plethora of things.  (I'd rather have it as that anyways
:P)

Not a big deal to me, I did get it working :)

On Mon, Nov 2, 2009 at 8:20 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Josh Gooding [mailto:josh.gooding@gmail.com]
> > Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T
> > start
> >
> > EDIT:  Don't install tomcat as a service.  I've always had trouble
> > running the 64 bit service.
>
> Really?  Once the modes of tomcat6.exe and the designated JVM match, there
> shouldn't be any problem.  Works fine on my 64-bit systems as a service.
>
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Josh Gooding [mailto:josh.gooding@gmail.com]
> Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T
> start
> 
> EDIT:  Don't install tomcat as a service.  I've always had trouble
> running the 64 bit service.

Really?  Once the modes of tomcat6.exe and the designated JVM match, there shouldn't be any problem.  Works fine on my 64-bit systems as a service.

 - 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


Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Posted by Josh Gooding <jo...@gmail.com>.
EDIT:  Don't install tomcat as a service.  I've always had trouble running
the 64 bit service.

On Mon, Nov 2, 2009 at 5:19 PM, Josh Gooding <jo...@gmail.com> wrote:

> Did you copy over the 64 bit tomcat files to the tomcat directory?  Not the
> 64 bit java files.
>
>
> On Mon, Nov 2, 2009 at 5:05 PM, Tiffany.Dinh@inovis.com <
> Tiffany.Dinh@inovis.com> wrote:
>
>> I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat
>> service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of
>> JRE_HOME to the path of my 64bit JRE 6.0. However the 64 bit Service can't
>> start and logs below.
>>
>>
>> [2009-11-02 10:31:40] [info] Procrun (2.0.3.0) started
>> [2009-11-02 10:31:40] [info] Running Service...
>> [2009-11-02 10:31:40] [info] Starting service...
>> [2009-11-02 10:31:40] [986  prunsrv.c] [error] Failed creating java
>> [2009-11-02 10:31:40] [1260 prunsrv.c] [error] ServiceStart returned 1
>> [2009-11-02 10:31:40] [info] Run service finished.
>> [2009-11-02 10:31:40] [info] Procrun finished.
>>
>>
>> Tiffany
>>
>
>

RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Posted by "Tiffany.Dinh@inovis.com" <Ti...@inovis.com>.
Yes, I did.


-----Original Message-----
From: Josh Gooding [mailto:josh.gooding@gmail.com] 
Sent: Monday, November 02, 2009 2:20 PM
To: Tomcat Users List
Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Did you copy over the 64 bit tomcat files to the tomcat directory?  Not the
64 bit java files.

On Mon, Nov 2, 2009 at 5:05 PM, Tiffany.Dinh@inovis.com <
Tiffany.Dinh@inovis.com> wrote:

> I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat
> service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of
> JRE_HOME to the path of my 64bit JRE 6.0. However the 64 bit Service can't
> start and logs below.
>
>
> [2009-11-02 10:31:40] [info] Procrun (2.0.3.0) started
> [2009-11-02 10:31:40] [info] Running Service...
> [2009-11-02 10:31:40] [info] Starting service...
> [2009-11-02 10:31:40] [986  prunsrv.c] [error] Failed creating java
> [2009-11-02 10:31:40] [1260 prunsrv.c] [error] ServiceStart returned 1
> [2009-11-02 10:31:40] [info] Run service finished.
> [2009-11-02 10:31:40] [info] Procrun finished.
>
>
> Tiffany
>

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


Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Posted by Josh Gooding <jo...@gmail.com>.
Did you copy over the 64 bit tomcat files to the tomcat directory?  Not the
64 bit java files.

On Mon, Nov 2, 2009 at 5:05 PM, Tiffany.Dinh@inovis.com <
Tiffany.Dinh@inovis.com> wrote:

> I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat
> service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of
> JRE_HOME to the path of my 64bit JRE 6.0. However the 64 bit Service can't
> start and logs below.
>
>
> [2009-11-02 10:31:40] [info] Procrun (2.0.3.0) started
> [2009-11-02 10:31:40] [info] Running Service...
> [2009-11-02 10:31:40] [info] Starting service...
> [2009-11-02 10:31:40] [986  prunsrv.c] [error] Failed creating java
> [2009-11-02 10:31:40] [1260 prunsrv.c] [error] ServiceStart returned 1
> [2009-11-02 10:31:40] [info] Run service finished.
> [2009-11-02 10:31:40] [info] Procrun finished.
>
>
> Tiffany
>

RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Posted by "Tiffany.Dinh@inovis.com" <Ti...@inovis.com>.
Excellent! It works. Thanks Andre!



-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com] 
Sent: Monday, November 02, 2009 2:38 PM
To: Tomcat Users List
Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Tiffany.Dinh@inovis.com wrote:
> I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit tomcat6w.exe).

  I set variable name of JRE_HOME to the path of my 64bit JRE 6.0.

Where did you set that variable ?

When running Tomcat as a service under Windows, using the tomcat6.exe 
wrapper, the environment parameters, path to JVM etc.. have to be set 
using the tomcat6w.exe program.  This is a GUI (graphical) program, 
which you start on the console just by double-clicking on it.

A bit of explanation, which is available somewhere else in the docs but 
I don't remember where :
Tomcat is a Java program.
It is run by a JVM.
The JVM is thus the real program which runs under Windows.
But the JVM, by itself, does not react very well like a Windows Service 
is expected to.
So someone invented a "wrapper program", which gets installed and acts 
as the Windows Service; and this program runs the JVM.
That wrapper program is tomcat6.exe.
This wrapper program looks for some of its parameters, in the Windows 
Registry.
The tomcat6w.exe program is a GUI programs that helps setting these 
Registry parameters in the right place.

So start tomcat6w.exe, and navigate through the tabs, to see where it 
thinks it should find the JVM.  Your problem is probably there.




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


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


Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

Posted by André Warnier <aw...@ice-sa.com>.
Tiffany.Dinh@inovis.com wrote:
> I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit tomcat6w.exe).

  I set variable name of JRE_HOME to the path of my 64bit JRE 6.0.

Where did you set that variable ?

When running Tomcat as a service under Windows, using the tomcat6.exe 
wrapper, the environment parameters, path to JVM etc.. have to be set 
using the tomcat6w.exe program.  This is a GUI (graphical) program, 
which you start on the console just by double-clicking on it.

A bit of explanation, which is available somewhere else in the docs but 
I don't remember where :
Tomcat is a Java program.
It is run by a JVM.
The JVM is thus the real program which runs under Windows.
But the JVM, by itself, does not react very well like a Windows Service 
is expected to.
So someone invented a "wrapper program", which gets installed and acts 
as the Windows Service; and this program runs the JVM.
That wrapper program is tomcat6.exe.
This wrapper program looks for some of its parameters, in the Windows 
Registry.
The tomcat6w.exe program is a GUI programs that helps setting these 
Registry parameters in the right place.

So start tomcat6w.exe, and navigate through the tabs, to see where it 
thinks it should find the JVM.  Your problem is probably there.




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