I'm really getting tired of saying this ;-). ApacheConfig is for use with mod_jk 1.x. It doesn't work at all with Jk2. Forget about it and get on with your life :).
"Denise Mangano" <[EMAIL PROTECTED]> wrote in message 5D83C44941AFD4118B6F0002B302984F438575@EXCHANGE_SERVER">news:5D83C44941AFD4118B6F0002B302984F438575@EXCHANGE_SERVER... > Daryl, > Glad to see I'm not alone in the boat :) The error I get "seems" to be > because the ApacheConfig file isn't pointing to a legal location. But I do > not know how to change this... posting again in a second to respond to Milt > Epstein's comment on the situation... > > -----Original Message----- > From: Daryl Lee > To: Tomcat Users List > Sent: 12/14/2002 10:31 AM > Subject: Re: Almost there...Updated Apach-Tomcat with mod_jk > > Denise, we may be fellow-strugglers wading through the same swamp. I am > trying to configure mod_jk2, and am also getting a workers file not > found > (in my case it's workers2.properties). > > So far as I can tell, jk2.properties specifies the base directory for > the > Apache server in a 'serverRoot' property. When tomcat starts, it > reports > that it cannot find "${serverRoot}/conf/workers2.properties", when in > fact > it is there. I have another query into this same list asking about that > problem. > > On Sat, Dec 14, 2002 at 10:01:23AM -0500, Denise Mangano wrote: > > I also found this in my cataline.out log. > > INFO: Loading registry information > > Dec 13, 2002 4:29:37 PM org.apache.commons.modeler.Registry > getRegistry > > INFO: Creating new Registry instance > > Dec 13, 2002 4:29:38 PM org.apache.commons.modeler.Registry getServer > > INFO: Creating MBeanServer > > Dec 13, 2002 4:29:39 PM org.apache.coyote.http11.Http11Protocol init > > INFO: Initializing Coyote HTTP/1.1 on port 8080 > > mod_jk location: libexec/mod_jk.so > > Make sure it is installed corectly or set the config location > > Using <ApacheConfig modJk="PATH_TO_MOD_JK.SO_OR_DLL" /> > > Can't find workers.properties at > > /usr/local/jakarta-tomcat-4.1.17/conf/jk/workers.properties > > Please install it in the default location or set the config location > > Using <ApacheConfig workersConfig="FULL_PATH" /> > > Starting service Tomcat-Standalone > > Apache Tomcat/4.1.17 > > Dec 13, 2002 4:29:44 PM org.apache.coyote.http11.Http11Protocol start > > INFO: Starting Coyote HTTP/1.1 on port 8080 > > Dec 13, 2002 4:29:44 PM org.apache.jk.common.ChannelSocket init > > INFO: JK2: ajp13 listening on /0.0.0.0:8009 > > Dec 13, 2002 4:29:44 PM org.apache.jk.server.JkMain start > > INFO: Jk running ID=0 time=2/46 > > config=/usr/local/jakarta-tomcat-4.1.17/conf/jk2.properties > > > > It gives me an error that it can't find workers.properties, but it is > in > > fact there... > > > > Thanks, > > Denise > > > > -----Original Message----- > > From: Denise Mangano > > To: '[EMAIL PROTECTED]' > > Sent: 12/13/2002 10:36 PM > > Subject: Almost there...Updated Apach-Tomcat with mod_jk > > > > Here is an update. I managed to get passed the configure fail I was > > getting, and got through the build of mod_jk. I followed everything > to > > the T, and I am back to the almost the same boat that I was in > > yesterday. > > > > Before mod_jk setup I could access http://localhost:8080 as well as > > http://localhost. Both apache and Tomacat were working fine. > Yesterday > > > > after mod_jk install Tomcat stopped working. This time, after second > > try, I can still access both. However, even though I installed mod_jk > I > > > > need to input the :8080. > > > > I restarted apache, and found the following error: > > > > [Fri Dec 13 21:37:08 2002] [error] Error while opening the workers, jk > > > will not work > > [Fri Dec 13 21:37:12 2002] [error] (2)No such file or directory: Error > > > while opening the workers, jk will not work > > > > Which file is trying to access the workers.properties file that I > > created? I searched the server.xml, the httpd.conf, and the > mod_jk.conf > > > > files and could find nothing that called for it.... > > > > As you can see I cannot access the files without using the port :8080 > > attached to the end of localhost - if I try to it is still looking in > my > > > > Apache web directory... > > > > [Fri Dec 13 22:04:59 2002] [error] [client 216.164.30.185] File does > not > > > > exist: /var/www/html/examples/jsp/num/numguess.jsp > > > > Any thoughts? I can post my files, if anyone is willing to take a > look > > at it... > > > > Thanks. > > Denise > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > -- > Daryl Lee > Marietta, GA > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>