IIS + TOMCAT 注意事项
今天配置 IIS5.2 +(isapi_redirect-1.2.26.dll)+ Tomcat6.0
被一个错误郁闷了半天,现象就是打开网页出现 "应用程序错误"提示消息
最后终于在 isapi.log 中找到了原因
我是第一次配置isapi_redirect,在配置workers.properties的时候,从官网上直接把下面的内容贴进取了
worker.list=worker1, worker2
# Entries that define the host and port associated with each of these workers
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.type=ajp13
worker.worker2.host=otherhost
worker.worker2.port=8009
# Entries that define the host and port associated with each of these workers
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.type=ajp13
worker.worker2.host=otherhost
worker.worker2.port=8009
问题就出在 otherhost 上了,根本就不纯在叫 otherhost 这个域名,所以出现上述错误。