在尝试启动我hybrisserver的调试模式时,我收到以下错误消息并hybrisserver停止.我尝试但无法解决.请帮忙.
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)<br/>
ERROR: transport error 202: bind failed: Permission denied<br/>
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)<br/>
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]<br/>
JVM exited while loading the application.<br/>
Reloading Wrapper configuration...<br/>
Launching a JVM...<br/>
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)<br/>
ERROR: transport error 202: bind failed: Permission denied<br/>
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)<br/>
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]<br/>
JVM exited while loading the application.<br/>
Run Code Online (Sandbox Code Playgroud)
连续5次失败发射,每次持续不到300秒.
放弃.
可能存在配置问题:请检查日志.
<-- Wrapper Stopped<br/>
Run Code Online (Sandbox Code Playgroud)
该过程中发生错误.
@thijsraets是正确的.您必须检查端口(8000)已被占用的位置,或者您可以将默认值覆盖到local.properties文件中的其他位置.
tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8001,suspend=n
Run Code Online (Sandbox Code Playgroud)
运行"ant all".这将为端口8001配置调试.
要么
您可以在wrapper-debug.conf文件中更改JVM参数...
wrapper.java.additional.23=-Xrunjdwp:transport=dt_socket,server=y,address=8001,suspend=n
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
32052 次 |
| 最近记录: |