title: Maven Embedded Glassfish Plugin - not starting
body: <p>I can't seem to get a web application running with the embedded glassfish plugin:</p>
  
  <p>Plugin Configuration:</p>
  
  <pre><code>&lt;plugin&gt;
                  &lt;groupId&gt;org.glassfish&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-embedded-glassfish-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${glassfish.version}&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;port&gt;${http.port}&lt;/port&gt;
  
                      &lt;autoDelete&gt;true&lt;/autoDelete&gt;
                      &lt;app&gt;${project.build.directory}/${maven.war.final.name}&lt;/app&gt;
                      &lt;containerType&gt;web&lt;/containerType&gt;
                      &lt;!--
                      &lt;goalPrefix&gt;glassfish&lt;/goalPrefix&gt;
  
                      &lt;configFile&gt;${project.build.directory}/${finalName}/WEB-INF/domain.xml&lt;/configFile&gt;
  
                      &lt;instanceRoot&gt;${project.build.directory}/glassfish/${glassfish.version}&lt;/instanceRoot&gt;
                      &lt;installRoot&gt;${project.build.directory}/glassfish/${glassfish.version}&lt;/installRoot&gt;
                      --&gt;
  
                      &lt;!--
                      &lt;contextRoot&gt;test&lt;/contextRoot&gt;
                      --&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>Configuration:</p>
  
  <pre><code>&lt;properties&gt;
          &lt;finalName&gt;${project.artifactId}-${project.version}&lt;/finalName&gt;
          &lt;maven.war.final.name&gt;${finalName}.war&lt;/maven.war.final.name&gt;
          &lt;http.port&gt;80&lt;/http.port&gt;
          &lt;glassfish.version&gt;3.0&lt;/glassfish.version&gt;
      &lt;/properties&gt;
  </code></pre>
  
  <p>Command Line:</p>
  
  <pre><code>mvn clean package embedded-glassfish:run
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>INFO: GlassFish v3 (74.2) startup time : Embedded(323ms) startup services(323ms) total(646ms)
  Aug 21, 2010 2:04:10 PM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates
  INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
  Aug 21, 2010 2:04:11 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
  INFO: JMXStartupService: JMXConnector system is disabled, skipping.
  Aug 21, 2010 2:04:11 PM AppServerStartup run
  INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
  Aug 21, 2010 2:04:11 PM org.hibernate.validator.util.Version &lt;clinit&gt;
  INFO: Hibernate Validator null
  Aug 21, 2010 2:04:11 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
  INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
  Aug 21, 2010 2:04:16 PM com.sun.common.util.logging.LoggingConfigImpl openPropFile
  INFO: Cannot read logging.properties file. 
  Aug 21, 2010 2:04:16 PM com.sun.enterprise.web.WebContainer createHttpListener
  INFO: Created HTTP listener embedded-listener on port 80
  Aug 21, 2010 2:04:16 PM com.sun.enterprise.web.WebContainer configureHttpServiceProperties
  WARNING: pewebcontainer.invalid_http_service_property
  Aug 21, 2010 2:04:16 PM com.sun.enterprise.web.WebContainer createHosts
  INFO: Created virtual server server
  Aug 21, 2010 2:04:16 PM com.sun.enterprise.web.WebContainer loadSystemDefaultWebModules
  INFO: Virtual server server loaded system default web module
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.SecurityLifecycle &lt;init&gt;
  INFO: security.secmgroff
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.ssl.SSLUtils checkCertificateDates
  SEVERE: java_security.expired_certificate
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
  INFO: Security startup service called
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.PolicyLoader loadPolicy
  INFO: policy.loading
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
  INFO: Realm admin-realm of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
  INFO: Realm file of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
  INFO: Realm certificate of classtype com.sun.enterprise.security.auth.realm.certificate.CertificateRealm successfully created.
  Aug 21, 2010 2:04:18 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
  INFO: Security service(s) started successfully....
  classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
  SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@756095fc
  Aug 21, 2010 2:04:20 PM org.jboss.weld.bootstrap.WeldBootstrap &lt;clinit&gt;
  INFO: WELD-000900 SNAPSHOT
  Aug 21, 2010 2:04:20 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
  INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
  nullID: /mnt/projects/github.com/prettyfaces-tests/gfembed4134153095470013496tmp/applications/prettyfaces-demo-0.0.1-SNAPSHOT/ CLASSES: [class de.chkal.prettytest.WelcomeBean, class de.chkal.prettytest.GreetingBean, class de.chkal.prettytest.WelcomeBean2]
  
  Aug 21, 2010 2:04:20 PM com.sun.faces.config.ConfigureListener contextInitialized
  INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/prettyfaces-demo-0.0.1-SNAPSHOT'
  Aug 21, 2010 2:04:22 PM com.sun.enterprise.web.WebApplication start
  INFO: Loading application prettyfaces-demo-0.0.1-SNAPSHOT at /prettyfaces-demo-0.0.1-SNAPSHOT
  Hit ENTER to redeploy, X to exit
  </code></pre>
  
  <p>Netstat -an | grep 80 doesn't list anything:</p>
  
  <pre><code>netstat -an | grep :80
  </code></pre>
  
  <p>This configuration has worked for me in the past, I don't see any log messages or exceptions.  What am I missing?</p>