]
Brian Stansberry reassigned WFLY-10757:
---------------------------------------
Component/s: POJO
(was: Server)
(was: XML Frameworks)
Assignee: Richard Opalka (was: Jason Greene)
[~ropalka] I'm assigning this to you because my assumption is this is caused by
WFLY-10687.
ParseError when deploying application with netty dependency
------------------------------------------------------------
Key: WFLY-10757
URL:
https://issues.jboss.org/browse/WFLY-10757
Project: WildFly
Issue Type: Bug
Components: POJO
Affects Versions: 14.0.0.CR1
Reporter: Jan Kašík
Assignee: Richard Opalka
Priority: Critical
It is not possible to deploy app which has {{org.jboss.netty}} packed as a dependency.
During processing of {{jboss-beans.xml}}, the deployment fails because there is an
unexpected element: {{\{urn:jboss:bean-deployer:2.0}deployment}}.
{code:title=Part of log including exception|borderStyle=solid}
2018-07-30 05:57:16.701 DEBUG o.w.e.c.c.o.OnlineManagementClient: Executing CLI operation
undeploy *metamer*
05:57:20,757 INFO [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001:
Content added at location
/home/hudson/hudson_workspace/workspace/eap-7.x-jsf-richfaces/6b4879d7/wildfly-14.0.0.Beta2-SNAPSHOT/standalone/data/content/c1/ef588d063c7cd396e765ef8452fbc43c04ce75/content
05:57:20,779 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027:
Starting deployment of "metamer.war" (runtime-name: "metamer.war")
05:57:22,206 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001:
Failed to start service jboss.deployment.unit."metamer.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."metamer.war".PARSE: WFLYSRV0153: Failed to process phase
PARSE of deployment "metamer.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:151)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYPOJO0038: Exception while parsing POJO descriptor file:
"/content/metamer.war/WEB-INF/lib/netty-3.2.10.Final.jar/META-INF/jboss-beans.xml"
at
org.jboss.as.pojo.KernelDeploymentParsingProcessor.parseDescriptor(KernelDeploymentParsingProcessor.java:154)
at
org.jboss.as.pojo.KernelDeploymentParsingProcessor.parseDescriptors(KernelDeploymentParsingProcessor.java:125)
at
org.jboss.as.pojo.KernelDeploymentParsingProcessor.deploy(KernelDeploymentParsingProcessor.java:82)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:144)
... 8 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[17,1]
Message: Unexpected element '{urn:jboss:bean-deployer:2.0}deployment'
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:120)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:76)
at
org.jboss.as.pojo.KernelDeploymentParsingProcessor.parseDescriptor(KernelDeploymentParsingProcessor.java:145)
... 11 more
05:57:22,210 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed -
address: ([("deployment" => "metamer.war")]) - failure description:
{"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"metamer.war\".PARSE" =>
"WFLYSRV0153: Failed to process phase PARSE of deployment \"metamer.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYPOJO0038: Exception while parsing POJO descriptor file:
\"/content/metamer.war/WEB-INF/lib/netty-3.2.10.Final.jar/META-INF/jboss-beans.xml\"
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[17,1]
Message: Unexpected element '{urn:jboss:bean-deployer:2.0}deployment'"}}
05:57:22,217 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021:
Deploy of deployment "metamer.war" was rolled back with the following failure
message:
{"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"metamer.war\".PARSE" =>
"WFLYSRV0153: Failed to process phase PARSE of deployment \"metamer.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
WFLYPOJO0038: Exception while parsing POJO descriptor file:
\"/content/metamer.war/WEB-INF/lib/netty-3.2.10.Final.jar/META-INF/jboss-beans.xml\"
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[17,1]
Message: Unexpected element '{urn:jboss:bean-deployer:2.0}deployment'"}}
05:57:22,266 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028:
Stopped deployment metamer.war (runtime-name: metamer.war) in 47ms
{code}