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

Reply via email to