Unable to Run or Debug on Jboss

Answered

I can't run the server and debug from IDEA. I have IntelliJ IDEA installed in default windows location (Program Files) and I tried adding new configuration (and only adding my artefacts) and even deleting the idea.system.path directory.

IDEA says:

Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:8080

I'm able to run the server from the command line just fine.

Looks like there is some problem with default startup command line parameters?

Files\JetBrains\IntelliJ was unexpected at this time.

Log:

C:\Users\xxx\Work\XXX\JBoss-6.4.0-EAP\bin\standalone.bat
"C:\Program Files\Java\jdk1.8.0_151\bin\java" -Dfile.encoding=windows-1250 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 173.2463.16\lib\idea_rt.jar" com.intellij.rt.execution.CommandLineWrapper C:\Users\xxx\AppData\Local\Temp\idea_classpath com.intellij.javaee.oss.process.JavaeeProcess 52514 com.intellij.javaee.oss.jboss.agent.JBoss71Agent
Files\JetBrains\IntelliJ was unexpected at this time.
Calling "C:\Users\xxx\Work\XXX\JBoss-6.4.0-EAP\bin\standalone.conf.bat"
[2017-10-23 04:22:49,791] Artifact XXX:ear: Waiting for server connection to start artifact deployment...
[2017-10-23 04:22:49,791] Artifact YYY:ear: Waiting for server connection to start artifact deployment...
Detected server admin port: 9999
Detected server http port: 8080
Disconnected from server
0
2 comments

Please follow the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-180537

0
Avatar
Permanently deleted user

Close the standalone.xml if it has opened and rerun or debug.

0

Please sign in to leave a comment.