对于我的应用程序,我有两个耳朵 - 比方说耳朵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.
请帮助。