I just created a very simple web application that just contains a web.xml and a single servlet class. When I try to deploy the created *.war artifact using the Glassfish 3.1.0 admin console everything works fine and the servlet creates the correct output. But if I try to start the Glassfish application server using a IntelliJ IDEA 10 facet it will deploy the war file correctly but doesn't open up a browser and just displays the following (german):
cmd /c C:\glassfish310\glassfish\bin\asadmin.bat start-domain freebits
Starten von freebits wird versucht... Weitere Einzelheiten entnehmen Sie dem Serverprotokoll.
Connected to server
[2011-03-05 05:40:51,828] Artifact OMT:war: Artifact is being deployed, please wait...
[2011-03-05 05:40:52,262] Artifact OMT:war: Artifact is not deployed. Press 'Deploy' to start deployment
I can go to the servlet url per hand and it will show up correctly anyways but the Glassfish runtime configuration seems kind of broken for the version 3.1.0. Do I miss something? (I appended the corresponding war file)