Srinivasan Rangaswamy wrote:
On Fri, Mar 7, 2008 at 11:53 AM, Steve Ochani <[EMAIL PROTECTED]> wrote:
On 7 Mar 2008 at 13:54, David Kramer wrote:


 > Caldarale, Charles R wrote:
 > >> From: Mark Thomas [mailto:[EMAIL PROTECTED]
 > >> Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon
 > >>
 > >> The 64bit binaries are here:
 > >>
 > https://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin
 > /
 > >>
 > >> I think you want the ia64 ones.
 > >
 > > No, you definitely do not want the IA64 ones - that's a
 > completely
 > > different, dead-end architecture.
 > >
 > > Intel included the AMD64 extensions in current Xeon processors, at
 > the
 > > time calling it em64t.  It's now referred to as just Intel 64,
 > which
 > > makes it very easy to confuse with IA64 (thank you, Intel).
 > Many
 > > downloads still refer to the architecture as AMD64, giving credit
 > to the
 > > company that invented it.  Many Linux downloads use x86-64 to
 > > differentiate it from IA64; sun refers to it as x64 rather than
 > either
 > > AMD64 or x86-64.
 >
 > Excellent info.  Thank you.  However, I'm still stuck.  I downloaded
 > the
 > amd64 executables, but when I run them from a DOS window, I get:
 >
 > [2008-03-07 13:25:28] [420  prunsrv.c] [error]
 > The system cannot find the file specified.
 > [2008-03-07 13:25:28] [1327 prunsrv.c] [error]
 > Load configuration failed
 >
 > When I try to start the service from the Services admin tool, I get
 > "Error 1053: Service did not respond to the start or control request
 > in
 > a timely fashion".  Who knew that Windows took off points for
 > tardiness?
 >
 > I did some Googling around that convinced me this is a registry
 > value
 > problem.  The only references to fixing this, though, are to Richard
 > Mundell's Mini-HOWTO for Windows 2003 from 2006.  I am hesitant to
 > start
 > plugging in registry values from a four-year-old version of Windows
 > into
 > my precious WinXPPro box.
 >
 > I also noticed that the registry keys mentioned in that HOWTO are
 > different than mine.
 >

 The other reason for this error could be that the Microsoft C runtime library 
is not installed.
 This has been mentioned on this list before, and here:

 http://blog.granilus.com/2007/12/tomcat-wont-boot-due-to-prunsrvc.html


 Microsoft C runtime library

 
http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-
 220b62a191ee&displaylang=en

although perhaps for this case we'd need the x64 lib:
http://www.microsoft.com/downloads/details.aspx?familyid=90548130-4468-4BBC-9673-D6ACABD5D13B&displaylang=en

David Kramer, please let me know if that solves your problem.  I'll
try this also and post results asap.


OK, I've got someone helping me with this now that's not afraid of regedit ;)

After installing the C runtime file, the service would at least try to start (ie the executable runs, which is excellent). However, we're still having problems with the registry entries. It looks like the hex stuff specified is supposed to define a registry value of multiple zero-terminated strings, but the service is trying to process each character as a separate option, which predictable (and undesirable) results.

Here's a part of the logfile created:
[2008-03-12 11:09:12] [1334 prunsrv.c] [debug] Procrun log initialized
[2008-03-12 11:09:12] [info] Procrun (2.0.3.0) started
[2008-03-12 11:09:12] [info] Running Service...
[2008-03-12 11:09:12] [1158 prunsrv.c] [debug] Inside ServiceMain...
[2008-03-12 11:09:12] [info] Starting service...
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[0] -
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[1] D
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[2] c
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[3] a
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[4] t
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[5] a
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[6] l
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[7] i
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[8] n
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[9] a
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[10] .
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[11] h
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[12] o
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[13] m
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[14] e
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[15] =
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[16] C
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[17] :
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[18] \
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[19] P
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[20] r
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[21] o
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[22] g
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[23] r
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[24] a
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[25] m
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[26]
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[27] F
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[28] i

..... etc

[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[74] .
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[75] 5
[2008-03-12 11:09:12] [385 javajni.c] [debug] Jvm Option[76] -Djava.class.path=C:\Program Files (x86)\Apache Software Foundation\Tomcat 5.5\bin\bootstrap.jar
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[77] vfprintf
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[78] -Xms1024m
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[79] -Xmx1024m
[2008-03-12 11:09:12] [385  javajni.c] [debug] Jvm Option[80] -Xss1024k
[2008-03-12 11:09:12] [395  javajni.c] [error] CreateJavaVM Failed
[2008-03-12 11:09:12] [992 prunsrv.c] [error] Failed initializing java C:\Program Files (x86)\Apache Software Foundation\Tomcat 5.5\bin\bootstrap.jar
[2008-03-12 11:09:12] [1260 prunsrv.c] [error] ServiceStart returned 2
[2008-03-12 11:09:12] [info] Run service finished.
[2008-03-12 11:09:12] [info] Procrun finished.

We also found the "vfprintf" line very curious, since that's not part of the registry. We have no idea where that came from

How can we fix this?  We're definitely a lot closer now, but not there yet.

Thanks.

================
Here is the registry import file we've created based on the one from the HOWTO. Sorry if this makes the email very long, but it's vital information.

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters\Java]
"Jvm"="C:\\MindServer\\program\\jdk\\jre\\bin\\server\\jvm.dll"
"Classpath"="C:\\Program Files (x86)\\Apache Software Foundation\\Tomcat 5.5\\bin\\bootstrap.jar"
"Options"=hex(7):2d,00,00,00,44,00,00,00,63,00,00,00,61,00,00,00,74,00,00,00,\

