错误信息:
javax.naming.CommunicationException
[Root exception is java.net.Connect Exception: t3://129.168.0.99:7001:
Destination unreachable; nested exception is:
java.net.ConnextException: Connection timed out: connect;
No available router to destination]

解决方案 »

  1.   

    原因找到了,是我的地址写错了更正,但是又出了新问题,错误提示如下:
    javax.naming.NameNotFoundException: Unable to resolve
    'Show'Resolved:'' Unresolved:'Show' ; remaining name 'Show'
    好像是说找不到Show
      

  2.   

    发布的两个XML文件的内容为:
      <!DOCTYPE ejb-jar (View Source for full doctype...)> 
    - <!--  Generated XML! 
      --> 
    - <ejb-jar>
    - <enterprise-beans>
    - <session>
      <ejb-name>Show</ejb-name> 
      <home>MyEJB.ShowHome</home> 
      <remote>MyEJB.Show</remote> 
      <ejb-class>MyEJB.ShowEJB</ejb-class> 
      <session-type>Stateless</session-type> 
      <transaction-type>Container</transaction-type> 
      </session>
      </enterprise-beans>
      <assembly-descriptor /> 
      <ejb-client-jar>Show</ejb-client-jar> 
      </ejb-jar>  <!DOCTYPE weblogic-ejb-jar (View Source for full doctype...)> 
    - <!--  Generated XML! 
      --> 
    - <weblogic-ejb-jar>
    - <weblogic-enterprise-bean>
      <ejb-name>Show</ejb-name> 
    - <stateless-session-descriptor>
      <pool /> 
      <stateless-clustering /> 
      </stateless-session-descriptor>
      <transaction-descriptor /> 
      <enable-call-by-reference>True</enable-call-by-reference> 
      <jndi-name>Show</jndi-name> 
      </weblogic-enterprise-bean>
      </weblogic-ejb-jar>