将AMI+BiDir与jacorb结合使用



是否可以将AMI和BiDir功能与jacorb同时使用?两人都为我工作,但不会一起工作。例如,jacorb演示了BiDir或AMI。

我看到的错误如下:

严重:接收消息时出现意外错误。丢失了一条消息!java.lang.NullPointerException在rg.jacorb.orb.giop.BiDirConnectionClientInterceptor.send_request(BiDirConnectionClient Interceptor.java:125)网址:org.jacorb.orb.portalInterceptor.ClientInterceptorIterator.iinvoke(ClientInterceptorIterator.java:129)网址:org.jacorb.orb.portalInterceptor.AbstractInterceptorIterator.iiterate(AbstractInterceptor Iterator.java:66)网址:org.jacorb.orb.portalInterceptor.ClientInterceptorIterator.iiterate(ClientInterceptorIterator.java:87)位于org.jacorb.orb.DefaultClientInterceptorHandler.invokeInterceptors(DefaultClientIntersectorHandler.java:328)网址:org.jacorb.orb.DefaultClientInterceptorHandler.handle_send_request(DefaultClientIntersectorHandler.java:132)网址:org.jacorb.orb.Delegate.servant_preinvoke(Delegate.java:2505)网址:org.jacorb.orb.ReplyReceiver.performCallback(ReplyReceiver.java:240)网址:org.jacorb.orb.ReplyReceiver.replyReceived(replyReceived.java:183)网址:org.jacorb.orb.giop.ClientConnection.replyReceived(ClientConnection.java:355)网址:org.jacorb.orb.giop.GIOPConnection.rereceiveMessagesLoop(GIOPConnection.java:820)网址:org.jacorb.orb.giop.GIOPConnection.rereceiveMessages(GIOPConnection.java:527)网址:org.jacorb.orb.giop.MessageRecepter.doWork(MessageRecepter.java:69)网址:org.jacorb.util.threadpool.ConsumerTie.run(ConsumerTies.java:60)在java.lang.Thread.run(Thread.java:724)

请告知。

UPD:我从jacorb的演示中修改了AMI示例,添加了BiDir功能(复制自BiDir示例),现在同步调用可以工作,但ansync(AMI)不能。

他们应该一起工作。这看起来确实是一个可能的问题。你在使用本地电话吗?你能提供你的测试用例并在http://www.jacorb.org/bugzilla/

(请注意,JacORB的官方邮件列表如下:http://www.jacorb.org/contact.html)

相关内容

  • 没有找到相关文章

最新更新