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-doma
Had also trouble with that after upgrading to GF 4.1. Problem was, that IntelliJ itself was running under 1.6 VM. GF 4.1 comes with 1.7 compiled classes. Switching IntelliJ JDK to 1.7 solved that deployment trouble.