Well put. Moreover, the jk_nt_service does not require knowledge of the
Apache directory.
Randy Layman wrote:
> I would suggest that you investigate why this is before you call it
>a "secret trap" and "stupid". There are lots of little gottchas like this
>in Tomcat (and Windows in general). They are generally there because the
>people at Microsoft couldn't be bothered to make all things work all the
>time.
>
> Randy
>
>PS This problem is related to the reason that on NT and 9x you system
>directory has hundreds, if not thousands, of dlls.
>
>-----Original Message-----
>From: Bruce A. Carson [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 10, 2001 12:44 AM
>To: [EMAIL PROTECTED]
>Subject: RE: Tomcat as NT service.. problem.
>
>
>Ah, you probably fell for the "secret" trap laid for you by the
>programmers... The stupid Tomcat jk_nt_service can't handle directories
>with a space in them and the default install for Apache puts Apache in a
>directory with not one, but two spaces !!
>
>I will send you my install directions in a private e-mail. If anyone else
>is interested, drop me an e-mail.
>
>Bruce
>-----Original Message-----
>From: Gregory Guthrie [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 10, 2001 12:37 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat as NT service.. problem.
>
>
>I tried to setup Tomcat to start as an NT service (Win2k-Pro), as per:
> Working with the Jakarta NT Service
> http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
>
>And it seems OK:
> E:\Net\Apache\Tools>jk_nt_service -i Tomcat
>e:\Net\Apache\Tomcat\conf\wrapper.properties
> Asked (and given) winsock 1.1
> The service named Tomcat was created. Now adding registry entries
> Registry values were added
> If you have already updated wrapper.properties you may start the Tomcat
>service
> by executing "net start Tomcat" from the command prompt
>
>But I get:
> E:\Net\Apache\Tools>net start Tomcat
> The Tomcat service is starting.
> The Tomcat service could not be started.
> The service did not report an error.
> More help is available by typing NET HELPMSG 3534.
>
>Apache runs fine as a service. :-)
>Tomcat runs fine by a DOS startup.
>And they run fine together via mod_jk.dll.
>
>I did edit the wrappers.properties file to point to JDK and Tomcat; seems
>simple enough.
>
>Any help appreciated; I don't know where to look for hints, there are no log
>files or errors generated.
>
>
>--------------------------------------------------------
>Gregory Guthrie
>[EMAIL PROTECTED] (641)472-1125 Fax: -1103
>--------------------------------------------------------
>