调试 – 使用带有glassfish服务器的ubuntu上的intelliJ,无法在调试模式下运行Web应用程序

在使用glassfish 3.1.2.2的ubuntu 12.04上的intelliJ 12.0中,我试图在调试模式下启动我的Web应用程序,但是我收到此错误消息:
Error starting domain domain1.
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: bind Failed: Address already in use
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:741]

我尝试用另一个更改domain.xml中的端口9009但它不成功.
你能帮我解决这个问题吗?

谢谢

几周前我也遇到过同样的问题.我不记得我改变了100%,但我知道它与文件$GLASSFISH_HOME / glassfish / domains / domain1 / config / domain.xml有关.如果我记得我认为我改变了以下行:
<java-config debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=9009" system-classpath="" classpath-suffix="">

特别是服务器和挂起标志.当我像这样设置它们时,你上面描述的错误就消失了.

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...