Glassfish服务器过早退出 退出代码为134

我有 Glassfish 服务器 v4.1 与默认端口配置,调试模式突然停止工作,并显示以下错误消息:

我有 Glassfish 服务器 v4.1 与默认端口配置,调试模式突然停止工作,并显示以下错误消息:

The server exited prematurely with exit code 134.
Before it died, it produced the following output:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]

我列出了我的机器上所有打开的端口,但找不到任何地方使用的调试端口,我试图改变端口,但同样的错误仍然存在。

我使用以下命令列出打开的端口:

tat -l | grep 9009 
lsof -l | grep 9009
ss -l | grep 9009

我在 OpenSuse 风滚草上安装了 Java 1.7(Oracle JDK)。

感谢任何帮助。

2

搜索其他线索后,似乎问题不在端口,而是 domain.xml 文件中的其他调试选项,特别是以下行

<java-config debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=9009" system-classpath="" classpath-suffix="">

更改为

<java-config debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" system-classpath="" classpath-suffix="">

修复了问题,感谢以下问题的答案::Impossible to run web application in debug mode with intelliJ on ubuntu with glassfish server

本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处

(510)
如果我们将12扩展到任何数字 圣诞节的十二天内总共有多少礼物 (how many gifts total in 12 days
上一篇
错误0x800705b4:无法等待子级连接到管道。WiX Bootstrapper应用程序
下一篇

相关推荐

发表评论

登录 后才能评论

评论列表(32条)