On 07/09/2010 10:23 AM, Mikolaj Rydzewski wrote:
Hi,

I was trying to create izpack.org installer for Tomcat and my
application. There was only one problem - how to install Tomcat as a
Windows service.
Startup.bat and shutdown.bat were working, but I need service to be
running.
Finally, after investigation, googling, etc, I have found a solution. At
least it works on several Windows boxes I have access to.
I had to copy msvcrt*.dll file from JRE distribution to Tomcat's bin
directory.


You can copy that to any directory that is in the system path.
Also you can add JRE's bin dir as part of install process to the system path
(preferred solution to copying msvcrt*.dll)
The only problem would be service install itself where you would have to
set the installer path to include JRE/bin before calling tomcatX.exe service 
installer.

I do not have much Windows experience. Can anybody clarify this to me:
tomcat distro lacks such file because of mistake, MS does not allow
apache to distribute it, my windows system is old/unpatched?


This is Sun fault, and that msvcrt*.dll is jvm.dll dependency.
Unfortunately Sun refuses to install that redistribute at the
proper location but just keeps it as part of JVM/JRE installation


Regards
--
^TM

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

Reply via email to