對於我的應用程序,我有兩個耳朵 - 比方說耳朵1和耳朵2 - 它們是以簇的形式部署的。 Ear2正在從Ear1呼叫Ejb。 Ear2和Ear1之間的通信需要EJB引用。我設置下面的值 目標資源JNDI名稱:corbaloc :: ClusterServer1:2810:ClusterServer2:2810 /單元/集羣/ Cluster1中/ EJB/COM/mycompanyName/PROJECTNAME/EJB /正面/ EjbFacadeHomeEJB參考配置錯誤
但我我得到下面的錯誤:
Caused by: javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc::mums00100251.in.net.intra:2810,:mums00100392.in.net.intra:2810/cell/clusters/Cluster1/ejb/com/bnpparibas/tradefinance/ejb/facade/EjbFacadeHome". Make sure that any bootstrap address information in the URL is correct and that the target name server is running.
請幫助。