Java Adobe LiveCyle-何时在WebLogic中使用ServiceClientFactory的连接属性?

Java Adobe LiveCyle-何时在WebLogic中使用ServiceClientFactory的连接属性?,java,adobe,livecycle,Java,Adobe,Livecycle,当从Java连接到Adobe LiveCycle ES 2.5时,该页面会根据服务器类型列出您应该使用的默认连接属性 对于WebLogic,它是这样的: Properties ConnectionProps = new Properties(); connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "t3://localhost:7001"); connectionProps.s

当从Java连接到Adobe LiveCycle ES 2.5时,该页面会根据服务器类型列出您应该使用的默认连接属性

对于WebLogic,它是这样的:

Properties ConnectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "t3://localhost:7001");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "WebLogic");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password")

...
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
我的问题是:在我们的WebLogic服务器上,上述操作失败,出现以下异常:

Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
但是,如果我只是忽略connectionProps,它会起作用:

ServiceClientFactory myFactory = ServiceClientFactory.createInstance();
那么,这里发生了什么?是Adobe错了,您没有为WebLogic使用connectionProps,还是我们缺少某些WebLogic配置?当我使用ServiceClientFactory.createInstance()-而不使用connectionProps时,这意味着什么

谢谢你的建议

抢劫 :)

上给出的答案是:仅当连接到在不同JVM中运行的LiveCycle时,才需要配置值

抢劫

:)