我在将web应用程序从WAS 5.1
迁移到Liberty Profile时遇到了一些问题,可能是由于CORBA/iiop服务的存在。
在自由剖面中BOOTSTRAP_PORT
还存在吗?有人知道该怎么做吗?我在messages.log
中收到此异常:
[6/17/13 18:36:59:162 CEST] 0000001a com.ibm.ws.logging.internal.impl.Incident I FFDC1015I: An FFDC Incident has been created: "com.ibm.ws.naming.jcache.CacheEntryNotFoundException: Entry "IIOP_DEFAULT_ROOT" not found in cache. com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal 367" at ffdc_13.06.17_18.36.59.0.log
[6/17/13 18:36:59:404 CEST] 0000001a com.ibm.ws.logging.internal.impl.Incident I FFDC1015I: An FFDC Incident has been created: "javax.naming.ServiceUnavailableException: Could not obtain an initial context due to a communication failure. Since no provider URL was specified, the default provider URL of "corbaloc:iiop:1.0@debian.localdomain:2809/NameService" was used. Make sure that any bootstrap address information in the URL is correct and that the target name server is running. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. [Root exception is org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=debian.localdomain,port=2809 vmcid: 0x4942f000 minor code: 3586 completed: No] com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext 487" at ffdc_13.06.17_18.36.59.1.log
[6/17/13 18:36:59:410 CEST] 0000001a com.ibm.ws.naming.util.WsnInitCtxFactory W NMSV0602E: Naming Service unavailable. A communications error occurred.
[6/17/13 18:36:59:410 CEST] 0000001a SystemErr R javax.naming.ServiceUnavailableException: Could not obtain an initial context due to a communication failure. Since no provider URL was specified, the default provider URL of "corbaloc:iiop:1.0@debian.localdomain:2809/NameService" was used. Make sure that any bootstrap address information in the URL is correct and that the target name server is running. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. [Root exception is org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=debian.localdomain,port=2809 vmcid: 0x4942f000 minor code: 3586 completed: No]
感谢并致以最诚挚的问候
蒋禄卡。
Liberty profile目前不支持RMI/IIOP。如果您需要该特性,我建议您使用RFE流程。