<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
    當(dāng)遇到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,當(dāng)然這個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的訪問保護(hù)->屬性->用戶自定義規(guī)則添加一條規(guī)則,根據(jù)提示寫入需要排除的端口號,然后在排除項中添加java.exe和javaw.exe確定即可,在試試,應(yīng)該就可以了!
    posted on 2010-06-12 16:03 天獨(dú) 閱讀(1242) 評論(0)  編輯  收藏

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


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲第一区二区快射影院| 亚洲人av高清无码| 免费国产小视频在线观看| 无码av免费一区二区三区试看| 亚洲国产一区二区三区在线观看 | 一级人做人爰a全过程免费视频| 亚洲欧洲免费视频| 国产亚洲精品国看不卡| 国产成人精品免费直播| 免费电视剧在线观看| 日韩亚洲国产高清免费视频| 亚洲精品国产免费| 亚洲网站在线免费观看| 性xxxxx免费视频播放 | 亚洲精品国产高清在线观看| 亚洲精品成人图区| 国产成+人+综合+亚洲专| 亚洲日韩国产精品无码av| 亚洲影院在线观看| 亚洲an日韩专区在线| 亚洲av永久无码天堂网| 亚洲欧美中文日韩视频| 亚洲色www永久网站| 国产精品久久久久久亚洲影视| 国产亚洲视频在线观看| 人妻无码中文字幕免费视频蜜桃| 久久久久久亚洲精品无码| sss日本免费完整版在线观看| 水蜜桃视频在线观看免费播放高清 | 一级免费黄色毛片| 国产免费无码一区二区| 免费观看在线禁片| 免费看又爽又黄禁片视频1000| 亚洲福利在线播放| 7777久久亚洲中文字幕| 日本特黄特色AAA大片免费| 国产自国产自愉自愉免费24区| 7723日本高清完整版免费| 亚洲国产精品无码久久九九| 亚洲国产精品国自产电影| 亚洲国产欧美国产综合一区 |