[
https://issues.jboss.org/browse/AS7-3338?page=com.atlassian.jira.plugin.s...
]
Dominik Pospisil edited comment on AS7-3338 at 1/17/12 3:09 PM:
----------------------------------------------------------------
You are right Brian, in the case you put the war to the deployment directory it is
correct. However, if you deploy it using CLI the deployment is left in the model.
[standalone@localhost:9999 /] deploy
[standalone@localhost:9999 /] deploy /home/dpospisi/deploy/deployment2.war
{"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"deployment2.war\".PARSE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"deployment2.war\".PARSE: Failed to process phase PARSE
of deployment \"deployment2.war\""}}
[standalone@localhost:9999 /] deploy
deployment2.war
[standalone@localhost:9999 /] cd /deployment
[standalone@localhost:9999 deployment] ls
deployment2.war
[standalone@localhost:9999 deployment]
was (Author: dpospisil):
You are right Brian, in the place you put the war to the deployment directory it is
correct. However, if you deploy it using CLI the deployment is left in the model.
[standalone@localhost:9999 /] deploy
[standalone@localhost:9999 /] deploy /home/dpospisi/deploy/deployment2.war
{"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"deployment2.war\".PARSE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"deployment2.war\".PARSE: Failed to process phase PARSE
of deployment \"deployment2.war\""}}
[standalone@localhost:9999 /] deploy
deployment2.war
[standalone@localhost:9999 /] cd /deployment
[standalone@localhost:9999 deployment] ls
deployment2.war
[standalone@localhost:9999 deployment]
Deployment of a WAR archive with malformed web.xml ends up in
undefined state
-----------------------------------------------------------------------------
Key: AS7-3338
URL:
https://issues.jboss.org/browse/AS7-3338
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, Web
Affects Versions: 7.1.0.Final
Reporter: Dominik Pospisil
Assignee: Brian Stansberry
Attachments: deployment2.war
Deployment of a WAR archive with malformed web.xml ends up in undefined state. The
undeploy operation of the malformed archive is triggered however it is rolled back. As a
result, the deployment is not available however it is listed in the configuration model.
15:05:15,997 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed
to start service jboss.deployment.unit."deployment2.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."deployment2.war".PARSE: Failed to process phase PARSE of
deployment "deployment2.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
[jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.7.0_b147-icedtea]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.7.0_b147-icedtea]
at java.lang.Thread.run(Thread.java:722) [:1.7.0_b147-icedtea]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to
parse "/content/deployment2.war/WEB-INF/web.xml" at [1,1]
at
org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:112)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
[jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
... 5 more
15:05:16,001 INFO [org.jboss.as.server] (management-handler-threads - 3) JBAS015856:
Undeploy of deployment "deployment2.war" was rolled back with failure message
{"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"deployment2.war\".PARSE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"deployment2.war\".PARSE: Failed to process phase PARSE
of deployment \"deployment2.war\""}}
15:05:16,005 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) Stopped
deployment deployment2.war in 3ms
15:05:16,006 INFO [org.jboss.as.controller] (management-handler-threads - 3) JBAS014774:
Service status report
JBAS014777: Services which failed to start: service
jboss.deployment.unit."deployment2.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."deployment2.war".PARSE: Failed to process phase PARSE of
deployment "deployment2.war"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira