> Looks like there is a mismatch between the workers.properties and the
> server.xml (Tomcat's config file). The server.xml sets up Tomcat. More
> importantly, it sets up a Connector which opens a socket
> connection on a
> defined port (Look for the Connector' section in the Service
> section of
> the server.xml). This port is what mod_jk needs to know about in the
> workers.properties. Some snippets from my config:
...
> Check out both of these files and make sure the config is setup
> cporrectly. It looks like either the Connector is not
> configured or the
> workers.properties does not have the right info for the
> workers spawned
> by Apache.
Unfortunately it's not nearly this simple :-( Per my original post, we have
~150 Tomcat instances running, all properly configured, and 1 instance of
Apache on the server. If I say, 'killall' the JVM's, and then start them
back up again, everything will work perfectly. After a day or two, some of
the sites will then lose their connectivity to Apache/JK. Simply restarting
the JVM will "fix" things for a further day or two (for the sites configured
to work with the JVM that I restart), thereby ruling-out a misconfiguration
(though not ruling-out a possible non-optimal-configuration).
Also, the same Apache 1.3.X and Tomcat 3.X and 4.X configurations worked
perfectly on Red Hat 7.3, it was not until RH 9 that this began occuring.
The behavior is consistent with Apache 1.3 and Apache 2 on RH 9. I've tried
re-compiling and all the usual tricks.
...
> Do you use multiple Apaches on the server?
Just one.
> Since I would be speculating wildly, why not post the
> workers.properties
> file as well as the Connector tags in the server.xml on the Tomcats.
Well, 150 workers in the workers.properties file would be a bit large for
starters ;-) So would 150 server.xml's... But regardless, I'm certain
they're all configured properly, it's just a matter of Tomcat's AJP 1.3
service and mod_jk losing touch after some period of time.
-Fred
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]