在使用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="">
特别是服务器和挂起标志.当我像这样设置它们时,你上面描述的错误就消失了.