songvliu
boxi
2010-08-10 17:28

glassfish无法启动的问题

  • it技术
  • 互联网问答
  • IT行业问题
  • 编程语言问答
  • 计算机技术

谢谢。
问题:glassfish无法启动

操作系统: win7
Java: version "1.6.0_21"
JDK: 1.6.0_21
(在xp机子和windows server 2008虚拟机里均能正常使用,但机子里装的win7,不行,暂时不想重装)

glassfish 版本:v2和v3均无法启动(不知从何时开始任一JavaEE服务器都不能启动了)
通过netstat -ano 检查没有发现端口占用现象
从java运行环境到服务器重新安装都不起作用

贴一段glassfish的log:
[code="java"]
Caused by: java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.(PipeImpl.java:122)
at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
at java.nio.channels.Pipe.open(Pipe.java:133)
at sun.nio.ch.WindowsSelectorImpl.(WindowsSelectorImpl.java:104)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
at java.nio.channels.Selector.open(Selector.java:209)
at com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:375)
... 33 more
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)
... 41 more

[/code]

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答

为你推荐

换一换