Jerry, Just to clarify, are you using the mod_jk.so or mod_jk2.so? Sincerely, Pantek Incorporated Justin L. Spies
URI: http://www.pantek.com Ph 440.519.1802 Fax 440.248.5274 Cell 440.336.3317 -----Original Message----- From: Jerry Ford [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 2:00 PM To: Tomcat Users List Subject: Re: mod_jk---still trying, getting closer I use the mod_jk binary obtained from John Turner's how-to page, and the httpd.conf and server.xml statements are the same as the statements in the configurations several other people here have provided as examples, I think. I have also tried to follow John Turner's suggested confuguration statements. I've tried just about every combination of configurations that have been suggested. It's possible that by now I have mixed up different people's advice, but I don't know what needs to be changed. I don't know why JK2 is in there, other than the coyote packages that are referenced in sever.xml. But if I don't use those, what do I use? I'm beginning to think mod_webapp.so is looking like my only hope of getting Tomcat and Apache to work together. Jerry Jerry Milt Epstein wrote: >On Wed, 25 Dec 2002, Jerry Ford wrote: > > > >>John: >> >>Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's >>working setup, but that didn't do any good so I changed it back and >>inadvertently put the dot in. But it doesn't matter, it doesn't work >>either way. >> >> > >One things I don't understand, it seems like you have JK2 running on >the Tomcat side, but you refer to workers.properties, which is a JK >file, JK2 doesn't use it, I don't believe. Could that be related to >the problem? > > > > >>As noted in earlier e-mails, I can get the Tomcat example servlets to >>work, as well as my own j_tools HelloWorld, when I specify port 8080, >>but not through Apache: >> >>http://localhost opens Apache's index page http://localhost:8080 opens >>Tomcat's index page, and servlets work >>http://localhost/examples/servlets opens the servlets index page, but >>servlets don't work >> >>Catalina.out in Tomcat's logs directory says mod_jk is running: >> >>Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init >>INFO: Initializing Coyote HTTP/1.1 on port 8080 >>Starting service Tomcat-Standalone >>Apache Tomcat/4.1.12-LE-jdk14 >>Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start >>INFO: Starting Coyote HTTP/1.1 on port 8080 >>Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init >>INFO: JK2: ajp13 listening on tcp port 8009 >>Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start >>INFO: Jk running ID=0 time=2/121 >>config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr >>operties >>Stopping service Tomcat-Standalone >>Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init >>INFO: Initializing Coyote HTTP/1.1 on port 8080 >>Starting service Tomcat-Standalone >>Apache Tomcat/4.1.12-LE-jdk14 >>Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start >>INFO: Starting Coyote HTTP/1.1 on port 8080 >>Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init >>INFO: JK2: ajp13 listening on tcp port 8009 >>Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start >>INFO: Jk running ID=0 time=1/277 >>config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr operties >> >>But the Apache error log says Apache cannot open the workers file, >>even though the path specified is correct and permissions to the file >>are >>-rw-rw-r-- and to all directories drwxrwxr-x: >> >>[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error >>while opening the workers, jk will not work >> >>[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error >>while opening the workers, jk will not work >> >>[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 >>configured -- resuming normal operations [Wed Dec 25 15:14:36 2002] >>[notice] Accept mutex: sysvsem (Default: sysvsem) >> >> >[ ... ] > >Milt Epstein >Research Programmer >Integration and Software Engineering (ISE) >Campus Information Technologies and Educational Services (CITES) >University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] > > >-- >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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>