[jboss-jira] [JBoss JIRA] (JBASMP-35) Impossible to remove a failed deployment
James Perkins (JIRA)
jira-events at lists.jboss.org
Mon Feb 11 17:18:56 EST 2013
James Perkins created JBASMP-35:
-----------------------------------
Summary: Impossible to remove a failed deployment
Key: JBASMP-35
URL: https://issues.jboss.org/browse/JBASMP-35
Project: JBoss AS Maven Plugins
Issue Type: Bug
Reporter: James Perkins
Assignee: James Perkins
When using the jboss-as-maven-plugin in either v7.1.1.Final or v7.3.Final, when a deployment has some issues (in my case a listener referenced in web.xml that doesn't exist in the classpath), it becomes impossible to remove this component from the admin console (I'm using the managed domain operating mode)
This component appears as enabled and is installed on my targeted server-group
The only way is to call the goal undeploy from this plugin.
*Log when the deployment occurs (module is unregistered):*
{code}
[Server:test-server-one-group1] 14:15:04,271 INFO org.jboss.as.server JBAS015870: Deploy of deployment "mywebapp.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./mywebapp" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./mywebapp: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"mywebapp.war\".jboss.security.jacc Missing[JBAS014861: ]"]}
[Server:test-server-one-group1] 14:15:04,273 INFO org.jboss.as.osgi JBAS011908: Unregister module: Module "deployment.mywebapp.war:main" from Service Module Loader
[Server:test-server-one-group1] 14:15:04,302 INFO org.jboss.as.server.deployment JBAS015877: Stopped deployment mywebapp.war in 32ms
{code}
*Log when I try to undeploy the module from the admin console (module is said 'not found'):*
{code}
Failed to remove mywebapp.war from main-server-group.
Unexpected HTTP response: 500
Request
{
"address" => [
("server-group" => "main-server-group"),
("deployment" => "mywebapp.war")
],
"operation" => "remove"
}
Response
Internal Server Error
{
"outcome" => "failed",
"result" => undefined,
"failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
"rolled-back" => true,
"server-groups" => {"main-server-group" => {"host" => {"int03master" => {"test-server-one-group1" => {"response" => {
"outcome" => "failed",
"result" => undefined,
"failure-description" => "JBAS014807: Management resource '[(\"deployment\" => \"mywebapp.war\")]' not found",
"response-headers" => {"process-state" => "restart-required"},
"rolled-back" => true
}}}}}}
}
{code}
Do you know what could be done to be able to remove it from the admin console ?
For me either the plugin should remove the component from the server-group or at least disable it
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list