JBoss 启动期间出现问题
我在使用 JBoss 3.2.6 时遇到问题。当我尝试启动它时,出现此错误。
09:19:22,449 ERROR [StatefulSessionContainer] Starting failed jboss.j2ee:jndiName=TypicalBean,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException: Network is unreachable [Root exception is java.io.IOException: Network is unreachable] at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:385) at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
等等...
我使用Java 1.6,并且可以访问Web,所以我无法真正弄清楚为什么会出现这个问题...
谢谢(并为我糟糕的英语感到抱歉)
Rob
I've a problem with JBoss 3.2.6. When I try to launch it, I get this error.
09:19:22,449 ERROR [StatefulSessionContainer] Starting failed jboss.j2ee:jndiName=TypicalBean,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException: Network is unreachable [Root exception is java.io.IOException: Network is unreachable] at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:385) at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
and so on ...
I use Java 1.6, and I can access to the Web, so I can't really figure out why this problem appears ...
Thanks (and sorry for my poor english)
Rob
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
另一种可能性是您传递的“-b”或“--host”选项指的是未绑定到任何本地接口的 IP。在服务器之间复制安装时,我已经发生过几次这种情况。
Another possibility is that you're passing a "-b" or "--host" option referring to an IP that's not bound to any of your local interfaces. I've had that happen a few times when copying installations between servers.
如果您在 Linux 操作系统上运行它,则可能是您的网络配置存在问题。
检查 /etc/hostname 中存储的主机名是否与 /etc/hosts 中指向 127.0.0.1 的主机名相同。我想我也有类似的问题,我就是这样解决的。
If you are running it on linux OS, it might be a problem in your network configuration.
Check if yuors hostname stored in /etc/hostname is the same as the one in /etc/hosts which points to 127.0.0.1. I think I had similar problem, and I resolved it in this way.