Il 08/01/2015 03:44, Deng Ching-Mallete ha scritto:
Hi Patrick,
Can you post the error you've encountered? Also, what version of Continuum
were you using?
Thanks,
Deng
Hi Deng, thank you for reply. The version of continuum is 1.4.2 packaged
as war, my OS is Windows 7 x64.
I attach the stacktrace of deployment. The error seem to be caused by a
wrong location, my wildfly install is in my user directory, under
Development directory, and when deploy the artifact to the AS, it seem s
to search the content directly in my user directory.
Best regards.
09:14:25,876 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA
S015876: Starting deployment of "apache-continuum-1.4.2.war" (runtime-name: "apa
che-continuum-1.4.2.war")
09:15:36,387 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA
S015960: Class Path entry smack.jar in /C:/Users/Patrick/content/apache-continuu
m-1.4.2.war/WEB-INF/lib/smackx-2.0.0.jar does not point to a valid jar for a Cl
ass-Path reference.
09:15:37,164 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC0000
01: Failed to start service jboss.deployment.unit."apache-continuum-1.4.2.war".P
ARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."apa
che-continuum-1.4.2.war".PARSE: JBAS018733: Failed to process phase PARSE of dep
loyment "apache-continuum-1.4.2.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo
ymentUnitPhaseService.java:166) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142) [rt.jar:1.8.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617) [rt.jar:1.8.0_20]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_20]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBA
S017302: Failed to parse XML descriptor "/C:/Users/Patrick/content/apache-contin
uum-1.4.2.war/WEB-INF/jboss-web.xml" at [26,54]
at org.wildfly.extension.undertow.deployment.JBossWebParsingDeploymentPr
ocessor.deploy(JBossWebParsingDeploymentProcessor.java:82)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo
ymentUnitPhaseService.java:159) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
... 5 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[26,54]
Message: Unexpected element 'class-loading' encountered
at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElemen
t(MetaDataElementParser.java:115)
at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBoss
WebMetaDataParser.java:280)
at org.wildfly.extension.undertow.deployment.JBossWebParsingDeploymentPr
ocessor.deploy(JBossWebParsingDeploymentProcessor.java:74)
... 6 more
09:15:37,404 ERROR [org.jboss.as.controller.management-operation] (management-ha
ndler-thread - 2) JBAS014613: Operation ("deploy") failed - address: ({"deployme
nt" => "apache-continuum-1.4.2.war"}) - failure description: {"JBAS014671: Faile
d services" => {"jboss.deployment.unit.\"apache-continuum-1.4.2.war\".PARSE" =>
"org.jboss.msc.service.StartException in service jboss.deployment.unit.\"apache-
continuum-1.4.2.war\".PARSE: JBAS018733: Failed to process phase PARSE of deploy
ment \"apache-continuum-1.4.2.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
JBAS017302: Failed to parse XML descriptor \"/C:/Users/Patrick/content/apache-c
ontinuum-1.4.2.war/WEB-INF/jboss-web.xml\" at [26,54]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[26,
54]
Message: Unexpected element 'class-loading' encountered"}}
09:15:37,445 ERROR [org.jboss.as.server] (management-handler-thread - 2) JBAS015
870: Deploy of deployment "apache-continuum-1.4.2.war" was rolled back with the
following failure message:
{"JBAS014671: Failed services" => {"jboss.deployment.unit.\"apache-continuum-1.4
.2.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deploy
ment.unit.\"apache-continuum-1.4.2.war\".PARSE: JBAS018733: Failed to process ph
ase PARSE of deployment \"apache-continuum-1.4.2.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
JBAS017302: Failed to parse XML descriptor \"/C:/Users/Patrick/content/apache-c
ontinuum-1.4.2.war/WEB-INF/jboss-web.xml\" at [26,54]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[26,
54]
Message: Unexpected element 'class-loading' encountered"}}
09:15:44,082 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBA
S015877: Stopped deployment apache-continuum-1.4.2.war (runtime-name: apache-con
tinuum-1.4.2.war) in 6610ms
09:15:44,099 INFO [org.jboss.as.controller] (management-handler-thread - 2) JBA
S014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit
."apache-continuum-1.4.2.war".PARSE