kis*_*iju 6 debugging port intellij-idea glassfish-3 ubuntu-12.04
在使用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]
Run Code Online (Sandbox Code Playgroud)
我尝试用另一个更改domain.xml中的端口9009,但它不成功.你能帮我解决这个问题吗?
谢谢
小智 34
几周前我也遇到过同样的问题.我不记得我改变了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="">
Run Code Online (Sandbox Code Playgroud)
特别是服务器和挂起标志.当我像这样设置它们时,你上面描述的错误就消失了.
归档时间: |
|
查看次数: |
9466 次 |
最近记录: |