如何使BlackBerry MDS simulator在Proxy 伺服器下正常工作

來源:互聯網
上載者:User
今天在Blackberry 開發環境時,遇見這樣一個問題。
描述如下:
blackberry simulator 正常運行
blackberry MDS simulator 正常運行
使用 blackberry simulator 內建的瀏覽器無法訪問網路,BB homepage failed, goto other URL still failed
於是開始尋找問題原因,首先檢查 MDS  logs ,未發現異常,遂懷疑是由於 單位網路代理程式導致該問題,
正好遇見一個帶我入BB 之門的哥們兒 ,跟他諮詢了一下,進一步確認了病因源於單位網路代理程式......
於是開始研究 MDS simulator 設定檔  rimpublic.property

PS:該檔案位於 MDS 安裝路徑下的config 檔案夾下
例如: 本人預設路徑安裝的BB JDE 4.0.2 ,則 rimpublic.property的位置如下:
C:\Program Files\Research In Motion\BlackBerry JDE 4.0.2\MDS\config

找到 :

# [HTTP HANDLER]
...
application.handler.http.proxyEnabled = false (是否使用代理)
application.handler.http.proxyAutoConfig = false (是否包括代理的自動設定參數 )
application.handler.http.proxyAutoConfigURL=  (自動設定檔案的URL)
application.handler.http.proxyAutoConfig.ScriptCacheTime=0
application.handler.http.proxyHost= (代理主機名稱或者代理主機IP地址)
application.handler.http.proxyPort=-1   (代理連接埠)
application.handler.http.proxyUser= (登陸Proxy 伺服器帳號)
application.handler.http.proxyPass= (登陸Proxy 伺服器密碼)
.....

根據你的Proxy 伺服器資訊,更新Proxy 伺服器相關參數
本人的更形情況如下:
application.handler.http.proxyEnabled = true
application.handler.http.proxyAutoConfig = false
application.handler.http.proxyAutoConfigURL=
application.handler.http.proxyAutoConfig.ScriptCacheTime=0
application.handler.http.proxyHost=XXX.XXX.XXX.XXX
application.handler.http.proxyPort=80
application.handler.http.proxyUser=UserName
application.handler.http.proxyPass=PassWord

官方資料如下:
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800738/800792/801079/How_To_-_Configure_the_MDS_simulator_to_work_behind_a_proxy.html?nodeid=800740&vernum=4

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.