I'm trying execute a default hello world template of Intellij idea with glassfish 4, but a error occurs.
See the log:
"C:\Program Files\glassfish-4.0\glassfish\bin\asadmin.bat" start-domain domain1
[2014-05-29 06:29:17,642] Artifact TesteGlassFish:war exploded: 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.....
[2014-05-29 06:29:29,025] Artifact TesteGlassFish:war exploded: Artifact is being deployed, please wait...
Connected to server
[2014-05-29 06:29:33,089] Artifact TesteGlassFish:war exploded: Error during artifact deployment. See server log for details.
[2014-05-29 06:29:33,090] Artifact TesteGlassFish:war exploded: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException. Please see server.log for more details.
Anyone knows how fix it?