I'm trying to debug glassfish 4 application in IntelliJ IDEA12.1 and am getting the following:
D:\tools\glassfish4\glassfish\bin\asadmin.bat start-domain --debug domain1
[2013-06-28 03:58:34,480] Artifact exchange-web:war: Server is not connected. Deploy is not available.
Detected server admin port: 4848
Detected server http port: 8080
Attempting to start domain1.... Please look at the server log for more details.....
But nothing started. And there is no error in log.
So what should I do to resolve this?