<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 1,  comments - 1,  trackbacks - 0
    當遇到Exception in thread "main" javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]時
    1.首先檢查你的Context.PROVIDER_URL配置是否正確,例如Jboss4.0.2中是jnp://localhost:1099,當然這個1099端口也可能換,如果不知道請到%JBOSS_HOME%\server\default\conf\下查找jboss-service.xml在里面找到如下代碼:
     1 <mbean code="org.jboss.naming.NamingService"
     2       name="jboss:service=Naming"
     3       xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
     4       <!-- The call by value mode. true if all lookups are unmarshalled using
     5       the caller's TCL, false if in VM lookups return the value by reference.
     6       -->
     7       <attribute name="CallByValue">false</attribute>
     8       <!-- The listening port for the bootstrap JNP service. Set this to -1
     9         to run the NamingService without the JNP invoker listening port.
    10       -->
    11       <attribute name="Port">1099</attribute>
    12       <!-- The bootstrap JNP server bind address. This also sets the default
    13       RMI service bind address. Empty == all addresses
    14        -->
    15       <attribute name="BindAddress">${jboss.bind.address}</attribute>
    16       <!-- The port of the RMI naming service, 0 == anonymous -->
    17       <attribute name="RmiPort">1098</attribute>
    18       <!-- The RMI service bind address. Empty == all addresses
    19        -->
    20       <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
    21       <!-- The thread pool service used to control the bootstrap lookups -->
    22       <depends optional-attribute-name="LookupPool"
    23          proxy-type="attribute">jboss.system:service=ThreadPool</depends>
    24    </mbean>
     <attribute name="Port">1099</attribute> 看這里的端口號,修改這里的端口號為你provider_url配置的端口號,或著反過來修改你的provider_url的端口號為這里的端口號。

    2.如果1中配置沒有問題,請檢查你的防火墻,殺毒軟件等安全工具是否禁止了端口,我用的mcafee,需要在mcafee的訪問保護->屬性->用戶自定義規則添加一條規則,根據提示寫入需要排除的端口號,然后在排除項中添加java.exe和javaw.exe確定即可,在試試,應該就可以了!
    posted on 2010-06-12 16:03 天獨 閱讀(1241) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 色播亚洲视频在线观看| 国产亚洲精品自在线观看| 亚洲综合一区二区| 久久ww精品w免费人成| 亚洲av日韩综合一区在线观看| 国产又黄又爽胸又大免费视频 | 四虎影视永久免费视频观看| 亚洲国产精品自在自线观看| 午夜成年女人毛片免费观看| 亚洲色中文字幕在线播放| 免费看AV毛片一区二区三区| 国产精品国产亚洲区艳妇糸列短篇| 国产中文字幕免费| h视频免费高清在线观看| 国产AV无码专区亚洲AV毛网站| 日韩精品人妻系列无码专区免费| 亚洲日本在线播放| 性感美女视频免费网站午夜| 四虎国产精品永免费| 亚洲乱码一区二区三区在线观看| 桃子视频在线观看高清免费视频 | 亚洲国产成人久久笫一页| 久久精品无码免费不卡| 亚洲精品免费视频| 成人免费看吃奶视频网站| 免费观看又污又黄在线观看| 亚洲精品美女久久久久99| 最新黄色免费网站| 国产精品久久亚洲一区二区| 亚洲中久无码永久在线观看同| 免费人成在线观看网站品爱网| 亚洲性色AV日韩在线观看| 中文字幕不卡亚洲| 波多野结衣在线免费视频| 麻豆69堂免费视频| 久久久无码精品亚洲日韩蜜臀浪潮| 成人午夜免费福利| 久久黄色免费网站| 亚洲av片在线观看| 老司机亚洲精品影院无码| 四虎免费久久影院|