我已將isapi_redirect安裝到IIS中並允許運行。 我已經啓用了在碼頭的AJP13,我可以telnet到8009端口 這是我目前uiworkermap.properties:使用isapi_redirect(tomcat連接器)將請求從IIS路由到Jetty
/hudson=jetty
/hudson/*=jetty
如果我主動要求的「http://本地主機/哈德森」或任何子目錄我收到一個404錯誤。 所有其他網址都返回在IIS中定義的網站。 這告訴我,isapi_redirect正在查看uiworkermap文件並嘗試正確重定向。
在Jetty日誌和isapi_redirect日誌中,我看不到任何錯誤。 如果我去http://localhost:8008/hudson我看到它正確。 你有什麼想法可能導致這種情況?
更新:我創建了一個虛擬目錄像它在這裏說,指着isapi_redirect DLL名稱「雅加達」:http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html 經過這一步的錯誤改變,現在在瀏覽器中我看到:
Bad Gateway!
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
Jakarta/ISAPI/isapi_redirector/1.2.32()
在錯誤日誌(在調試模式下)我可以看到,它第一次連接,並且請求已經作出,但沒有來自碼頭響應,並且產生這樣的錯誤:
[錯誤] ajp_get_reply :: jk_ajp_common。 c(2118):(碼頭)Tomcat倒閉或拒絕了conn撓度。沒有響應發送到客戶端(還)
這是日誌與請求和錯誤的部分: https://rapidshare.com/files/3999719393/isapi_redirect_log.txt
這只是一個安裝問題,它不應該太難。任何建議,將不勝感激。你不必有完整的答案,我會按照你可能會建議的步驟和麻煩,我會獎勵給幫助我最多的用戶的賞金。 – Durden81