Hi-I just got hold of Tomcat 3.2.1 and am trying to set it up as a service. I got the jk-nt-service thing and looked at the instructions-ie i set the wrapper.properties properly to point to the JDK home and tomcat home directories.
the registry entries get added-but it reports an error as
StartServiceCtrlDispatcher failed.
Tomcat works perfectly when run from the command prompt.
 
Another problem is-configuring it to run with Apache. I have tried both mod_jk and the usual jserv, but somehow-I cant seem to map any contexts. I want all JSP pages under Apache to be mapped to Tomcat.
If I call: http://localhost/abc.jsp  where the JSP is in my apache's docroot, i get a 404.
If i use the /examples context-with the JSP page in tomcats web-inf/examples folder-it works fine.
In theory-you are supposed to edit server.xml and add contexts there.
thats what i did.
Im pretty confused about this-so can anyone show me a sample config with a root context setup?
I want to see the entries in httpd.conf and any other files.I found the example configs that were given pretty confusing.
Oh, and this is Apache 1.3.14 for Win NT, not unix.
 
Please dont say 'RTFM' cos i really did R the FM-and ended up madly frustrated.
I've followed instructions to the letter-with no success
 

Reply via email to