Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

glassfish undeploy problem

$
0
0

my server glassfish 3.1.1 open source edition

and i create a deploy.sh to deploy my apps
deploy.sh content :
mvn clean
mvn install -Dmaven.test.skip=true
mvn glassfish:undeploy
mvn glassfish:deploy

and i just excute the deploy.sh deploy my app coming across flowing problem that
glassfish domain1 looked like was down without any operations ,details:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Test Maven Webapp release-3.0.24
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.172s
[INFO] Finished at: Thu Jun 13 17:46:07 CST 2013
[INFO] Final Memory: 24M/64M
[INFO] ------------------------------------------------------------------------
~~~~~~~~~~~~~clean finished!~~~~~~~~~~~~~~~~
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Test Maven Webapp release-3.0.24
[INFO] ------------------------------------------------------------------------
Downloading: http://124.127.125.115:9000/nexus/content/repositories/joyveb/opensympho...
[WARNING] The POM for opensymphony:quartz-all:jar:1.6.3 is missing, no dependency information available
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:add-source (default) @ Test ---
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/land/java added.
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/main/java added.
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/gens/java added.
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/state/main added.
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/state/slto added.
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/state/pck3 added.
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/state/loto added.
[INFO] Source directory: /home/javadev/codes/Test/tags/release-3.0.24/src/glbos/java added.
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ Test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ Test ---
[INFO] Compiling 443 source files to /home/javadev/codes/Test /tags/release-3.0.24/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ Test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/javadev/codes/Test/tags/release-3.0.24/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ Test ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ Test ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ Test ---
[INFO] Packaging webapp
[INFO] Assembling webapp [Test] in [/home/javadev/codes/Test/tags/release-3.0.24/target/Test]
[INFO] Processing war project
[INFO] Copying webapp webResources [/home/javadev/codes/Test/tags/release-3.0.24/WebContent] to [/home/javadev/codes/Test/tags/release-3.0.24/target/Test]
[INFO] Webapp assembled in [1503 msecs]
[INFO] Building war: /home/javadev/codes/Test/tags/release-3.0.24/target/Test.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] Packaging classes
[INFO] Building jar: /home/javadev/codes/Test/tags/release-3.0.24/target/Test-classes.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ Test---
[INFO] Installing /home/javadev/codes/Test/tags/release-3.0.24/target/Test.war to /home/javadev/.m2/repository/com/joyveb/lottery/Test/release-3.0.24/Test-release-3.0.24.war
[INFO] Installing /home/javadev/codes/Test/tags/release-3.0.24/pom.xml to /home/javadev/.m2/repository/com/joyveb/lottery/Test/release-3.0.24/Test-release-3.0.24.pom
[INFO] Installing /home/javadev/codes/Test/tags/release-3.0.24/target/Test-classes.jar to /home/javadev/.m2/repository/com/joyveb/lottery/Test/release-3.0.24/Test-release-3.0.24-classes.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.349s
[INFO] Finished at: Thu Jun 13 17:46:55 CST 2013
[INFO] Final Memory: 96M/129M
[INFO] ------------------------------------------------------------------------
~~~~~~~~~~~~~install finished!~~~~~~~~~~~~~~~~
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TestMaven Webapp release-3.0.24
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-glassfish-plugin:2.1:undeploy (default-cli) @ Test ---
[WARNING] The POM for com.google.code.google-collections:google-collect:jar:snapshot-20080530 is missing, no dependency information available
//no undeploy commond???Isn't the server up? why?? i did not excute any commond except deploy.sh
[INFO] No such local command, undeploy. To run remote commands, start the application server (e.g. 'asadmin start-domain').
[ERROR] Remote server does not listen for requests on [localhost:4848]. Is the server up?
[ERROR] Undeployment of Test failed.
[ERROR] For more detail on what might be causing the problem try running maven with the --debug option
[ERROR] or setting the maven-glassfish-plugin "echo" property to "true".
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.627s
[INFO] Finished at: Thu Jun 13 17:47:08 CST 2013
[INFO] Final Memory: 33M/64M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.maven.plugin:maven-glassfish-plugin:2.1:undeploy (default-cli) on project Test: Undeployment of Test failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
~~~~~~~~~~~~~undeploy finished!~~~~~~~~~~~~~~~~
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Test Maven Webapp release-3.0.24
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-glassfish-plugin:2.1:deploy (default-cli) @ Test ---
[WARNING] The POM for com.google.code.google-collections:google-collect:jar:snapshot-20080530 is missing, no dependency information available
//domain1 is starting!!!!??
[INFO] Domain domain1 isn't started. Starting it for you.
[INFO] Successfully started the domain : domain1
[INFO] domain Location: /home/javadev/glassfish3/glassfish/domains/domain1
[INFO] Log File: /home/javadev/glassfish3/glassfish/domains/domain1/logs/server.log
[INFO] Admin Port: 4848
[INFO] Debugging is enabled. The debugging port is: 9009
[ERROR] remote failure: Error occurred during deployment: Application with name Test is already registered. Either specify that redeployment must be forced, or redeploy the application. Or if this is a new deployment, pick a different name. Please see server.log for more details.
[ERROR] Deployment of /home/javadev/codes/Test/tags/release-3.0.24/target/Test.war failed.
[ERROR] For more detail on what might be causing the problem try running maven with the --debug option
[ERROR] or setting the maven-glassfish-plugin "echo" property to "true".
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:02.794s
[INFO] Finished at: Thu Jun 13 17:48:13 CST 2013
[INFO] Final Memory: 34M/64M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.maven.plugin:maven-glassfish-plugin:2.1:deploy (default-cli) on project Test: Deployment of /home/javadev/codes/Test/tags/release-3.0.24/target/Test.war failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
~~~~~~~~~~~~~deploy finished!~~~~~~~~~~~~~~~~

i will appriciate who who help me analysize this problem kindheartedly!!!!!


Viewing all articles
Browse latest Browse all 1091

Trending Articles