61,00,00,00,6c,00,00,00,69,00,00,00,6e,00,00,00,61,00,00,00,2e,00,00,00,68,\

00,00,00,6f,00,00,00,6d,00,00,00,65,00,00,00,3d,00,00,00,43,00,00,00,3a,00,\

00,00,5c,00,00,00,50,00,00,00,72,00,00,00,6f,00,00,00,67,00,00,00,72,00,00,\

00,61,00,00,00,6d,00,00,00,20,00,00,00,46,00,00,00,69,00,00,00,6c,00,00,00,\

65,00,00,00,73,00,00,00,20,00,00,00,28,00,00,00,78,00,00,00,38,00,00,00,36,\

00,00,00,29,00,00,00,5c,00,00,00,41,00,00,00,70,00,00,00,61,00,00,00,63,00,\

00,00,68,00,00,00,65,00,00,00,20,00,00,00,53,00,00,00,6f,00,00,00,66,00,00,\

00,74,00,00,00,77,00,00,00,61,00,00,00,72,00,00,00,65,00,00,00,20,00,00,00,\

46,00,00,00,6f,00,00,00,75,00,00,00,6e,00,00,00,64,00,00,00,61,00,00,00,74,\

00,00,00,69,00,00,00,6f,00,00,00,6e,00,00,00,5c,00,00,00,54,00,00,00,6f,00,\

00,00,6d,00,00,00,63,00,00,00,61,00,00,00,74,00,00,00,20,00,00,00,35,00,00,\

00,2e,00,00,00,35,00,00,00,00,00,00,00,2d,00,00,00,44,00,00,00,6a,00,00,00,\

61,00,00,00,76,00,00,00,61,00,00,00,2e,00,00,00,65,00,00,00,6e,00,00,00,64,\

00,00,00,6f,00,00,00,72,00,00,00,73,00,00,00,65,00,00,00,64,00,00,00,2e,00,\

00,00,64,00,00,00,69,00,00,00,72,00,00,00,73,00,00,00,3d,00,00,00,43,00,00,\

00,3a,00,00,00,5c,00,00,00,50,00,00,00,72,00,00,00,6f,00,00,00,67,00,00,00,\

72,00,00,00,61,00,00,00,6d,00,00,00,20,00,00,00,46,00,00,00,69,00,00,00,6c,\

00,00,00,65,00,00,00,73,00,00,00,20,00,00,00,28,00,00,00,78,00,00,00,38,00,\

00,00,36,00,00,00,29,00,00,00,5c,00,00,00,41,00,00,00,70,00,00,00,61,00,00,\

00,63,00,00,00,68,00,00,00,65,00,00,00,20,00,00,00,53,00,00,00,6f,00,00,00,\

66,00,00,00,74,00,00,00,77,00,00,00,61,00,00,00,72,00,00,00,65,00,00,00,20,\

00,00,00,46,00,00,00,6f,00,00,00,75,00,00,00,6e,00,00,00,64,00,00,00,61,00,\

00,00,74,00,00,00,69,00,00,00,6f,00,00,00,6e,00,00,00,5c,00,00,00,54,00,00,\

00,6f,00,00,00,6d,00,00,00,63,00,00,00,61,00,00,00,74,00,00,00,20,00,00,00,\

35,00,00,00,2e,00,00,00,35,00,00,00,5c,00,00,00,63,00,00,00,6f,00,00,00,6d,\

00,00,00,6d,00,00,00,6f,00,00,00,6e,00,00,00,5c,00,00,00,65,00,00,00,6e,00,\

00,00,64,00,00,00,6f,00,00,00,72,00,00,00,73,00,00,00,65,00,00,00,64,00,00,\

00,00,00,00,00,2d,00,00,00,44,00,00,00,6a,00,00,00,61,00,00,00,76,00,00,00,\

61,00,00,00,2e,00,00,00,69,00,00,00,6f,00,00,00,2e,00,00,00,74,00,00,00,6d,\

00,00,00,70,00,00,00,64,00,00,00,69,00,00,00,72,00,00,00,3d,00,00,00,43,00,\

00,00,3a,00,00,00,5c,00,00,00,50,00,00,00,72,00,00,00,6f,00,00,00,67,00,00,\

00,72,00,00,00,61,00,00,00,6d,00,00,00,20,00,00,00,46,00,00,00,69,00,00,00,\

