[jboss-user] [JBoss Web Services] - Re: ClassCastException using CXF 2.7.0 JAX-RS Client in JBoss AS7

Vinoj Mathew do-not-reply at jboss.com
Thu Apr 11 19:01:59 EDT 2013


Vinoj Mathew [https://community.jboss.org/people/mathewvino] created the discussion

"Re: ClassCastException using CXF 2.7.0 JAX-RS Client in JBoss AS7"

To view the discussion, visit: https://community.jboss.org/message/807896#807896

--------------------------------------------------------------
Thanks Viral,

I think I tried  and I am getting the following error .The error says <exclude-subsystems> is not supported in 7.1.1

15:59:00,388 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."tfn-ear-1.4.0-SNAPSHOT.ear".STRUCTURE: org.jboss.msc.service.StartExce
ption in service jboss.deployment.unit."tfn-ear-1.4.0-SNAPSHOT.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "tfn-ear-1.4.0-SNAPSHOT.ear"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_02]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_02]
        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_02]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Error loading jboss-structure.xml from C:\jboss-as-7.1.1.Final\standalone\tmp\vfs\tempdcc7875d15f8c489\content-fe7468c559dc
5ef\contents\META-INF\jboss-deployment-structure.xml
        at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:277) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:249) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.deploy(DeploymentStructureDescriptorParser.java:134) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        ... 5 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[7,9]
Message: Unexpected content of type 'element start' named '{urn:jboss:deployment-structure:1.1}exclude-subsystems'
        at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.unexpectedContent(JBossDeploymentStructureParser11.java:1098) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807896#807896]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130411/48cfaf69/attachment.html 


More information about the jboss-user mailing list