解決Oracle 9i和VS2008 Team Foundation Server端口衝突


今天在安裝VS2008 Team Foundation Server時遇到下面的錯誤:
============================
 The System Health Check has detected a problem that may cause Setup to fail.
Description
Processor type and speed do not meet recommendations.
Workaround / Remedy
The processor (CPU) in this computer does not meet the recommendations for installing this product. If you continue with installation, you might experience performance or scalability issues.
More information
For additional information and help please refer to: http://go.microsoft.com/fwlink/?LinkId=79226
 The System Health Check has detected a problem that will cause Setup to fail. 
Description
The Team Foundation Web services port is not available.
Workaround / Remedy
The port specified for use by Team Foundation Web services (by default, 8080) is already in use. Either modify the value for VSTF_WEBSITE_PORT in the msiproperty.ini file to specify an available port, or review the ports and services on this computer and make sure that the port you want to use is available for use.
More information
For additional information and help please refer to: http://go.microsoft.com/fwlink/?LinkId=79226

============================

經確認為Oracle的監聽服務占用了8080端口;

==下列方案雖然本人知道這樣的,但文字為引用自網絡===
http://article.pchome.net/content-340513.html

    安裝Oracle數據庫後,當我們訪問8080端口時,會彈出一個XDB窗口,要求輸入用戶名和密碼。這樣將和我們本地一些使用該端口的應用衝突,比如tomcat、jboss等,雖然這些端口是可以修改的,但總是不爽oracle一直佔用這個端口。

    Oracle數據庫可以使用TCP協議通過8080端口進行連接,所以佔用了8080端口。
要取消佔用,可以打開Oracle安裝目錄下的database目錄內的SPFILE[SID名].ORA文件進行修改。這個文件是Oracle的啟動配置文件。
把其中的*.dispatchers='(PROTOCOL=TCP) (SERVICE=or9iXDB)'這一行去掉即可。
然後重啟計算機,或者在服務中重啟OracleService[SID名]這個服務。重啟後可能無法使用Enterprise Manager Console和其他客戶端連接,這時請使用Oracle的Configuration and Migration Tools/Net Configuration Assistant工具刪除監聽器,然後新建一個監聽器,重啟監聽器。
使用Configuration and Migration Tools/Net Manager工具,將服務命名刪除,然後新建一個。
現在Oracle應該就可以正常使用,8080也不會佔用了。
 
原文地址:https://www.cnblogs.com/godwar/p/1385470.html