Hey folks,
Finally i found the one i wanted. Did a google recently and found this: If
you are looking for 64 bit amd exe for tomcat here is the solution.

Background

To install Tomcat in a 64bit architecture, download the ZIP installer from
the Apache web site and unzipped.

At this point
•       Tomcat can be started by using startup.bat or shutdown using 
shutdown.bat 
•       Tomcat can not be used as a Windows service since Tomcat6.exe and
Tomcat6w.exe are intended for 32bit hardware

Steps 

1)      Download from the Apache repository the corresponding version of
Tomcat6.exe and Tomcat6w.exe for your platform

If your platform is AMD64 (This will work with Intel processors based an
AMD64)
http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_16/res/procrun/amd64/

If your platform is Itanium, use
http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_16/res/procrun/ia64/

2)      Rename/save the existing Tomcat6.exe and Tomcat6w.exe from your
%CATALINA_HOME%\bin directory 

3)      Move the downloaded copies to %CATALINA_HOME%\bin

4)      From the command prompt, install Tomcat as a service, running the
following command

Service.bat install


5)      Before Tomcat is started, make sure you have allocated enough memory to
Tomcat

Double-click Tomcat6w.exe and set the memory sizes required

6)      Now you can start Tomcat as a service. You could use any of the 
following
methods:

•       From Start  Settings  Control Panel  Administrative Tools  Services
•       Use the General tab in the Apache Tomcat Properties window




