On Mon, 2004-02-09 at 17:37, David Rees wrote:
> On Mon, February 9, 2004 at 4:41 pm, Charles Daniel wrote:
> >
> > Give up trying to use Apache2 with mod_jk. After spending days on the
> > message boards trying to solve this one, I was ultimately told by the
> > so-called "experts" that "I had a network configuration problem and that
> > some process was likely to be either already using or blocking port 8009".
>
> Hmm, I've had no problems at all using mod_jk with Apache2 on both various
> Linux and SGI Irix machines. I must be a so-called "expert". ;-)
>
> -Dave
if you've got a minute, take a look @ the configs I posted http://nicholasbernstein.com/tomcat/
Are you using workers2.properties with mod_jk and not mod_jk2 ??
JkWorkersFile /etc/httpd/conf/workers2.properties change to workers.properties
JkLogFile /var/log/httpd/mod_jk.log
In your...
workers.properties:
workers.tomcat_home=/u/internet/tomcat/
workers.java_home=/usr/java/
ps=/
worker.list=ajp13
*******
worker.ajp12.lbfactor=1
13 NOT 12
*******
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.loadbalancer.type=lb
wporker.loadbalancer.balanced_workers= ajp13
worker.inprocess.type
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderrAlso I have had to define a lvmroute in my server.xml that is the same name as the named worker in your case ajp13
-Dave
and let me know if you see anything wrong with the setup. I'd rather stick to apache2; i'm using redhat ES and it looks like they've made a lot of RH specific patches to httpd source, so it probably performs a lot better that compiling 1.x from source.
> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- +---------------------------------------------------------------+ | Nicholas Bernstein | [EMAIL PROTECTED] | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems Inc. | | | gpg: F706 8C4E 78FA DDDD 53A0 019F D983 FE28 2002 D1F3 | +---------------------------------------------------------------+