6c,00,00,00,65,00,00,00,73,00,00,00,20,00,00,00,28,00,00,00,78,00,00,00,38,\

00,00,00,36,00,00,00,29,00,00,00,5c,00,00,00,41,00,00,00,70,00,00,00,61,00,\

00,00,63,00,00,00,68,00,00,00,65,00,00,00,20,00,00,00,53,00,00,00,6f,00,00,\

00,66,00,00,00,74,00,00,00,77,00,00,00,61,00,00,00,72,00,00,00,65,00,00,00,\

20,00,00,00,46,00,00,00,6f,00,00,00,75,00,00,00,6e,00,00,00,64,00,00,00,61,\

00,00,00,74,00,00,00,69,00,00,00,6f,00,00,00,6e,00,00,00,5c,00,00,00,54,00,\

00,00,6f,00,00,00,6d,00,00,00,63,00,00,00,61,00,00,00,74,00,00,00,20,00,00,\

00,35,00,00,00,2e,00,00,00,35,00,00,00,5c,00,00,00,74,00,00,00,65,00,00,00,\

6d,00,00,00,70,00,00,00,00,00,00,00,2d,00,00,00,44,00,00,00,6a,00,00,00,61,\

00,00,00,76,00,00,00,61,00,00,00,2e,00,00,00,75,00,00,00,74,00,00,00,69,00,\

00,00,6c,00,00,00,2e,00,00,00,6c,00,00,00,6f,00,00,00,67,00,00,00,67,00,00,\

00,69,00,00,00,6e,00,00,00,67,00,00,00,2e,00,00,00,6d,00,00,00,61,00,00,00,\

6e,00,00,00,61,00,00,00,67,00,00,00,65,00,00,00,72,00,00,00,3d,00,00,00,6f,\

00,00,00,72,00,00,00,67,00,00,00,2e,00,00,00,61,00,00,00,70,00,00,00,61,00,\

00,00,63,00,00,00,68,00,00,00,65,00,00,00,2e,00,00,00,6a,00,00,00,75,00,00,\

00,6c,00,00,00,69,00,00,00,2e,00,00,00,43,00,00,00,6c,00,00,00,61,00,00,00,\

73,00,00,00,73,00,00,00,4c,00,00,00,6f,00,00,00,61,00,00,00,64,00,00,00,65,\

00,00,00,72,00,00,00,4c,00,00,00,6f,00,00,00,67,00,00,00,4d,00,00,00,61,00,\

00,00,6e,00,00,00,61,00,00,00,67,00,00,00,65,00,00,00,72,00,00,00,00,00,00,\

00,2d,00,00,00,58,00,00,00,58,00,00,00,3a,00,00,00,4d,00,00,00,61,00,00,00,\

78,00,00,00,50,00,00,00,65,00,00,00,72,00,00,00,6d,00,00,00,53,00,00,00,69,\

00,00,00,7a,00,00,00,65,00,00,00,3d,00,00,00,32,00,00,00,35,00,00,00,36,00,\

00,00,6d,00,00,00,00,00,00,00,2d,00,00,00,58,00,00,00,58,00,00,00,3a,00,00,\

00,52,00,00,00,65,00,00,00,73,00,00,00,65,00,00,00,72,00,00,00,76,00,00,00,\

65,00,00,00,64,00,00,00,43,00,00,00,6f,00,00,00,64,00,00,00,65,00,00,00,43,\

00,00,00,61,00,00,00,63,00,00,00,68,00,00,00,65,00,00,00,53,00,00,00,69,00,\

00,00,7a,00,00,00,65,00,00,00,3d,00,00,00,31,00,00,00,32,00,00,00,38,00,00,\

00,6d,00,00,00,00,00,00,00,2d,00,00,00,58,00,00,00,6d,00,00,00,78,00,00,00,\
  33,00,00,00,30,00,00,00,37,00,00,00,32,00,00,00,6d,00,00,00,00,00,00,00
"JvmMs"=dword:00000400
"JvmMx"=dword:00000400
"JvmSs"=dword:00000400

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters\Log] "Path"="C:\\Program Files (x86)\\Apache Software Foundation\\Tomcat 5.5\\logs"
"StdError"="auto"
"StdOutput"="auto"
"Level"="Debug"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters\Start]
"Class"="org.apache.catalina.startup.Bootstrap"
"Params"=hex(7):73,00,00,00,74,00,00,00,61,00,00,00,72,00,00,00,74,00,00,00,00,\
  00,00,00,00,00,00,00
"Mode"="jvm"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters\Stop]
"Class"="org.apache.catalina.startup.Bootstrap"
"Params"=hex(7):73,00,00,00,74,00,00,00,6f,00,00,00,70,00,00,00,00,00,00,00,00,\
  00,00,00
"Mode"="jvm"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\5.5]
"InstallPath"="C:\\Program Files (x86)\\Apache Software Foundation\\Tomcat 5.5"
"Version"="5.5.15"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to