Swapnil.Kale wrote:
> 
> Hi there, 
> Thanks a lot for this meaningful info.
> 
> I too have a similar requirement:
> running the Tomcat on 64 bit OS <Windows server 2003 / 64 bit Xeon 1.6GHz,
> 8G RAM>
> 
> I followed the commands below <given in your thread>.
> I installed the 64 bit JRE from Sun, Installed 32 bit tomcat.
> Edited all the necessary values in the registry for the node "Wow6432Node"
> 
> I copied the 64bit compiled exe from bugzilla <link given by you>. 
> 
> However i'm now getting a strange error when i try to run the exe from the
> command line or try to run the tomcat from the services.msc.  
> 
> <Snapshot>
> 
> C:\Tomcat55\bin>tomcat5.exe
> [2007-10-16 17:39:16] [402  prunsrv.c] [error]
> The system cannot find the file specified.
> [2007-10-16 17:39:16] [1246 prunsrv.c] [error]
> Load configuration failed
> 
> C:\Tomcat55\bin>prunsrv.exe
> [2007-10-16 17:41:40] [402  prunsrv.c] [error]
> The system cannot find the file specified.
> [2007-10-16 17:41:40] [1246 prunsrv.c] [error]
> Load configuration failed
> 
> C:\Tomcat55\bin>tomcat5.exe.64bit
> [2007-10-16 17:41:51] [402  prunsrv.c] [error]
> The system cannot find the file specified.
> [2007-10-16 17:41:51] [1246 prunsrv.c] [error]
> Load configuration failed
> 
> However the tomcat5w.exe <original> runs fine and the service window opens
> up. I tried running the server  from there, but no luck there/
> 
> I confirmed all the entries once again in the registry. 
> 
> Have you encountered similar problem? 
> 
> Please suggest input. I'm stuck now.....
> 
> Thanks in advance.
> 
> Swapnil
> 
> 
> 
> 
> 
> 
> Richard Mundell wrote:
>> 
>> Dear all,
>>  
>> While Tomcat will run happily on a 64-bit edition of Windows by running
>> it
>> directly through a 64-bit build of Java, the native Windows "Service"
>> support which is bundled with Tomcat 5.5.x is presently 32-bit only.
>> 
>> The reason to run Tomcat in a 64-bit environment is to run with large
>> memory
>> allocations (we have the requirement to run with around 4GB of heap
>> space).
>> At best you can squeeze about 1.5GB of heap allocation in a Windows
>> 32-bit
>> environment. To run larger than that you'll need a 64-bit CPU and OS.
>> 
>> There's a couple of outstanding 'bugzilla' tickets (35869 & 39327)
>> requesting this support but the Tomcat developers obviously haven't had a
>> chance to build it into the core package yet.
>> 
>> So, in the meantime, for anyone attempting to run Tomcat in 64-bit mode
>> in
>> Windows so save you the pain and extensive Googling to find a solution,
>> here's a (very) brief HOW-TO. (Note that I've got this working on Windows
>> 2003 Server Standard 64-bit edition on an Intel chipset - I'd imagine the
>> same instructions would work fine on AMD environments and XP 64-bit).
>> 
>> 1) Download and install the 64 bit edition of Java for Windows
>> 2) Download and install the 32 bit version of Tomcat 5.5.x for Windows
>> 3) Recompile 'procrun' (which is the binary
>> $CATALINA_ROOT/bin/Tomcat5.exe
>> in the Windows distribution) using the patch listed in Bugzilla ticket
>> 39327
>> (http://issues.apache.org/bugzilla/show_bug.cgi?id=39327) and replace
>> Tomcat5.exe with the newly compiled "prunsrv.exe".
>> 4) Add the registry keys to Windows which are listed at the end of this
>> email (don't forget to adjust them to use your server's paths for the JVM
>> and Tomcat).
>> 5) Using regedit, edit the HKLM\SOFTWARE\Apache Software
>> Foundation\Procrun
>> 2.0\Tomcat5\Parameters\Java\Options and adjust for memory settings
>> appropriate to your environment.
>> 6) Start (or restart) the Apache Tomcat service. Note that although you
>> can
>> stop/start the Tomcat service via the bundled Tomcat service helper, if
>> you
>> need to change its configuration you will need to manually edit the
>> registry
>> key mentioned in step 5.
>> 
>> Of course, the hardest part of this (for non-developers) is recompiling
>> procrun. I'd be very happy to mail you a copy of the compiled binary (for
>> Intel 64-bit Xeon and AMD 64-bit chipsets) that the contributor of the
>> patch
>> in ticket 39237 very kindly provided for me.
>> 
>> This is intended as a stop-gap while the Tomcat developers implement this
>> into the core Windows distribution.
>> 
>> Good luck!
>> 
>> Richard
>> ___________________________
>> Richard Mundell
>> The Roberts Group
>> Market Data Expertise that FITS.
>> www.trgrp.com
>> 
>> ----------------------------------------------------------------------------
>> ----------
>> 
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
>> 2.0\Tomcat5\Parameters\Java]
>> "Jvm"="C:\\jdk\\jre\\bin\\server\\jvm.dll"
>> "Classpath"="C:\\tomcat\\bin\\bootstrap.jar"
>> "Options"=hex(7):2d,00,44,00,63,00,61,00,74,00,61,00,6c,00,69,00,6e,00,61,00
>> ,\
>>  
>> 2e,00,68,00,6f,00,6d,00,65,00,3d,00,43,00,3a,00,5c,00,74,00,72,00,67,00,5c,\
>>  
>> 00,66,00,69,00,74,00,73,00,77,00,65,00,62,00,5c,00,74,00,6f,00,6d,00,63,00,\
>>  
>> 61,00,74,00,00,00,2d,00,44,00,6a,00,61,00,76,00,61,00,2e,00,65,00,6e,00,64,\
>>  
>> 00,6f,00,72,00,73,00,65,00,64,00,2e,00,64,00,69,00,72,00,73,00,3d,00,43,00,\
>>  
>> 3a,00,5c,00,74,00,72,00,67,00,5c,00,66,00,69,00,74,00,73,00,77,00,65,00,62,\
>>  
>> 00,5c,00,74,00,6f,00,6d,00,63,00,61,00,74,00,5c,00,63,00,6f,00,6d,00,6d,00,\
>>  
>> 6f,00,6e,00,5c,00,65,00,6e,00,64,00,6f,00,72,00,73,00,65,00,64,00,00,00,2d,\
>>  
>> 00,44,00,6a,00,61,00,76,00,61,00,2e,00,69,00,6f,00,2e,00,74,00,6d,00,70,00,\
>>  
>> 64,00,69,00,72,00,3d,00,43,00,3a,00,5c,00,74,00,72,00,67,00,5c,00,66,00,69,\
>>  
>> 00,74,00,73,00,77,00,65,00,62,00,5c,00,74,00,6f,00,6d,00,63,00,61,00,74,00,\
>>  
>> 5c,00,74,00,65,00,6d,00,70,00,00,00,2d,00,44,00,6a,00,61,00,76,00,61,00,2e,\
>>  
>> 00,75,00,74,00,69,00,6c,00,2e,00,6c,00,6f,00,67,00,67,00,69,00,6e,00,67,00,\
>>  
>> 2e,00,6d,00,61,00,6e,00,61,00,67,00,65,00,72,00,3d,00,6f,00,72,00,67,00,2e,\
>>  
>> 00,61,00,70,00,61,00,63,00,68,00,65,00,2e,00,6a,00,75,00,6c,00,69,00,2e,00,\
>>  
>> 43,00,6c,00,61,00,73,00,73,00,4c,00,6f,00,61,00,64,00,65,00,72,00,4c,00,6f,\
>>  
>> 00,67,00,4d,00,61,00,6e,00,61,00,67,00,65,00,72,00,00,00,2d,00,58,00,58,00,\
>>  
>> 3a,00,4d,00,61,00,78,00,50,00,65,00,72,00,6d,00,53,00,69,00,7a,00,65,00,3d,\
>>  
>> 00,32,00,35,00,36,00,6d,00,00,00,2d,00,58,00,58,00,3a,00,52,00,65,00,73,00,\
>>  
>> 65,00,72,00,76,00,65,00,64,00,43,00,6f,00,64,00,65,00,43,00,61,00,63,00,68,\
>>  
>> 00,65,00,53,00,69,00,7a,00,65,00,3d,00,31,00,32,00,38,00,6d,00,00,00,2d,00,\
>>   58,00,6d,00,78,00,33,00,30,00,37,00,32,00,6d,00,00,00,00,00
>> "JvmMs"=dword:00000000
>> "JvmMx"=dword:00000000
>> "JvmSs"=dword:00000000
>> 
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
>> 2.0\Tomcat5\Parameters\Log]
>> "Path"="C:\\tomcat\\logs"
>> "StdError"="auto"
>> "StdOutput"="auto"
>> "Level"="Error"
>> 
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
>> 2.0\Tomcat5\Parameters\Start]
>> "Class"="org.apache.catalina.startup.Bootstrap"
>> "Params"=hex(7):73,00,74,00,61,00,72,00,74,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,74,00,6f,00,70,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:\\tomcat"
>> "Version"="5.5.9"
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 


-----
Swapnil Kale  Think before you print
________________________________________
:working:
-- 
View this message in context: 
http://www.nabble.com/Mini-HOW-TO%3A-Tomcat-as-a-service-on-Windows-Server-2003-64-bit-edition-tp4716292p16896616.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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