我可以在没有调试的情况下运行JBOSS项目。 但是,当我尝试在调试模式下运行项目时,我在事件日志中收到以下消息:
5:02:17 PM All files are up-to-date
5:02:21 PM All files are up-to-date
5:02:21 PM Error running ProjectConfiguration
Invalid arguments : Already listening
[timeout, port, localAddress]
我已经杀死了我机器上的所有java.exe进程。有什么想法吗?
我完全设置了一个新项目。我现在得到以下内容:
6:06:56 PM Error running JBOSS Local: Unable to open debugger port (127.0.0.1:9157): java.net.SocketException "socket closed"
6:06:56 PM Application Server was not connected before run configuration stop, reason:
Unable to ping server at localhost:8080
和此:
ERROR: transport error 202: failed to attach to shared memory connection: The system cannot find the file specified
ERROR: JDWP Transport dt_shmem failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
Disconnected from server
答案 0 :(得分:1)
也许你可以尝试通过在bin / standalone.conf.bat中使用未注释的JBoss来启动远程调试:
-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n
然后在IntelliJ中,启动针对localhost的远程调试会话:8888。