Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread abmoham
Hi Tomcat Users, 

I am trying to configure Tomcat 6.0.20 on Windows Server 2003 x64 and find that 
the installed service abruptly stops during startup. The following errors are 
logged.

[2009-06-23 14:49:46] [info] Procrun (2.0.4.0) started
[2009-06-23 14:49:46] [info] Running Service...
[2009-06-23 14:49:46] [info] Starting service...
[2009-06-23 14:49:46] [174? javajni.c] [error] %1 is not a valid Win32 
application.
[2009-06-23 14:49:46] [994? prunsrv.c] [error] Failed creating java 
D:\Java\jdk1.6.0_14\jre\bin\server\jvm.dll
[2009-06-23 14:49:46] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-06-23 14:49:46] [info] Run service finished.
[2009-06-23 14:49:46] [info] Procrun finished.
[2009-06-23 15:07:48] [info] Procrun (2.0.5.0) started
[2009-06-23 15:07:48] [info] Running Service...
[2009-06-23 15:07:48] [info] Starting service...
[2009-06-23 15:07:49] [info] Service started in 1218 ms.

However, I am able to use the startup.bat script successfully. The version of 
Java is 6.0.14 for x64 Windows and JAVA_HOME is pointed to it (I assume that's 
why the script works). Has anyone found a fix for the Windows service issue?

Regards, 
Abdul.


RE: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread Caldarale, Charles R
 From: abmo...@aol.com [mailto:abmo...@aol.com]
 Subject: Issue with Tomcat 6 on Windows Server 2003 x64
 
 I am trying to configure Tomcat 6.0.20 on Windows Server 2003 x64 and
 find that the installed service abruptly stops during startup.

You need to use the 64-bit versions of tomcat6.exe and tomcat6w.exe; get them 
from here:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_20/res/procrun/amd64/

Just replace the ones that are in Tomcat's bin directory.

 - 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: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread Maciej Matecki
On Wed, Jun 24, 2009 at 4:45 PM, abmo...@aol.com wrote:
 Hi Tomcat Users,

 I am trying to configure Tomcat 6.0.20 on Windows Server 2003 x64 and find 
 that the installed service abruptly stops during startup. The following 
 errors are logged.

 [2009-06-23 14:49:46] [info] Procrun (2.0.4.0) started
 [2009-06-23 14:49:46] [info] Running Service...
 [2009-06-23 14:49:46] [info] Starting service...
 [2009-06-23 14:49:46] [174? javajni.c] [error] %1 is not a valid Win32 
 application.
 [2009-06-23 14:49:46] [994? prunsrv.c] [error] Failed creating java 
 D:\Java\jdk1.6.0_14\jre\bin\server\jvm.dll
 [2009-06-23 14:49:46] [1269 prunsrv.c] [error] ServiceStart returned 1
 [2009-06-23 14:49:46] [info] Run service finished.
 [2009-06-23 14:49:46] [info] Procrun finished.
 [2009-06-23 15:07:48] [info] Procrun (2.0.5.0) started
 [2009-06-23 15:07:48] [info] Running Service...
 [2009-06-23 15:07:48] [info] Starting service...
 [2009-06-23 15:07:49] [info] Service started in 1218 ms.

Hello,
I had the same issue sometime ago. I had to copy Program
Files\Java\jre1.6.0\bin\msvcr71.dll  file to Windows\system32
directory. Maybe it'll works for you?
Regards,

--
Maciej Matecki
skype: m.matecki || www: http://matecki.info/

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



Re: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread abmoham

Thanks, This fix works for me. Just a quick question though, Did I miss this in 
any of the documentation or FAQs? I'm sure if it's a binary issue it would have 
been noted somewhere so the 'community' has direct reference to the issue. Just 
my thoughts... or should I make an official request to have it posted?

-Original Message-
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Wed, Jun 24, 2009 10:58 am
Subject: RE: Issue with Tomcat 6 on Windows Server 2003 x64



 From: abmo...@aol.com [mailto:abmo...@aol.com]
 Subject: Issue with Tomcat 6 on Windows Server 2003 x64
 
 I am trying to configure Tomcat 6.0.20 on Windows Server 2003 x64 and
 find that the installed service abruptly stops during startup.

You need to use the 64-bit versions of tomcat6.exe and tomcat6w.exe; get them 
from here:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_20/res/procrun/amd64/

Just replace the ones that are in Tomcat's bin directory.

 - 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: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread Caldarale, Charles R
 From: Maciej Matecki [mailto:mmate...@gmail.com]
 Subject: Re: Issue with Tomcat 6 on Windows Server 2003 x64
 
 I had the same issue sometime ago. I had to copy Program
 Files\Java\jre1.6.0\bin\msvcr71.dll  file to Windows\system32
 directory.

