There is nothing unusual in my JBoss log. Here is all that happens when I
redeploy:
10:17:50,498 INFO [TomcatDeployment] undeploy,
ctxPath=/apps/galc/capitol/tours
10:17:53,126 INFO [TomcatDeployment] deploy,
ctxPath=/apps/galc/capitol/tours
10:17:53,191 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for
context '/apps/galc/capitol/tours'
10:18:03,464 INFO [TomcatDeployment] undeploy,
ctxPath=/apps/galc/capitol/tours
10:18:06,247 INFO [TomcatDeployment] deploy,
ctxPath=/apps/galc/capitol/tours
10:18:06,298 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for
context '/apps/galc/capitol/tour
However, where is the WAR file getting built and deployed to? I am
including the output when trying you're revised command "mvn -X
jboss:redeploy":
ocho:webapp dalvarado$ mvn -X jboss:redeploy
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
Java version: 1.5.0_16
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from:
'/Users/dalvarado/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/Users/dalvarado/Apps/maven2/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM:
myco.galc.capitol.tours:myco-galc-capitol-tours:pom:1.0-SNAPSHOT of project:
null:myco-galc-capitol-tours-webapp:war:null in relative path: ../pom.xml
[DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for
project: null:myco-galc-capitol-tours-webapp:war:null
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:8
for project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:5 for
project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:3 for project:
org.apache.maven:maven-parent:pom:5 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:12
for project: null:maven-resources-plugin:maven-plugin:2.3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:9 for
project: org.apache.maven.plugins:maven-plugins:pom:12 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:4 for project:
org.apache.maven:maven-parent:pom:9 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:11
for project: null:maven-war-plugin:maven-plugin:2.1-alpha-2 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:8 for
project: org.apache.maven.plugins:maven-plugins:pom:11 from the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] Skipping disabled repository central
[DEBUG] jboss-maven-plugin: resolved to version 1.4-20091104.155638-3 from
repository Codehaus Snapshots
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-parent:pom:22 for
project: null:jboss-maven-plugin:maven-plugin:1.4-SNAPSHOT from the
repository.
[DEBUG] Adding managed dependencies for unknown:jboss-maven-plugin
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG] junit:junit:jar:3.8.2:test
[DEBUG] jboss-maven-plugin: resolved to version 1.4-20091104.155638-3 from
repository Codehaus Snapshots
[DEBUG] Wagons could not be registered as the extension container was never
created
[INFO]
------------------------------------------------------------------------
[INFO] Building myco GA Capitol Tours Webapp
[INFO] task-segment: [jboss:redeploy]
[INFO]
------------------------------------------------------------------------
[DEBUG] Adding managed dependencies for unknown:jboss-maven-plugin
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG] junit:junit:jar:3.8.2:test
[DEBUG] Plugin dependencies for:
org.codehaus.mojo:jboss-maven-plugin:1.4-SNAPSHOT
are:
commons-lang:commons-lang:jar:2.1:runtime
org.apache.maven:maven-project:jar:2.0:runtime
org.apache.maven:maven-plugin-api:jar:2.0:runtime
commons-codec:commons-codec:jar:1.3:runtime
jboss:jboss-jmx:jar:4.0.2:runtime
jboss:jnp-client:jar:4.0.2:runtime
jboss:jboss-common:jar:4.0.2:runtime
velocity:velocity:jar:1.4:runtime
org.codehaus.plexus:plexus-utils:jar:1.5.9:runtime
[DEBUG] Attempting to build MavenProject instance for Artifact
(org.codehaus.mojo:jboss-maven-plugin:1.4-20091104.155638-3) of type:
maven-plugin; constructing POM artifact instead.
[DEBUG] Adding managed dependencies for unknown:jboss-maven-plugin
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG] junit:junit:jar:3.8.2:test
[DEBUG]
org.codehaus.mojo:jboss-maven-plugin:maven-plugin:1.4-SNAPSHOT:runtime
(selected for runtime)
[DEBUG] commons-lang:commons-lang:jar:2.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven:pom:2.0 for project:
null:maven-project:jar:2.0 from the repository.
[DEBUG] Adding managed dependencies for unknown:maven-project
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (selected for
runtime)
[DEBUG] Adding managed dependencies for unknown:maven-profile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected for
runtime)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-model
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (applying version: 3.8.2)
[DEBUG] junit:junit:jar:3.8.2:runtime (applying scope: test)
[DEBUG] junit:junit:jar:3.8.2:test (selected for test)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG] Adding managed dependencies for
org.apache.maven:maven-artifact-manager
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime
(selected for runtime)
[DEBUG] Adding managed dependencies for
org.apache.maven:maven-repository-metadata
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime
(selected for runtime)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
runtime)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected
for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for
runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (applying version: 3.8.2)
[DEBUG] junit:junit:jar:3.8.2:runtime (applying scope: test)
[DEBUG] junit:junit:jar:3.8.2:test (selected for test)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for
runtime)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for
runtime)
[DEBUG] commons-codec:commons-codec:jar:1.3:runtime (selected for runtime)
[DEBUG] jboss:jboss-jmx:jar:4.0.2:runtime (selected for runtime)
[DEBUG] jboss:jnp-client:jar:4.0.2:runtime (selected for runtime)
[DEBUG] jboss:jboss-common:jar:4.0.2:runtime (selected for runtime)
[DEBUG] slide:webdavlib:jar:2.0:runtime (selected for runtime)
[DEBUG] xerces:xercesImpl:jar:2.6.2:runtime (selected for runtime)
[DEBUG] velocity:velocity:jar:1.4:runtime (selected for runtime)
[DEBUG] velocity:velocity-dep:jar:1.4:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:2.0.2 for
project: null:plexus-utils:jar:1.5.9 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed -
nearer found: 1.5.9)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.9:runtime (selected for
runtime)
[DEBUG] The following artifacts were filtered out for plugin:
org.codehaus.mojo:jboss-maven-plugin:1.4-SNAPSHOT because they're already in
the core of Maven:
org.apache.maven:maven-project:jar:2.0:runtime
org.apache.maven:maven-plugin-api:jar:2.0:runtime
These will use the artifact files already in the core ClassRealm instead, to
allow them to be included in PluginDescriptor.getArtifacts().
[DEBUG] Configuring mojo
'org.codehaus.mojo:jboss-maven-plugin:1.4-SNAPSHOT:redeploy' -->
[DEBUG] (f) fileNames =
[/Users/dalvarado/source/tours/webapp/target/myco-galc-capitol-tours-webapp.war]
[DEBUG] (f) hostName = localhost
[DEBUG] (f) port = 8180
[DEBUG] (f) redeployUrlPath =
/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=
[DEBUG] -- end configuration --
[INFO] [jboss:redeploy {execution: default-cli}]
[INFO] Reploying
/Users/dalvarado/source/tours/webapp/target/myco-galc-capitol-tours-webapp.war
to JBoss.
[DEBUG] url =
http://localhost:8180/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=java.net.URL&arg0=/Users/dalvarado/source/tours/webapp/target/myco-galc-capitol-tours-webapp.war
[INFO] No server specified for authentication - using defaults
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Nov 16 10:18:06 MST 2009
[INFO] Final Memory: 5M/10M
[INFO]
------------------------------------------------------------------------
Wayne Fay wrote:
>
>> Below is the output of my "mvn jboss:redeploy" command. Thanks, - Dave
>>
>> ocho:webapp dalvarado$ mvn jboss:redeploy
>
> 1. Try again with "mvn -X jboss:redeploy".
> 2. What does your JBoss log show? That would probably have more useful
> info in it. This log you sent doesn't tell us anything.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://old.nabble.com/%22mvn-jboss%3Aredeploy%22-is-not-redeploying-my-app-tp26374233p26375851.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]