Not that it answers your question, but if you are using
>And my VirtualHost setting has the "JkMount / p1" and JkMount /* p1 then y
Then you are much better off using mod_proxy
ProxyPass / http://w1:8080/
ProxyPassReserve / http://w1:8080/
ProxyPassPreserveHost On
less head aches, less time spent on the user list :)
Filip
Kim Albee wrote:
This server's Apache/Tomcat connector used to work just fine. Now it has
stopped working and I get this error... I haven't changed anything in the
config, but am wondering how I troubleshoot/debug this issue.
I continually get this error:
[jk_ajp_common.c (720)]: Error connecting to tomcat. Tomcat is probably not
started or is listening on the wrong host/port (192.168.0.101:8009). Failed
errno = 13
My server.xml file is configured as:
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Service name="Catalina">
<Connector port="8080"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />
<Connector port="8443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
<Connector port="8009"
enableLookups="false" redirectPort="8443" debug="4"
protocol="AJP/1.3" />
<Engine jvmRoute="p1" name="Catalina" defaultHost="localhost"
debug="4">
<Host name="localhost" debug="4" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
</Engine>
</Service>
</Server>
My workers.properties file has the following:
worker.p1.port=8009
worker.p1.host=w1
worker.p1.type=ajp13
worker.p1.info=Ajp13 forwarding
worker.p1.debug=0
worker.p1.tomcatId=p1
And my VirtualHost setting has the "JkMount / p1" and JkMount /* p1
My /etc/hosts file has entries for w1 that point to the local private
address, as follows:
192.168.0.101 w1 localhost
How do I debug this and get it back working?
Thanks,
Kim :-)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Filip Hanik
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]