Do NOT do that on a 64-bit version of Windows.  That's a 32-bit library and 
cannot be used with a 64-bit launcher and JVM.

 - 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.




Re: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread Maciej Matecki
On Wed, Jun 24, 2009 at 5:28 PM, Caldarale, Charles
Rchuck.caldar...@unisys.com wrote:
 From: Maciej Matecki [mailto:mmate...@gmail.com]
 Subject: Re: Issue with Tomcat 6 on Windows Server 2003 x64

 I had the same issue sometime ago. I had to copy Program
 Files\Java\jre1.6.0\bin\msvcr71.dll  file to Windows\system32
 directory.

 Do NOT do that on a 64-bit version of Windows.  That's a 32-bit library and 
 cannot be used with a 64-bit launcher and JVM.

  - Chuck


I did it on 32-bit OS. I didn't know that it's wrong for 64-bit. So
Abdul maybe you'll check that another solution from Charles?
Regards,

--
Maciej Matecki
skype: m.matecki || www: http://matecki.info/

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



RE: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread Caldarale, Charles R
 From: abmo...@aol.com [mailto:abmo...@aol.com]
 Subject: Re: Issue with Tomcat 6 on Windows Server 2003 x64
 
 Did I miss this in any of the documentation or FAQs?

Not sure if there's any references in the FAQ or doc; the mailing list archives 
do contain several inquiries about the issue.  I believe I remember one of the 
committers talking about having a 64-bit .exe installer at some point, so the 
issue may disappear soon.

I did notice that the 6.0 trunk did away with the 64-bit version of 
tomcat6w.exe; a bit of experimentation on my Vista 64 system shows that really 
only the 64-bit version of tomcat6.exe is needed - the tomcat6w.exe monitor 
program runs quite happily in 32-bit mode and can start/stop the 64-bit 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread George Sexton
Does this file:

D:\Java\jdk1.6.0_14\jre\bin\server\jvm.dll

exist?

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
 

 -Original Message-
 From: abmo...@aol.com [mailto:abmo...@aol.com]
 Sent: Wednesday, June 24, 2009 8:46 AM
 To: users@tomcat.apache.org
 Subject: Issue with Tomcat 6 on Windows Server 2003 x64
 
 Hi Tomcat Users,
 
 I am trying to configure Tomcat 6.0.20 on Windows Server 2003 x64 and
 find that the installed service abruptly stops during startup. The
 following errors are logged.
 
 [2009-06-23 14:49:46] [info] Procrun (2.0.4.0) started
 [2009-06-23 14:49:46] [info] Running Service...
 [2009-06-23 14:49:46] [info] Starting service...
 [2009-06-23 14:49:46] [174? javajni.c] [error] %1 is not a valid Win32
 application.
 [2009-06-23 14:49:46] [994? prunsrv.c] [error] Failed creating java
 D:\Java\jdk1.6.0_14\jre\bin\server\jvm.dll
 [2009-06-23 14:49:46] [1269 prunsrv.c] [error] ServiceStart returned 1
 [2009-06-23 14:49:46] [info] Run service finished.
 [2009-06-23 14:49:46] [info] Procrun finished.
 [2009-06-23 15:07:48] [info] Procrun (2.0.5.0) started
 [2009-06-23 15:07:48] [info] Running Service...
 [2009-06-23 15:07:48] [info] Starting service...
 [2009-06-23 15:07:49] [info] Service started in 1218 ms.
 
 However, I am able to use the startup.bat script successfully. The
 version of Java is 6.0.14 for x64 Windows and JAVA_HOME is pointed to
 it (I assume that's why the script works). Has anyone found a fix for
 the Windows service issue?
 
 Regards,
 Abdul.


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



Re: Issue with Tomcat 6 on Windows Server 2003 x64

2009-06-24 Thread abmoham
Ok then consider this thread closed for me.?Thanks again for the quick 
turnaround. 

Best Regards, 
Abdul.

-Original Message-
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Wed, Jun 24, 2009 11:44 am
Subject: RE: Issue with Tomcat 6 on Windows Server 2003 x64



 From: abmo...@aol.com [mailto:abmo...@aol.com]
 Subject: Re: Issue with Tomcat 6 on Windows Server 2003 x64
 
 Did I miss this in any of the documentation or FAQs?

Not sure if there's any references in the FAQ or doc; the mailing list archives 
do contain several inquiries about the issue.  I believe I remember one of the 
committers talking about having a 64-bit .exe installer at some point, so the 
issue may disappear soon.

I did notice that the 6.0 trunk did away with the 64-bit version of 
tomcat6w.exe; a bit of experimentation on my Vista 64 system shows that really 
only the 64-bit version of tomcat6.exe is needed - the tomcat6w.exe monitor 
program runs quite happily in 32-bit mode and can start/stop the 64-bit 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org