Before you can deploy a project, you need to start the application server.
On the Services window, expand Servers.
Right-click GlassFish V2 and select Start.
The GlassFish server starts. This may take a few minutes