Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_ms06
    • Component/s: embedded
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: All

    • Issuezilla Id:
      13,493

      Description

      I´m trying to use embedded Glassfish with Maven, but it seems that Glassfish
      doesn´t even try to deploy my app.

      Here is the console output:

      D:\java\workspaces\helios\pdf-parent\pdf-app>mvn embedded-glassfish:run
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building pdf-app 0.0.1-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-embedded-glassfish-plugin:3.1-SNAPSHOT:run (default-cli) @
      pdf-app —
      Created New Bootstrap ClassLoader. ServerId = maven, ClassPaths =
      ClassPath Element :
      file:/D:/Dados/Documents%20and%20Settings/49756518/.m2/repository/org/glassfish/extras/glassfish-uber/3.1-SNAPSHOT/glass
      fish-uber-3.1-SNAPSHOT.jar
      ClassPath Element :
      file:/D:/Dados/Documents%20and%20Settings/49756518/.m2/repository/org/glassfish/maven-embedded-glassfish-plugin/3.1-SNAP
      SHOT/maven-embedded-glassfish-plugin-3.1-SNAPSHOT.jar
      16/09/2010 11:02:40 org.glassfish.maven.PluginUtil getGlassFish
      INFO: serverId = maven, GfMap = {}
      16/09/2010 11:02:40 PluginUtil getGlassFish
      INFO: Creating GlassFish ServerId = maven
      16/09/2010 11:02:40
      org.glassfish.uberjar.bootstrap.UberJarOSGiGlassFishRuntimeBuilder handles
      INFO: platform = Felix
      16/09/2010 11:02:40
      org.glassfish.uberjar.bootstrap.UberJarOSGiGlassFishRuntimeBuilder build
      INFO: EmbeddedOSGIRuntimeBuilder.build, uberJarUri = null
      ResourceName = org/glassfish/simpleglassfishapi/GlassFishRuntime.class
      url =
      jar:file:/D:/Dados/Documents%20and%20Settings/49756518/.m2/repository/org/glassfish/extras/glassfish-uber/3.1-SNAPSHOT/glassfish-uber-
      3.1-SNAPSHOT.jar!/org/glassfish/simpleglassfishapi/GlassFishRuntime.class
      con =
      sun.net.www.protocol.jar.JarURLConnection:jar:file:/D:/Dados/Documents%20and%20Settings/49756518/.m2/repository/org/glassfish/extras/g
      lassfish-uber/3.1-SNAPSHOT/glassfish-uber-3.1-SNAPSHOT.jar!/org/glassfish/simpleglassfishapi/GlassFishRuntime.class
      16/09/2010 11:02:40
      org.glassfish.uberjar.bootstrap.UberJarOSGiGlassFishRuntimeBuilder copyConfigFile
      INFO: domainXML uri =
      file:/D:/java/workspaces/helios/pdf-parent/pdf-app/domain.xml, size = 12409
      null
      Hit ENTER to redeploy, X to exit

      And here is the maven configuration:

      <plugin>
      <groupId>org.glassfish</groupId>
      <artifactId>maven-embedded-glassfish-plugin</artifactId>
      <version>3.1-SNAPSHOT</version>
      <configuration>
      <goalPrefix>embedded-glassfish</goalPrefix>
      <app>$

      {project.build.directory}

      /$

      {project.build.finalName}

      .war</app>
      <port>7070</port>
      <configFile>$

      {basedir}

      /domain.xml</configFile>
      </configuration>
      <dependencies>
      <dependency>
      <groupId>postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <version>8.4-701.jdbc4</version>
      </dependency>
      </dependencies>
      </plugin>

        Activity

        Hide
        fabriciolemos added a comment -
            • Issue 13493 has been confirmed by votes. ***
        Show
        fabriciolemos added a comment - Issue 13493 has been confirmed by votes. ***
        Hide
        Bhavanishankar added a comment -

        updating milestone.

        Show
        Bhavanishankar added a comment - updating milestone.
        Hide
        Bhavanishankar added a comment -

        With the recent fixes made in GlassFish/maven-plugin, all the tests @
        v3/tests/embedded/maven-plugin run fine with 3.1-SNAPSHOT of
        maven-embedded-glassfish-plugin.

        Hence marking this issue as fixed.

        If there is still a problem, please upload your sample app to reproduce the issue.

        Show
        Bhavanishankar added a comment - With the recent fixes made in GlassFish/maven-plugin, all the tests @ v3/tests/embedded/maven-plugin run fine with 3.1-SNAPSHOT of maven-embedded-glassfish-plugin. Hence marking this issue as fixed. If there is still a problem, please upload your sample app to reproduce the issue.

          People

          • Assignee:
            Bhavanishankar
            Reporter:
            fabriciolemos
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: