corba接口连接服务端

qq_17839585 2015-08-14 03:08:07
Java程序:
EmsSessionFactory_I EmsSessionFactory = EmsSessionFactory_IHelper.narrow(obj);
NmsSession_IImpl pNmsSessionServant = new NmsSession_IImpl();
NmsSession_I NmsSession = pNmsSessionServant._this(m_orb);
EmsSession_IHolder emsSessionInterfaceHolder = new EmsSession_IHolder();

EmsSessionFactory.getEmsSession(Constants.ServerUser, Constants.ServerPassword, NmsSession, emsSessionInterfaceHolder);

m_emsSessionI = emsSessionInterfaceHolder.value;
m_emsSessionI.ping();
错误信息如下:2015-08-14 15:03:07,129 ERROR [main] OlpNetClient: IDL:mtnm.tmforum.org/globaldefs/ProcessingFailureException:1.0
globaldefs.ProcessingFailureException: IDL:mtnm.tmforum.org/globaldefs/ProcessingFailureException:1.0
at globaldefs.ProcessingFailureExceptionHelper.read(ProcessingFailureExceptionHelper.java:67)
at emsSessionFactory._EmsSessionFactory_IStub.getEmsSession(_EmsSessionFactory_IStub.java:139)
at com.hcycom.iams.olpnet.client.main.OlpNetClient.initOrbAndLogin(OlpNetClient.java:119)
at com.hcycom.iams.olpnet.client.main.OlpNetClient.main(OlpNetClient.java:148)
...全文
160 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

50,639

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