I'm at wit's end on this one. Does anyone have a suggestion?
II and Tomcat seem to be talking but socket errors...
2003-11-03 13:18:56 [org.apache.catalina.connector.warp.WarpConnector] Connection from /127.0.0.1:1064 to /127.0.0.1:8008
2003-11-03 13:18:56 [org.apache.catalina.connector.warp.WarpConfigurationHandler] Invalid packet with type 1
2003-11-03 13:18:56 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at org.apache.catalina.connector.warp.WarpConnection.send(Unknown Source)
at org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(Unknown Source)
at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Here's the meat of the server.xml file:
<!-- Define an Apache-Connector Service -->
<Service name="Tomcat-Apache">
<Connector ClassName="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine> </Service>
</Server>
And the meat of the workers.properties file:
worker.list=ajp12, ajp13
#worker.list=ajp13
# ajp13 connector communicating on port 8009
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1
worker.ajp13.socket_timeout=300
# ajp12 communicates on port 8008
#
worker.ajp12.port=8008
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1
worker.ajp12.cachesize=10
worker.ajp12.cache_timeout=600
worker.ajp12.socket_keepalive=1
worker.ajp12.socket_timeout=300
#
# load balancing
#
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13
And the uriworkers.properties file:
/mpdbapp/*=ajp13
/mpdbapp/*.jsp=ajp13
/*.jsp=ajp13
*.jsp=ajp13
Here's the last few lines of the ISAPI log (debug level):
[Mon Nov 03 13:18:56 2003] [jk_isapi_plugin.c (426)]: Into jk_ws_service_t::read
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (459)]: ajpv12_handle_request, read 12 bytes
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (467)]: ajpv12_handle_request, sent 12 bytes
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (477)]: ajpv12_handle_request done
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (493)]: Into ajpv12_handle_response
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (522)]: ajpv12_handle_response, no value supplied
[Mon Nov 03 13:18:56 2003] [jk_isapi_plugin.c (724)]: HttpExtensionProc error, service() failed
[Mon Nov 03 13:18:56 2003] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done