设为首页 收藏本站
查看: 1965|回复: 0

[经验分享] 关于远程连接IBM JDK启动的apusic应用服务器的问题(转自李其的文档)

[复制链接]

尚未签到

发表于 2017-5-27 10:44:06 | 显示全部楼层 |阅读模式
作者:李其— 上次修改时间: 2006-10-23 10:48


如何处理远程连接IBM JDK启动的apusic应用服务器的时产生的问题
1、问题描述
  远程连接IBM JDK启动的apusic应用服务器,抛出无法连接的异常(请查看下面的异常描述)。
2、配置的环境
  服务端端JDK:IBM JDK 1.4.2 build cn142ifx-20060209
  服务器端Apusic: Apusic/Advanced 4.0.3 Build 200608222129
  服务器端操作系统:window 2000
  客户端操作系统:window xp sp2
  客户端JDK:SUN JDK 1.4.2_07-b05
3、问题的解决
  经过调式发现,在生成CORBA的Stub时,使用默认的IBM的JDK实现(StubDelegateImpl)发生错误,返回null,故导致 export client对象失败;

在命令行上加入以下参数指定CORBA所是用的实现,启动Apusic
-Djavax.rmi.CORBA.UtilClass=com.apusic.corba.ee.impl.javax.rmi.CORBA.Util
-Djavax.rmi.CORBA.StubClass=com.apusic.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.apusic.corba.ee.impl.javax.rmi.PortableRemoteObject
4、异常
  抛出的异常如下:
  java.rmi.NoSuchObjectException: CORBA INV_OBJREF 1398080891 No; nested exception
  is:org.omg.CORBA.INV_OBJREF: ----------BEGIN server-side stack trace-------org.omg.CORBA.INV_OBJREF:   vmcid: 0x53550000  minor code: 57B  completed: No
  atcom.apusic.corba.ee.impl.logging.UtilSystemException.objectNotExported(Unknown Source)
  at com.apusic.corba.ee.impl.logging.UtilSystemException.objectNotExported(Unknown Source)
  at com.apusic.corba.ee.impl.util.Utility.autoConnect(Unknown Source)
  at com.apusic.corba.ee.impl.javax.rmi.CORBA.Util.writeRemoteObject(Unknown Source)
  at com.apusic.corba.rmi.Util.writeRemoteObject(Unknown Source)
  at javax.rmi.CORBA.Util.writeRemoteObject(Util.java:128)
  at javax.management.remote.rmi._RMIServerImpl_Tie._invoke(<generated>)
  at com.apusic.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(UnknownSource)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(Unknown Source)
  at com.apusic.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(Unknown Source)
  at com.apusic.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(Unknown Source)
  at com.apusic.corba.plugin.ee.ThreadPoolImpl$WorkAdapter.run(Unknown Source)
  at com.apusic.util.ThreadPoolImpl$WorkerThread.run(Unknown Source)
  ----------END server-side stack trace----------  vmcid: SUN  minor code: 1403  completed: No
  at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:191)
  at com.apusic.corba.rmi.Util.mapSystemException(Unknown Source)
  at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
  at org.omg.stub.javax.management.remote.rmi._RMIServer_Stub.newClient(Unknown Source)
  at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2229)
  at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:271)
  at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:229)
  at com.apusic.management.tool.perf.DynamicServerNode.connec(DynamicServerNode.java:102)
  at com.apusic.management.tool.perf.RootNode.connect(RootNode.java:91)
  at com.apusic.management.tool.MainWindow.connect(MainWindow.java:433)
  at com.apusic.management.tool.LogonWindow$ConnectWorker.run(LogonWindow.java:190)
  at java.lang.Thread.run(Thread.java:595)
  Caused by: org.omg.CORBA.INV_OBJREF: ----------BEGIN server-side stack trace----------
  org.omg.CORBA.INV_OBJREF:   vmcid: 0x53550000  minor code: 57B  completed: No
  at com.apusic.corba.ee.impl.logging.UtilSystemException.objectNotExported(Unknown Source)
  at com.apusic.corba.ee.impl.logging.UtilSystemException.objectNotExported(Unknown Source)
  at com.apusic.corba.ee.impl.util.Utility.autoConnect(Unknown Source)
  at com.apusic.corba.ee.impl.javax.rmi.CORBA.Util.writeRemoteObject(Unknown Source)
  at com.apusic.corba.rmi.Util.writeRemoteObject(Unknown Source)
  at javax.rmi.CORBA.Util.writeRemoteObject(Util.java:128)
  at javax.management.remote.rmi._RMIServerImpl_Tie._invoke(<generated>)
  at com.apusic.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(Unknown Source)
  at com.apusic.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(Unknown Source)
  at com.apusic.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(Unknown Source)
  at com.apusic.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(Unknown Source)
  at com.apusic.corba.plugin.ee.ThreadPoolImpl$WorkAdapter.run(Unknown Source)
  at com.apusic.util.ThreadPoolImpl$WorkerThread.run(Unknown Source)
  ----------END server-side stack trace----------  vmcid: SUN  minor code: 1403  completed: No
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902)
  at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
  at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
  at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
  at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marsh
  alingComplete(CorbaClientRequestDispatcherImpl.java:326)
  at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
  at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
  ... 9 moresetting state:0

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-381685-1-1.html 上篇帖子: 明明白白WAS&IBM JDK的版本以及它们各安装了哪些补丁! 下篇帖子: IBM MQ JAVA客户端连接在多线程的时候特别要注意的一点
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表