Hi John

Thanks for your prompt reply. In fact your second point was the problem in my case. The other developer who installed tomcat set the AJP13 port to 6009. So it was trying to communicate to wrong port (8009). In fact this sentence in the AJP connector documentation (URL: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html) prompted me to check server.xml file carefully.

Make sure the Tomcat AJP connector is properly declared in the Catalina configuration file

Thanks again
Narayan

At 07:43 PM 11/8/2002 -0500, Turner, John wrote:
JK cannot open a socket to Tomcat would be my guess.  Things to check:

- what connector is enabled in server.xml, and do you have either
AjpConnector or CoyoteConnector enabled on port 8009

- is your hostname resolvable by DNS or a hosts file

- is your Host element in server.xml configured to the same value as "host"
in workers.properties.

I would also suggest taking everything out of workers.properties besides:

# BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=your_host
worker.ajp13.type=ajp13
# END workers.properties

All of that load-balancing stuff and macro setup is not needed for a simple
connection...there's no need to have that in there unless you are actually
using it, and it will make things easier to debug.

John

Reply via email to