远程 ejb 调用陷入 Linux 服务器的查找中
我使用 glassfish 3.1.1 和通过 java web start 调用的应用程序客户端容器。 我的程序不工作,它仍然粘在lookup()中并且永远不会通过它。
Context c = new InitialContext()
geo = (GeoBeanRemote) c.lookup("java:global/server_side/server-ejb/GeoBean");
System.out.println("end lookup");
我已经在 Windows 服务器中对此进行了测试,并且它工作得很好,但是现在,在生产服务器(ubuntu 11.04)中却没有。 我该如何解决这个问题?
谢谢。
I'm using glassfish 3.1.1 with an application client container called via java web start.
My program is not working , it remain glued in the lookup() and never pass it .
Context c = new InitialContext()
geo = (GeoBeanRemote) c.lookup("java:global/server_side/server-ejb/GeoBean");
System.out.println("end lookup");
I have already tested this in a windows server and it worked perfelcty but now , in the production server (ubuntu 11.04) it doesn't .
How can i fix this ?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您可能遇到一些路由问题。我建议验证您的 RMI 端口是否打开。默认值为 3700。
It sounds like you might be having some routing issues. I suggest verifying your RMI port is open. The default is 3700.